Function at 0x437d50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d17c3
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5080f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x78], edi
mov esi, ecx
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x1ec], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x94], 0
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov dword [ebp - 4], 2
mov byte [ebp - 0xa0], al
lea eax, [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 3
call fcn.0040f7b0
mov ecx, dword [edi + 0x10]
mov edx, eax
cmp ecx, 4
jb 0x437f5b
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x437dfe
mov eax, dword [edi]
push edx
add ecx, 0xfffffffc
mov edx, str..sys
push 4
push 4
push 4
lea ecx, [eax + ecx*2]
call fcn.00438e50
add esp, 0x10
test eax, eax
jne 0x437f5b
mov dword [ebp - 0x228], eax
push 3
push 0x4ebb6c
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
mov byte [ebp - 4], 3
call fcn.004123e0
mov dword [ebp - 0x20c], 0
push 3
xor eax, eax
mov dword [ebp - 0x1fc], 0
push 0x4e9670
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x1f8], 7
mov word [ebp - 0x20c], ax
mov byte [ebp - 4], 5
call fcn.004123e0
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 7
call fcn.004362b0
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x20c]
mov edx, eax
push ecx
lea ecx, [ebp - 0x248]
call fcn.004366d0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x1e4], eax
add esp, 8
cmp ecx, eax
je 0x437f10
call fcn.004127e0
mov eax, dword [ebp - 0x1e4]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x84], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
nop word [eax + eax]
lea ecx, [ebp - 0x248]
call fcn.004127e0
lea ecx, [ebp - 0x260]
call fcn.004127e0
lea ecx, [ebp - 0x20c]
call fcn.004127e0
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 3
call fcn.004127e0
sub esp, 8
lea edx, [ebp - 0x94]
mov ecx, edi
call fcn.00436850
add esp, 8
test al, al
je 0x438267
cmp dword [ebp - 0x84], 0
lea edi, [ebp - 0x94]
cmove edi, dword [ebp - 0x78]
mov dword [ebp - 0x1ec], edi
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x437f7c
mov eax, dword [edi]
lea ecx, [ebp - 0xa4]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x1e4], eax
test eax, eax
je 0x438288
push eax
call fcn.00485139
mov ecx, eax
add esp, 4
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 0xb
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x437fb4
mov eax, dword [edi]
push ecx
push dword [ebp - 0x1e4]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x437fe2
mov ecx, edi
call fcn.00412590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.GetFileVersionInfoW__ls
jmp 0x43829d
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x1e8]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x78]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x438019
mov ecx, edi
call fcn.00412590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.VerQueryValueW__ls
jmp 0x43829d
mov eax, dword [ebp - 0x7c]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
shr eax, 2
mov dword [ebp - 0x7c], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, 1
mov dword [ebp - 0x210], edx
test eax, eax
je 0x43806e
cmp eax, 0xaaaaaaa
ja 0x4382ba
push eax
mov ecx, esi
call fcn.00438590
mov eax, dword [ebp - 0x7c]
mov edx, 1
xor edi, edi
test eax, eax
je 0x4381fb
nop dword [eax + eax]
lea ecx, [ebp - 0x1e0]
call fcn.00437b30
mov eax, dword [ebp - 0x1e8]
movzx ecx, word [eax + edi*4]
movzx eax, word [eax + edi*4 + 2]
mov word [ebp - 0x1e0], cx
mov word [ebp - 0x1de], ax
mov dword [ebp - 0x20c], 0
mov byte [ebp - 4], 0xd
xor esi, esi
push dword [ebp + 8]
or edx, 2
mov dword [ebp - 0x1fc], 0
push eax
push ecx
push str.StringFileInfo_04x_04x_s
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1f8], 7
push 0x32
push eax
mov word [ebp - 0x20c], si
mov dword [ebp - 0x1f0], edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x1e4], esi
mov dword [ebp - 0x98], esi
call fcn.0042f5c0
add esp, 0x18
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov esi, dword [ebp - 0x22c]
test eax, eax
je 0x438162
mov edx, dword [ebp - 0x1e4]
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x1f4], ecx
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438140
sub eax, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x20c]
sar eax, 1
push eax
push edx
call fcn.004123e0
jmp 0x438179
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1f4], eax
cmp eax, 0x715
jne 0x43824e
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4381bb
movups xmm0, xmmword [ebp - 0x20c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1fc]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ebp - 0x1fc], 0
add dword [esi + 4], 0x18
mov dword [ebp - 0x1f8], 7
mov word [ebp - 0x20c], ax
jmp 0x4381ca
lea ecx, [ebp - 0x20c]
push ecx
push eax
mov ecx, esi
call fcn.0040cb20
and dword [ebp - 0x1f0], 0xfffffffd
lea ecx, [ebp - 0x20c]
call fcn.004127e0
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0xb
call fcn.00437cc0
mov edx, dword [ebp - 0x1f0]
inc edi
cmp edi, dword [ebp - 0x7c]
jb 0x438080
push dword [ebp - 0x78]
call fcn.00485360
add esp, 4
cmp byte [ebp - 0xa0], 0
jne 0x438226
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], eax
call fcn.00438710
lea ecx, [ebp - 0x94]
call fcn.004127e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484d55
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1ec]
call fcn.00412590
push eax
push str.VerQueryValueW__ls
push dword [ebp - 0x1f4]
jmp 0x43829e
push str.Unable_to_make_a_.sys_copy
lea ecx, [ebp - 0x224]
call fcn.0043e080
push 0x5057bc
lea eax, [ebp - 0x224]
push eax
call fcn.004a0209
mov ecx, edi
call fcn.00412590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.GetFileVersionInfoSizeW__ls
push eax
lea ecx, [ebp - 0x224]
call fcn.0041bc90
push 0x5057bc
lea eax, [ebp - 0x224]
push eax
call fcn.004a0209
call fcn.0040cf60
int3