Function at 0x464634
Capabilities:
Check if file exists
Get file version info

Disassembly:
push 0x11c
mov eax, 0x5e34e1
call fcn.0046dcda
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x108]
mov ebx, dword [ebp + 8]
xor edi, edi
push esi
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x128], edi
call fcn.004041e0
xor eax, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], edi
mov word [ebp - 0xf0], ax
push 0xc8
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.00480640
add esp, 0xc
call fcn.00451fd0
test al, al
je 0x4646c3
pop es
push esi
sti
push ebp
xchg ecx, eax
enter 0xffffffffffff9a37, 0x6f
jns 0x46465e
push ebx
in al, 0x79
int 0x83
sbb edi, dword [edi - 0x5b]
out 0x8b, al
popfd
hlt
cmp dword [ebp - 0xf8], 0
je 0x464921
cmp dword [ebp - 0xf4], 8
lea eax, [ebp - 0x108]
cmovae eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464921
lea eax, [ebp - 0x120]
mov dword [ebp - 0x11c], edi
push eax
push esi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x124], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x46474d
lea eax, [ebp - 0xf0]
mov ecx, ebx
push eax
call fcn.00452e72
push edi
push 1
lea ecx, [ebp - 0xf0]
call fcn.0041edb0
push edi
push 1
lea ecx, [ebp - 0x108]
call fcn.0041edb0
mov eax, ebx
jmp 0x464976
inc eax
push eax
call fcn.0046d82e
mov dword [ebp - 0x110], eax
pop ecx
test eax, eax
je 0x46471c
call fcn.0045223d
test al, al
je 0x464778
and ebp, 0x8f32769b
push es
movsb byte es:[edi], byte [esi]
pop edx
ror dword [esi], 0xfa
outsd dx, dword [esi]
xchg ebx, eax
pop eax
push 0xffffffffffffffe8
inc ecx
fdivp st(6)
inc dword [eax + eax*8 + 0x48e42074]
call fcn.004525be
test al, al
je 0x4647a1
in al, 0x48
and eax, 0x3c1b129d
mov al, byte [0xdd53a74]
xchg esp, eax
inc edi
dec edx
invalid
call fcn.00451fd0
test al, al
je 0x4647c8
ret
pushfd
in eax, 0x53
daa
xchg ebx, eax
xor al, 0x7d
pushal
xor byte [ecx + 0x5901f18f], dh
std
insd dword es:[edi], dx
invalid
mov edi, dword [ebp - 0x110]
xor ebx, ebx
push edi
push dword [ebp - 0x114]
push ebx
push dword [ebp - 0x118]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x464814
push edi
call fcn.0046d837
pop ecx
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0xf0]
push eax
call fcn.00452e72
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.0041edb0
push ebx
jmp 0x464963
call fcn.004524aa
test al, al
je 0x464830
popfd
push ss
jo 0x4647af
sub eax, 0x7a846e11
lcall 0x6a21, 0xd0750bc4
scasd eax, dword es:[edi]
xor ebx, ebx
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0x5e6ba4
push edi
call sub.VERSION.dll_VerQueryValueW
push edi
test eax, eax
je 0x4647e8
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ecx + 8]
mov ebx, eax
movzx eax, ax
mov dword [ebp - 0x110], eax
movzx eax, word [ecx + 0xe]
shr ebx, 0x10
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], eax
call fcn.0046d837
pop ecx
call fcn.00452420
test al, al
je 0x4648a7
pop ebp
mov bh, 0x65
retf 0x8429
call fcn.004521f8
test al, al
je 0x4648d0
test dh, 0xda
dec ebx
push ds
jmp 0x46484e
push dword [ebp - 0x114]
lea eax, [ebp - 0xd8]
push 1
push dword [ebp - 0x110]
push ebx
push 0x5ede18
push eax
call fcn.00407f60
add esp, 0x18
cmp word [ebp - 0xd8], 0
jne 0x464901
xor eax, eax
jmp 0x46490e
lea eax, [ebp - 0xd8]
push eax
call fcn.0048ece7
pop ecx
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00402ad0
call fcn.00452579
test al, al
je 0x464940
xor al, 0xea
adc ebx, dword [eax]
das
cmpsd dword [esi], dword es:[edi]
push cs
hlt
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0xf0]
push eax
call fcn.00452e72
push 0
push 1
lea ecx, [ebp - 0xf0]
call fcn.0041edb0
push 0
push 1
lea ecx, [ebp - 0x108]
call fcn.0041edb0
mov eax, dword [ebp - 0x10c]
call fcn.0046dc84
ret