Function at 0x4238c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
mov eax, 0x6ef14c
call fcn.0066ce04
xor edx, edx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x4238ed
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x423b27
push 0
push dword [ebp + 8]
call fcn.0066e7cc
add esp, 8
test eax, eax
je 0x42390f
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x423b27
lea ecx, [ebp - 0x4c]
push ecx
push dword [ebp + 8]
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x423936
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x423b27
push dword [ebp - 0x50]
call fcn.0066bbd0
pop ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], 0x64
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push 0
push dword [ebp + 8]
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x423b11
lea ecx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x58]
push eax
push 0x6eb61a
push dword [ebp - 0x54]
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x423b11
mov word [ebp - 0x2c], 0x14
xor edx, edx
mov dword [ebp - 0x10], edx
lea ecx, [ebp - 0x10]
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x58]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.005e17fc
lea ecx, [ebp - 0x10]
push ecx
xor eax, eax
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
inc dword [ebp - 0x20]
mov edx, dword [ebp - 0x58]
movzx eax, word [edx]
mov edx, 4
call fcn.005e17fc
lea edx, [ebp - 8]
xor eax, eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
inc dword [ebp - 0x20]
mov eax, 0x6eb633
call fcn.0067d54c
lea eax, [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x20]
pop edx
call fcn.0067d0f8
lea eax, [ebp - 0x14]
push eax
mov edx, 0x6eb644
lea eax, [ebp - 0x18]
call fcn.0067ceb4
inc dword [ebp - 0x20]
lea edx, [ebp - 0x18]
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
inc dword [ebp - 0x20]
pop eax
call fcn.0067d0f8
dec dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0067d0a0
dec dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0067d0a0
dec dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0067d0a0
dec dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0067d0a0
dec dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0067d0a0
mov word [ebp - 0x2c], 8
lea ecx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x58]
push eax
mov edx, dword [ebp - 4]
test edx, edx
je 0x423a7d
mov ecx, dword [ebp - 4]
jmp 0x423a82
mov ecx, 0x6eb651
push ecx
push dword [ebp - 0x54]
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x423afb
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x60]
call fcn.006749dc
pop ecx
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
cmp edx, eax
jle 0x423ab4
mov dword [ebp - 0x44], 1
jmp 0x423afb
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
jne 0x423afb
push 0x2e
push dword [ebp - 0x58]
call fcn.0066cb29
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x423afb
inc dword [ebp - 0x48]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
call fcn.006749dc
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jl 0x423afb
mov dword [ebp - 0x44], 1
dec dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0067d0a0
mov word [ebp - 0x2c], 0
push dword [ebp - 0x54]
call fcn.0066b9f8
pop ecx
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret