Function at 0x385d18
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x385d21
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x385d3a
add esp, 0xfffffff0
call fcn.00304890
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x11], dl
mov ebx, eax
mov eax, dword [ebp - 0x18]
call fcn.003057b4
xor eax, eax
push ebp
push 0x385f54
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00304528
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.003057c4
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
mov eax, esi
call fcn.00302a90
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push esi
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x385f21
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x385f7c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.00302d8c
lea ecx, [ebp - 0x28]
movzx eax, word [ebp - 0x1e]
mov edx, 4
call fcn.00309a80
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
movzx eax, word [ebp - 0x20]
mov edx, 4
call fcn.00309a80
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
pop ecx
call fcn.00305610
push 0x385fa0
push dword [ebp - 0x24]
push 0x385fbc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00305684
push ebp
lea edx, [ebp - 0x30]
mov eax, 0x385fc8
call fcn.00385c7c
pop ecx
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 4]
call fcn.00305358
push ebp
lea edx, [ebp - 0x34]
mov eax, 0x385fdc
call fcn.00385c7c
pop ecx
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 8]
call fcn.00305358
push ebp
lea edx, [ebp - 0x38]
mov eax, 0x385ff4
call fcn.00385c7c
pop ecx
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0xc]
call fcn.00305358
push ebp
lea edx, [ebp - 0x3c]
mov eax, 0x386008
call fcn.00385c7c
pop ecx
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x10]
call fcn.00305358
push ebp
lea edx, [ebp - 0x40]
mov eax, 0x386020
call fcn.00385c7c
pop ecx
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x14]
call fcn.00305358
push ebp
lea edx, [ebp - 0x44]
mov eax, 0x386038
call fcn.00385c7c
pop ecx
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x18]
call fcn.00305358
push ebp
lea edx, [ebp - 0x48]
mov eax, 0x386050
call fcn.00385c7c
pop ecx
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x1c]
call fcn.00305358
push ebp
lea edx, [ebp - 0x4c]
mov eax, 0x38606c
call fcn.00385c7c
pop ecx
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0x20]
call fcn.00305358
push ebp
lea edx, [ebp - 0x50]
mov eax, 0x386080
call fcn.00385c7c
pop ecx
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0x24]
call fcn.00305358
push ebp
lea edx, [ebp - 0x54]
mov eax, 0x386098
call fcn.00385c7c
pop ecx
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0x28]
call fcn.00305358
push 0x40
push 0x3860a4
mov eax, dword [ebx + 0xc]
call fcn.003057c4
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [ebp - 0xc]
call fcn.00302ac0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x385f5b
lea eax, [ebp - 0x54]
mov edx, 0xd
call fcn.00305328
lea eax, [ebp - 0x18]
call fcn.00305304
lea eax, [ebp - 0x10]
call fcn.00305304
ret