Function at 0x439c00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495de6
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4b7180]
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 - 0x11c], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 4], 1
call fcn.00404e10
mov ecx, eax
test ecx, ecx
je 0x439f8d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x114], edi
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 2
push eax
push dword [ebp + 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x439d40
call fcn.00404e10
mov ecx, eax
test ecx, ecx
je 0x439f97
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x4a610c
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00404180
test al, al
jne 0x439cbf
push ebx
push 0x4a610c
mov ecx, esi
call fcn.004044b0
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x439cdd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439cfb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x439d1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x118]
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.0046de4a
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x439e19
push esi
push ebx
push 0
push dword [ebp + 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x138]
push eax
push 0x4a6288
push esi
call ebx
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x124]
push eax
push str.VarFileInfoTranslation
push esi
call ebx
test eax, eax
je 0x439e12
mov ecx, dword [ebp - 0x124]
push dword [ebp + 0x10]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x110]
push str.StringFileInfo_04x_04x_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
call ebx
test eax, eax
je 0x439e12
mov edx, dword [ebp - 0x120]
test edx, edx
jne 0x439de7
xor ecx, ecx
jmp 0x439dff
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439df0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x114]
call fcn.004044b0
mov edi, dword [ebp - 0x114]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [ebp - 0x11c]
lea esi, [ebx + 0x28]
push esi
call fcn.00457183
add esp, 4
test eax, eax
jne 0x439f86
cmp dword [esi + 0x2c], 0x7fffffff
lea eax, [esi + 0x2c]
jne 0x439e49
mov ecx, SysReAllocString
jmp 0x439fa2
lea eax, [ebx + 0x60]
mov dword [ebp - 0x11c], eax
mov eax, dword [eax]
push esi
mov ebx, dword [eax - 0xc]
call fcn.00457194
add esp, 4
test ebx, ebx
jne 0x439f10
mov eax, dword [ebp + 0x10]
mov ecx, 0x4a6414
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x439e96
test dx, dx
je 0x439e92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x439e96
add eax, 4
add ecx, 4
test dx, dx
jne 0x439e70
xor eax, eax
jmp 0x439e9b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x439f10
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jl 0x439f10
push str.windows_system32_svchost.exe
push eax
call fcn.0046f693
add esp, 8
test eax, eax
je 0x439f10
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x439f10
push esi
mov dword [ebp - 0x128], esi
call fcn.00457183
add esp, 4
test eax, eax
jne 0x439f86
mov ecx, dword [esi + 0x2c]
lea eax, [esi + 0x2c]
cmp ecx, 0x7fffffff
je 0x439fa1
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 4
call fcn.00404960
push esi
mov byte [ebp - 4], 2
call fcn.00457194
add esp, 4
add edi, 0xfffffff0
mov ecx, edi
call fcn.00404360
mov ebx, dword [ebp - 0x118]
add eax, 0x10
or esi, 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebx], eax
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x439f40
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439f5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x439d20
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x439d20
push 5
call fcn.004573d5
push 0x80004005
call fcn.00404bf0
push 0x80004005
call fcn.00404bf0
dec ecx
push 6
mov dword [eax], ecx
call fcn.004573d5
int3