Function at 0x43e4cc
Capabilities:
Get file version info

Disassembly:
mov eax, 0x6141d4
call fcn.0044c164
sub esp, 0x2c0
mov eax, dword [0x672530]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x190]
mov byte [ebp - 4], 1
sub eax, 0
je 0x43e609
dec eax
je 0x43e5c3
dec eax
je 0x43e578
dec eax
je 0x43e522
and byte [ebp - 0x148], 0
lea eax, [ebp - 0x148]
jmp 0x43e6fd
lea eax, [ebp - 0x16]
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004eb0bb
pop ecx
pop ecx
mov ecx, dword [0x6adfa0]
push 2
call fcn.00411cc3
push 0x4157
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.005f53d4
mov ecx, dword [0x6adfa0]
push esi
call fcn.00411cc3
movsx eax, word [ebp - 0x16]
push eax
movsx eax, word [ebp - 0x12]
push eax
lea eax, [ebp - 0x148]
push dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x43e517
call sub.CoolType.dll_Ordinal_2
mov ecx, dword [0x6adfa0]
push 2
mov esi, eax
call fcn.00411cc3
push 0x4142
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.005f53d4
mov ecx, dword [0x6adfa0]
push edi
call fcn.00411cc3
movzx eax, si
mov ecx, eax
and ecx, 0xff
shr esi, 0x10
shr eax, 8
push ecx
and esi, 0x7fff
push eax
push esi
jmp 0x43e5f1
mov ecx, dword [0x6adfa0]
push 2
call fcn.00411cc3
push 0x4141
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.005f53d4
mov ecx, dword [0x6adfa0]
push esi
call fcn.00411cc3
push 0x1a
push 4
push 4
push dword [ebp - 0x10]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x43e517
mov ecx, dword [0x6adfa0]
push 1
call fcn.00411cc3
mov dword [ebp - 0x28], eax
call fcn.00603e5e
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x2cc]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2cc]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jbe 0x43e6ec
push esi
call fcn.0059347c
mov edi, eax
pop ecx
test edi, edi
je 0x43e6ec
push edi
push esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x2cc]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x43e6e5
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43e6e5
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x1c8]
push str.StringFileInfo_04x_04xFileVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c8]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43e6e5
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x20]
call fcn.0043e3a7
pop ecx
lea eax, [ebp - 0x48]
pop ecx
push eax
lea eax, [ebp - 0x1c]
push 0x4144
push eax
call fcn.005fcdeb
push edi
call fcn.00593542
pop ecx
push dword [ebp - 0x28]
mov ecx, dword [0x6adfa0]
call fcn.00411cc3
mov eax, dword [ebp - 0x1c]
push eax
push 0xfe
mov ecx, ebx
call fcn.005f4222
mov eax, dword [ebx + 0x190]
cmp eax, 3
jne 0x43e719
xor eax, eax
jmp 0x43e71a
inc eax
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov dword [ebx + 0x190], eax
call fcn.005f05bb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005f05bb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret