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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae830
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x624394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x30], edi
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x14], 0
call fcn.0043ae40
mov dword [ebp - 4], 0
call fcn.00421560
mov ecx, eax
test ecx, ecx
jne 0x43b4cb
push 0x80004005
call fcn.004212c0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jle 0x43b60e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b60e
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x43b561
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.00420e60
add eax, 0x10
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov dword [ebx], eax
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43b539
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x43b657
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x43b657
inc eax
push eax
call fcn.004ddf90
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
test edi, edi
je 0x43b60e
push edi
push dword [ebp - 0x2c]
push 0
push dword [ebp - 0x30]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x43b5b6
push edi
call fcn.004ddf99
add esp, 4
lea ecx, [esi - 0x10]
call fcn.00420e60
add eax, 0x10
lea ecx, [ebp - 0x18]
mov dword [ebx], eax
call fcn.004212a0
lea ecx, [ebp - 0x14]
call fcn.004212a0
jmp 0x43b657
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x6135f4
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43b58b
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x28]
mov ecx, dword [eax + 8]
mov ebx, ecx
mov edi, dword [eax + 0xc]
shr ebx, 0x10
movzx esi, cx
shr edi, 0x10
call fcn.004ddf99
mov eax, 0x51eb851f
mul edi
lea eax, [ebp - 0x18]
shr edx, 5
push edx
push esi
push ebx
push str._04d_04d_02d
push eax
call fcn.00436c10
mov esi, dword [ebp - 0x18]
add esp, 0x18
mov ebx, dword [ebp - 0x34]
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.00420e60
add eax, 0x10
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov dword [ebx], eax
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43b638
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x43b657
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dda5e
mov esp, ebp
pop ebp
ret