Function at 0x4322b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4378f0
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4441a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x22c]
call fcn.00401d60
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.004135e0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x10]
call fcn.00401d60
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x21c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x432397
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402a60
mov edx, dword [ebp - 0x23c]
or edx, 1
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00401e00
mov eax, dword [ebp + 8]
jmp 0x4325f1
mov eax, dword [ebp - 0x224]
push eax
call fcn.004123c2
add esp, 4
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x220], ecx
cmp dword [ebp - 0x220], 0
jne 0x432405
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402a60
mov eax, dword [ebp - 0x23c]
or eax, 1
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00401e00
mov eax, dword [ebp + 8]
jmp 0x4325f1
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x224]
push edx
push 0
lea eax, [ebp - 0x21c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x432469
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402a60
mov edx, dword [ebp - 0x23c]
or edx, 1
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00401e00
mov eax, dword [ebp + 8]
jmp 0x4325f1
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x230]
push ecx
push 0x43bf14
mov edx, dword [ebp - 0x220]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4324e4
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402a60
mov ecx, dword [ebp - 0x23c]
or ecx, 1
mov dword [ebp - 0x23c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00401e00
mov eax, dword [ebp + 8]
jmp 0x4325f1
cmp dword [ebp - 0x228], 0x34
je 0x432531
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402a60
mov eax, dword [ebp - 0x23c]
or eax, 1
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00401e00
mov eax, dword [ebp + 8]
jmp 0x4325f1
mov ecx, dword [ebp - 0x230]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x230]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x230]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x230]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push 0x43bf18
lea ecx, [ebp - 0x22c]
push ecx
call fcn.00401690
add esp, 0x18
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x238]
push eax
call fcn.004135d5
add esp, 4
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402a60
mov edx, dword [ebp - 0x23c]
or edx, 1
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00401e00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00412dbc
mov esp, ebp
pop ebp
ret