Function at 0x438b80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1858
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x663000]
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 0x438f44
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0040cfd9
mov ecx, eax
test ecx, ecx
je 0x438fc9
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x240], edi
mov byte [ebp - 4], 1
call fcn.0040cfd9
mov ecx, eax
test ecx, ecx
je 0x438fd3
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.0040d850
test al, al
jne 0x438c53
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0040d9f0
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 0x438de3
push eax
call fcn.005bc026
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x438de3
push ebx
push dword [ebp - 0x250]
push dword [ebp - 0x254]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x438cb2
push ebx
call fcn.005b98d1
add esp, 4
jmp 0x438de3
lea eax, [ebp - 0x234]
mov dword [ebp - 0x244], 0
push eax
lea eax, [ebp - 0x244]
push eax
push 0x632b48
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x438de3
push ecx
lea ecx, [ebp - 0x308]
call fcn.00415de0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x244]
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.0042c3b0
push ecx
mov edx, 0x631194
mov ecx, eax
call fcn.004121f0
add esp, 4
mov ecx, eax
call fcn.0042c3b0
push ecx
mov edx, 0x631194
mov ecx, eax
call fcn.004121f0
add esp, 4
mov ecx, eax
call fcn.0042c3b0
push ecx
mov edx, 0x631194
mov ecx, eax
call fcn.004121f0
add esp, 4
mov ecx, eax
call fcn.0042c3b0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00416850
mov byte [ebp - 4], 5
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x240]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0040d9f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x438dd2
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x438dc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438fdd
push ecx
push edx
call fcn.005af9e7
add esp, 8
lea ecx, [ebp - 0x308]
call fcn.00415cc0
mov edi, dword [ebp - 0x240]
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 0x438e01
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040d790
call fcn.0040cfd9
mov ecx, eax
test ecx, ecx
je 0x438fc9
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.004106c0
push ecx
push 0x2c
lea ecx, [ebp - 0x234]
call fcn.00438220
mov esi, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x248]
push esi
push 0
push 0x11783
mov ecx, dword [ecx]
call fcn.0041a6c0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x438e8a
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 0x438ea7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x238], 1
call fcn.0040cfd9
mov ecx, eax
test ecx, ecx
je 0x438fc9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push 0x6373d4
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 7
call fcn.0040d9f0
mov eax, dword [ebp - 0x248]
mov esi, dword [ebp - 0x234]
push esi
push 0
mov ecx, dword [eax]
push 0x11784
call fcn.0041a6c0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x438f15
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
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x438f3b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x438fad
mov byte [ebp - 0x238], 0
call fcn.0040cfd9
mov ecx, eax
test ecx, ecx
je 0x438fe2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
push 0x62ee88
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 8
call fcn.0040d9f0
mov esi, dword [ebp - 0x234]
mov ecx, dword [ebx]
push esi
push 0
push 0x11784
call fcn.0041a6c0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x438fad
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.005af765
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040238e
push 0x80004005
call fcn.0040238e
call fcn.005b681f
push 0x80004005
call fcn.0040238e
int3