Function at 0x4239f8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
mov eax, 0x6f3a04
call fcn.0066d220
xor edx, edx
mov dword [ebp - 0x44], edx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x423a25
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x423c5f
push 0
push dword [ebp + 8]
call fcn.0066ebe8
add esp, 8
test eax, eax
je 0x423a47
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x423c5f
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 0x423a6e
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x423c5f
push dword [ebp - 0x50]
call fcn.0066bfec
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 0x423c49
lea ecx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x58]
push eax
push 0x6efed0
push dword [ebp - 0x54]
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x423c49
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.005e1c18
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.005e1c18
lea edx, [ebp - 8]
xor eax, eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
inc dword [ebp - 0x20]
mov eax, 0x6efee9
call fcn.0067d968
lea eax, [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x20]
pop edx
call fcn.0067d514
lea eax, [ebp - 0x14]
push eax
mov edx, 0x6efefa
lea eax, [ebp - 0x18]
call fcn.0067d2d0
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.0067d514
dec dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0067d4bc
dec dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0067d4bc
dec dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0067d4bc
dec dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0067d4bc
dec dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0067d4bc
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 0x423bb5
mov ecx, dword [ebp - 4]
jmp 0x423bba
mov ecx, 0x6eff07
push ecx
push dword [ebp - 0x54]
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x423c33
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x60]
call fcn.00674df8
pop ecx
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
cmp edx, eax
jle 0x423bec
mov dword [ebp - 0x44], 1
jmp 0x423c33
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
jne 0x423c33
push 0x2e
push dword [ebp - 0x58]
call fcn.0066cf45
add esp, 8
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x423c33
inc dword [ebp - 0x48]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
call fcn.00674df8
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jl 0x423c33
mov dword [ebp - 0x44], 1
dec dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0067d4bc
mov word [ebp - 0x2c], 0
push dword [ebp - 0x54]
call fcn.0066be14
pop ecx
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret