Function at 0x42ba1f
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4c72ac]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
xor ebx, ebx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x6c], ebx
mov eax, dword [0x4c88ec]
mov eax, dword [eax - 0xc]
push esi
push edi
cmp eax, ebx
jne 0x42bc6c
push 0x100
lea eax, [ebp - 0x68]
push eax
push ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
mov esi, 0x4c88f8
cmp edi, ebx
je 0x42bc61
push edi
push 2
pop ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push edi
push dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x68]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.NjpJHiwTNAgoKjhPOEk8FikACjY9E0E7KCpNAzISEkgpEwoYNBNBCzETGkE2ADgR
call fcn.004023cb
lea eax, [ebp - 0x6c]
push eax
call fcn.00403d46
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x28
push dword [eax]
lea eax, [ebp + 0x98]
push eax
call edi
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401240
and dword [ebp - 0x74], 0
and dword [ebp - 0x70], 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x98]
push eax
push dword [ebp - 0x78]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42bb51
cmp dword [ebp - 0x74], 0
je 0x42bb51
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x42bb51
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.KTpMGiosSTshPBU3OChERA
call fcn.004023cb
lea eax, [ebp - 0x6c]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
push esi
call fcn.0046d7b2
add esp, 0x10
jmp 0x42bb76
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.KDtAMy0sETgqLEkbKihERA
call fcn.004023cb
lea eax, [ebp - 0x6c]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
push esi
call edi
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401240
push esi
push 4
push 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.NzoKCj0TLEA_EB5INjtMODQTHi4_EBI2KQMaDzwOTDY3LQouKi0gOz8RQQk4LR4pKRE0LjI9LEEyPChE
call fcn.004023cb
lea eax, [ebp - 0x6c]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
lea eax, [ebp + 0x98]
push eax
call fcn.0046d7b2
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00401240
push ebx
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.KDs4Vjw7LBo1AQ41OhE4Lj8OREQ
call fcn.004023cb
lea eax, [ebp - 0x6c]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
lea eax, [ebp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401240
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x98]
push eax
push dword [ebp - 0x78]
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebx
je 0x42bc2f
cmp dword [ebp - 0x74], ebx
je 0x42bc2f
cmp dword [ebp - 0x70], ebx
je 0x42bc2f
push dword [ebp - 0x70]
push esi
call edi
jmp 0x42bc61
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.KTs0Hi0DTTswOk1AMjsgSjYePBw0AxYLPRMsRA
call fcn.004023cb
lea eax, [ebp - 0x6c]
push eax
call fcn.00403d46
add esp, 0x28
push dword [eax]
push esi
call edi
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00401240
push esi
mov ecx, 0x4c88ec
call fcn.00403a16
mov ecx, dword [ebp - 0x7c]
push 0x4c88ec
call fcn.00403711
mov ecx, dword [ebp + 0x198]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046acd7
add ebp, 0x19c
leave
ret