Function at 0x1003fb40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6f8
push esi
push edi
push ecx
lea edi, [ebp - 0x6f8]
mov ecx, 0x1be
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x10159140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.100da040
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.100da040
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0xc], 0
je 0x1003fb9d
cmp dword [ebp - 0x10], 0
jne 0x1003fba6
mov dword [ebp - 0x14], 8
jmp 0x1003fc00
mov esi, esp
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2f8]
call eax
cmp esi, esp
call fcn.1007e7c0
mov dword [ebp - 0x6f4], eax
mov dword [ebp - 0x6f0], edx
mov ecx, dword [ebp - 0x6f4]
or ecx, dword [ebp - 0x6f0]
jne 0x1003fc00
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1007e7c0
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov edx, dword [ebp - 8]
cmp dword [edx], 0
je 0x1003fe05
cmp dword [ebp - 0xc], 0
je 0x1003fe05
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
and edx, 8
je 0x1003fcd8
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jbe 0x1003fcd8
mov edx, dword [ebp - 0x38]
push edx
call fcn.100da0e0
add esp, 4
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x1003fcd8
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1003fccc
mov cx, word [0x101255b0]
mov word [ebp - 0x50], cx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1003fcab
mov dword [ebp - 0x24], 0
jmp 0x1003fccc
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 0xc]
xor edi, edi
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov eax, dword [ecx + 8]
mov cl, 0x20
call fcn.1007ef10
add esi, eax
adc edi, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov edx, dword [ebp - 0x3c]
push edx
call fcn.10097ed0
add esp, 4
mov dword [ebp - 0x6e8], 0x101255b4
lea eax, [ebp - 0x6e0]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.1003ec90
test eax, eax
je case.default.0x1003fd20
mov ecx, dword [ebp - 0x6c0]
mov dword [ebp - 0x6f8], ecx
cmp dword [ebp - 0x6f8], 8
ja case.default.0x1003fd20
mov edx, dword [ebp - 0x6f8]
jmp dword [edx*4 + 0x1003fec8]
mov dword [ebp - 0x6e8], str._nosymbols_
jmp case.default.0x1003fd20
mov dword [ebp - 0x6e8], str.COFF
jmp case.default.0x1003fd20
mov dword [ebp - 0x6e8], 0x101255d4
jmp case.default.0x1003fd20
mov dword [ebp - 0x6e8], 0x101255d8
jmp case.default.0x1003fd20
mov dword [ebp - 0x6e8], str._exported_
jmp case.default.0x1003fd20
mov dword [ebp - 0x6e8], str._deferred_
jmp case.default.0x1003fd20
mov dword [ebp - 0x6e8], 0x101255f4
jmp case.default.0x1003fd20
mov dword [ebp - 0x6e8], 0x101255f8
jmp case.default.0x1003fd20
mov dword [ebp - 0x6e8], str.Virtual
lea eax, [ebp - 0x59c]
mov dword [ebp - 0x6ec], eax
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x49c]
test eax, eax
je 0x1003fdbd
lea ecx, [ebp - 0x49c]
mov dword [ebp - 0x6ec], ecx
mov esi, esp
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x6ec]
push ecx
mov edx, dword [ebp - 0x6e8]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
mov ecx, dword [edx]
mov edx, dword [eax + 8]
call edx
cmp esi, esp
call fcn.1007e7c0
cmp dword [ebp - 0xc], 0
je 0x1003fe17
mov eax, dword [ebp - 0xc]
push eax
call fcn.10097ed0
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x1003fe29
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10097ed0
add esp, 4
mov eax, dword [ebp - 0x14]
push edx
mov ecx, ebp
push eax
lea edx, [0x1003fe5c]
call fcn.1007e760
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e0c0
add esp, 0x6f8
cmp ebp, esp
call fcn.1007e7c0
mov esp, ebp
pop ebp
ret 0x18