Function at 0x43b890
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d476
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4c0180]
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.00405150
mov ecx, eax
test ecx, ecx
je 0x43bc1d
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 0x43b9d0
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x43bc27
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x4ae304
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004044c0
test al, al
jne 0x43b94f
push ebx
push 0x4ae304
mov ecx, esi
call fcn.004047f0
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 0x43b96d
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 0x43b98b
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 0x43b9aa
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.00470c0a
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 0x43baa9
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 0x4ae500
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 0x43baa2
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 0x43baa2
mov edx, dword [ebp - 0x120]
test edx, edx
jne 0x43ba77
xor ecx, ecx
jmp 0x43ba8f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ba80
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x114]
call fcn.004047f0
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.00459154
add esp, 4
test eax, eax
jne 0x43bc16
cmp dword [esi + 0x2c], 0x7fffffff
lea eax, [esi + 0x2c]
jne 0x43bad9
mov ecx, SysReAllocString
jmp 0x43bc32
lea eax, [ebx + 0x60]
mov dword [ebp - 0x11c], eax
mov eax, dword [eax]
push esi
mov ebx, dword [eax - 0xc]
call fcn.00459165
add esp, 4
test ebx, ebx
jne 0x43bba0
mov eax, dword [ebp + 0x10]
mov ecx, 0x4ae894
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43bb26
test dx, dx
je 0x43bb22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43bb26
add eax, 4
add ecx, 4
test dx, dx
jne 0x43bb00
xor eax, eax
jmp 0x43bb2b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x43bba0
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jl 0x43bba0
push str.windows_system32_svchost.exe
push eax
call fcn.00472443
add esp, 8
test eax, eax
je 0x43bba0
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x43bba0
push esi
mov dword [ebp - 0x128], esi
call fcn.00459154
add esp, 4
test eax, eax
jne 0x43bc16
mov ecx, dword [esi + 0x2c]
lea eax, [esi + 0x2c]
cmp ecx, 0x7fffffff
je 0x43bc31
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 4
call fcn.00404ca0
push esi
mov byte [ebp - 4], 2
call fcn.00459165
add esp, 4
add edi, 0xfffffff0
mov ecx, edi
call fcn.004046a0
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 0x43bbd0
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 0x43bbee
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 0x43b9b0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x43b9b0
push 5
call fcn.004593a6
push 0x80004005
call fcn.00404f30
push 0x80004005
call fcn.00404f30
dec ecx
push 6
mov dword [eax], ecx
call fcn.004593a6
int3