Function at 0x4081b0
Capabilities:
Get file version info

Disassembly:
jmp 0x4081b0
push 0xffffffffffffffff
push 0x434878
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x43f1c0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43f1c0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
xor ebx, ebx
mov esi, 0xf
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
push 7
push str.getVer:
lea ecx, [esp + 0x54]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
call fcn.0040108c
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
lea edx, [esp + 0x2c]
push edx
push edi
mov byte [esp + 0x98], 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x408291
mov edi, 0x10
push edi
push str.get_size_failed.
lea ecx, [esp + 0x38]
call fcn.0040108c
jmp 0x4082bb
push esi
call fcn.0040c521
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x4083cb
push 0xf
push str.new_mem_failed.
lea ecx, [esp + 0x38]
call fcn.0040108c
mov edi, 0x10
cmp dword [esp + 0x64], edi
mov edx, dword [esp + 0x50]
jae 0x4082c9
lea edx, [esp + 0x50]
mov eax, edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4082d0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x70]
call fcn.0040108c
cmp dword [esp + 0x48], edi
mov edx, dword [esp + 0x34]
jae 0x4082f4
lea edx, [esp + 0x34]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x408300
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x70]
call fcn.004011f4
cmp dword [esp + 0x80], edi
mov eax, dword [esp + 0x6c]
jae 0x408327
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x28]
push ebx
push eax
push ecx
call fcn.00401217
mov esi, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40834b
push eax
call fcn.0040d999
add esp, 4
cmp dword [esp + 0x48], edi
jb 0x40835e
mov edx, dword [esp + 0x34]
push edx
call fcn.0040c526
add esp, 4
cmp dword [esp + 0x64], edi
mov ebp, 0xf
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
jb 0x408382
mov eax, dword [esp + 0x50]
push eax
call fcn.0040c526
add esp, 4
cmp dword [esp + 0x80], edi
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x4083a4
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0040c526
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0040c96a
add esp, 0x80
ret
push eax
push esi
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4083e4
push 0x18
push str.get_version_info_failed.
jmp 0x4082ad
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x438e28
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x408414
push str.qury_ver_failed.
lea ecx, [esp + 0x34]
call fcn.004010b9
jmp 0x4082b6
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov esi, 1
mov dword [eax], edx
lea edi, [esi + 0xf]
jmp 0x40833a