Function at 0x43e6dd
Capabilities:
Get file version info

Disassembly:
mov eax, 0x619678
call fcn.0044c384
sub esp, 0x2c0
mov eax, dword [0x679548]
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 0x43e81a
dec eax
je 0x43e7d4
dec eax
je 0x43e789
dec eax
je 0x43e733
and byte [ebp - 0x148], 0
lea eax, [ebp - 0x148]
jmp 0x43e90e
lea eax, [ebp - 0x16]
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004eb925
pop ecx
pop ecx
mov ecx, dword [0x6b5470]
push 2
call fcn.00411cfb
push 0x4157
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.005fa867
mov ecx, dword [0x6b5470]
push esi
call fcn.00411cfb
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 0x43e728
call sub.CoolType.dll_Ordinal_2
mov ecx, dword [0x6b5470]
push 2
mov esi, eax
call fcn.00411cfb
push 0x4142
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.005fa867
mov ecx, dword [0x6b5470]
push edi
call fcn.00411cfb
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 0x43e802
mov ecx, dword [0x6b5470]
push 2
call fcn.00411cfb
push 0x4141
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.005fa867
mov ecx, dword [0x6b5470]
push esi
call fcn.00411cfb
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 0x43e728
mov ecx, dword [0x6b5470]
push 1
call fcn.00411cfb
mov dword [ebp - 0x28], eax
call fcn.006092e4
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 0x43e8fd
push esi
call fcn.005988ea
mov edi, eax
pop ecx
test edi, edi
je 0x43e8fd
push edi
push esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x2cc]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x43e8f6
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 0x43e8f6
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 0x43e8f6
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x20]
call fcn.0043e5b8
pop ecx
lea eax, [ebp - 0x48]
pop ecx
push eax
lea eax, [ebp - 0x1c]
push 0x4144
push eax
call fcn.0060227b
push edi
call fcn.005989b0
pop ecx
push dword [ebp - 0x28]
mov ecx, dword [0x6b5470]
call fcn.00411cfb
mov eax, dword [ebp - 0x1c]
push eax
push 0xfe
mov ecx, ebx
call fcn.005f96b6
mov eax, dword [ebx + 0x190]
cmp eax, 3
jne 0x43e92a
xor eax, eax
jmp 0x43e92b
inc eax
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
mov dword [ebx + 0x190], eax
call fcn.005f5a4b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005f5a4b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret