Function at 0x43f7e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4befee
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4f6040]
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 dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], ebx
mov dword [ebx], 0
call fcn.0040b040
mov dword [ebp - 0x34], eax
test eax, eax
je 0x43fbdf
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x34]
call esi
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x18], 0
call fcn.0040b040
mov dword [ebp - 0x34], eax
test eax, eax
je 0x43fbdf
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x34]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
test edi, edi
je 0x43f8c6
test edi, 0xffff0000
jne 0x43f8b0
movzx eax, di
lea ecx, [ebp - 0x18]
push eax
call fcn.0040b3a0
jmp 0x43f8d2
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f8b5
sub ecx, edx
sar ecx, 1
jmp 0x43f8c8
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x18]
call fcn.0040b720
mov dword [ebp - 4], 3
lea eax, [ebp - 0x20]
mov edi, dword [ebp - 0x18]
push eax
push edi
mov dword [ebp - 0x20], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
or eax, 0xffffffff
test esi, esi
je 0x43fa3f
push esi
call fcn.00492d51
add esp, 4
mov dword [ebp - 0x38], eax
push eax
push esi
push dword [ebp - 0x20]
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43fa31
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x28]
push eax
push 0x4d8200
push dword [ebp - 0x38]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43fa31
mov eax, dword [ebp - 0x24]
xor ebx, ebx
shr eax, 2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ebx
test eax, eax
je 0x43fa2e
nop word [eax + eax]
mov dword [ebp - 0x14], 0
call fcn.0040b040
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x43fbdf
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x1c]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x28]
push 0x4d9ec4
lea ecx, [eax + ebx*4]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x14]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.00408e20
mov esi, dword [ebp - 0x14]
add esp, 0x14
cmp dword [esi - 0xc], 0
je 0x43f9f6
mov dword [ebp - 0x1c], 0
cmp dword [esi - 4], 1
jle 0x43f9dc
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.0040b520
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x38]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x43fa8a
mov byte [ebp - 4], 3
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43fa21
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, ebx
call esi
mov ebx, dword [ebp - 0x34]
inc ebx
mov dword [ebp - 0x34], ebx
cmp ebx, dword [ebp - 0x3c]
jl 0x43f960
mov ebx, dword [ebp - 0x30]
push dword [ebp - 0x38]
call fcn.00492832
add esp, 4
or eax, 0xffffffff
mov dword [ebp - 4], 0
lea ecx, [edi - 0x10]
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43fa67
mov edi, dword [ecx]
push ecx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov eax, ebx
lea esp, [ebp - 0x58]
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.0048641a
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x43fb5c
mov ecx, eax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43faa0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0x3c], eax
cmp eax, 0x3fffffff
jg 0x43fb5c
add eax, eax
call fcn.00486d70
mov ebx, esp
mov dword [ebp - 0x40], ebx
test ebx, ebx
je 0x43fb5c
mov ecx, dword [ebp - 0x3c]
push 0
push 0
mov byte [ebx], 0
lea eax, [ecx + ecx]
push eax
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x34]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x43fb5c
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ebx, [eax - 1]
test ebx, ebx
jle 0x43fb5c
mov edx, dword [ebp - 0x30]
mov ecx, 1
mov eax, dword [edx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or eax, ecx
jge 0x43fb2f
push ebx
mov ecx, edx
call fcn.0040b680
mov edx, dword [ebp - 0x30]
push ebx
push dword [edx]
push 0xffffffffffffffff
push dword [ebp - 0x40]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
cmp ebx, dword [ecx - 8]
jg 0x43fbe9
mov dword [ecx - 0xc], ebx
xor ecx, ecx
mov eax, dword [eax]
mov word [eax + ebx*2], cx
jmp 0x43fb64
mov ecx, dword [ebp - 0x30]
call fcn.0040b450
mov eax, dword [ebp - 0x30]
xor ebx, ebx
xor ecx, ecx
mov edx, dword [eax]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x40], eax
test eax, eax
jle 0x43fb96
test ecx, ecx
js 0x43fbe9
cmp ecx, eax
jg 0x43fbe9
cmp word [edx], 0x2e
jne 0x43fb8b
inc ebx
cmp ebx, 3
je 0x43fbca
mov eax, dword [ebp - 0x40]
inc ecx
add edx, 2
cmp ecx, eax
jl 0x43fb77
mov ebx, dword [ebp - 0x30]
mov byte [ebp - 4], 3
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x43fa31
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, ebx
call esi
jmp 0x43fa2e
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
sub eax, ecx
push eax
push ecx
mov ecx, ebx
call fcn.0041d830
jmp 0x43fb99
push 0x80004005
call fcn.0040b700
push 0x80070057
call fcn.0040b700
int3