Function at 0x437ee0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x660ff8]
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 ebx, ecx
mov dword [ebp - 0x248], ebx
push str.vcruntime140.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4382a4
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x438329
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x244], edi
mov byte [ebp - 4], 1
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x438333
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x23c]
call fcn.0040d730
test al, al
jne 0x437fb3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0040d8d0
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x438143
push eax
call fcn.005bed9d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x438143
push ebx
push dword [ebp - 0x250]
push dword [ebp - 0x254]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x438012
push ebx
call fcn.005bc852
add esp, 4
jmp 0x438143
lea eax, [ebp - 0x234]
mov dword [ebp - 0x240], 0
push eax
lea eax, [ebp - 0x240]
push eax
push 0x630ca8
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x438143
push ecx
lea ecx, [ebp - 0x308]
call fcn.004156b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x240]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
lea ecx, [ebp - 0x2f8]
push eax
call fcn.0042b9d0
push ecx
mov edx, 0x62f21c
mov ecx, eax
call fcn.00411a00
add esp, 4
mov ecx, eax
call fcn.0042b9d0
push ecx
mov edx, 0x62f21c
mov ecx, eax
call fcn.00411a00
add esp, 4
mov ecx, eax
call fcn.0042b9d0
push ecx
mov edx, 0x62f21c
mov ecx, eax
call fcn.00411a00
add esp, 4
mov ecx, eax
call fcn.0042b9d0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00416140
mov byte [ebp - 4], 5
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x244]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0040d8d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x438132
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438128
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43833d
push ecx
push edx
call fcn.005b0fc9
add esp, 8
lea ecx, [ebp - 0x308]
call fcn.00415590
mov edi, dword [ebp - 0x244]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x438161
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
push edi
call fcn.0040238e
add esp, 4
add eax, 0x10
mov dword [ebp - 0x238], eax
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x438329
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x234]
call fcn.00410070
push ecx
push 0x2c
lea ecx, [ebp - 0x234]
call fcn.004375e0
mov esi, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x248]
push esi
push 0
push 0x11783
mov ecx, dword [ecx]
call fcn.0041a290
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4381ed
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43820a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x238], 1
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x438329
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push 0x6356b4
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 7
call fcn.0040d8d0
mov eax, dword [ebp - 0x248]
mov esi, dword [ebp - 0x234]
push esi
push 0
mov ecx, dword [eax]
push 0x11784
call fcn.0041a290
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x438278
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24c]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43829b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x43830d
mov byte [ebp - 0x238], 0
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x438342
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push 0x62cfc8
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 8
call fcn.0040d8d0
mov esi, dword [ebp - 0x234]
mov ecx, dword [ebx]
push esi
push 0
push 0x11784
call fcn.0041a290
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43830d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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.005b0d47
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402449
push 0x80004005
call fcn.00402449
call fcn.005b7faf
push 0x80004005
call fcn.00402449
int3