Function at 0x43f060
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a19c6
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4c6180]
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], 2
call fcn.0040a3a0
mov ecx, eax
test ecx, ecx
je 0x43f3d2
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], 3
push eax
push dword [ebp + 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x43f191
call fcn.0040a3a0
mov ecx, eax
test ecx, ecx
je 0x43f3dc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x4b26b0
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00409810
test al, al
jne 0x43f11f
push ebx
push 0x4b26b0
mov ecx, esi
call fcn.00409a50
or esi, 0xffffffff
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43f139
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f153
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x43f16b
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.00474a5a
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 0x43f269
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 0x4b28a8
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 0x43f262
mov eax, dword [ebp - 0x124]
push dword [ebp + 0x10]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push 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 0x43f262
mov edx, dword [ebp - 0x120]
test edx, edx
jne 0x43f238
xor ecx, ecx
jmp 0x43f24f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43f240
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x114]
call fcn.00409a50
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.0045d274
add esp, 4
test eax, eax
jne 0x43f3cb
cmp dword [esi + 0x2c], 0x7fffffff
lea eax, [esi + 0x2c]
jne 0x43f299
mov ecx, SysReAllocString
jmp 0x43f3e7
lea eax, [ebx + 0x58]
mov dword [ebp - 0x11c], eax
mov eax, dword [eax]
push esi
mov ebx, dword [eax - 0xc]
call fcn.0045d285
add esp, 4
test ebx, ebx
jne 0x43f364
mov eax, dword [ebp + 0x10]
mov ecx, 0x4b2c3c
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43f2e6
test dx, dx
je 0x43f2e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43f2e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x43f2c0
xor eax, eax
jmp 0x43f2eb
sbb eax, eax
or eax, 1
mov byte [ebp - 4], 3
test eax, eax
jne 0x43f364
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
jl 0x43f364
push str.windows_system32_svchost.exe
push eax
call fcn.00476293
add esp, 8
test eax, eax
je 0x43f364
sub eax, dword [ebp + 0xc]
sar eax, 1
cmp eax, 0xffffffff
je 0x43f364
push esi
mov dword [ebp - 0x128], esi
call fcn.0045d274
add esp, 4
test eax, eax
jne 0x43f3cb
mov ecx, dword [esi + 0x2c]
lea eax, [esi + 0x2c]
cmp ecx, 0x7fffffff
je 0x43f3e6
mov ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 6
call fcn.00409ef0
push esi
mov byte [ebp - 4], 3
call fcn.0045d285
add esp, 4
add edi, 0xfffffff0
mov ecx, edi
call fcn.004064d0
mov ebx, dword [ebp - 0x118]
add eax, 0x10
or esi, 0xffffffff
mov dword [ebx], eax
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43f390
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43f3aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x43f171
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x43f171
push 5
call fcn.0045d4c6
push 0x80004005
call fcn.00407590
push 0x80004005
call fcn.00407590
dec ecx
push 6
mov dword [eax], ecx
call fcn.0045d4c6
int3