Function at 0x413e64
Capabilities:
Get file version info

Disassembly:
push 0xa4
mov eax, 0x449a6a
call fcn.0042f400
mov esi, ecx
lea ecx, [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x413b8b
xor eax, eax
call fcn.0042f49f
ret 4
and dword [ebp - 0x20], 0
mov dword [ebp + 8], eax
call fcn.0041fff9
push eax
lea ecx, [ebp - 0x18]
call fcn.00402160
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x413c02
push dword [edi]
lea eax, [ebp + 8]
push eax
call fcn.004175d6
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00401fa0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.004012d0
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
push edi
mov dword [ebp + 8], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x413c02
xor esi, esi
lea ecx, [edi - 0x10]
call fcn.004012d0
mov eax, esi
jmp 0x413b83
push ebx
call fcn.0041d15c
pop ecx
push eax
push ebx
xor edi, edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x413d64
lea ecx, [ebp - 0xb0]
call fcn.00417c52
push 0xffff
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.00417ce2
test eax, eax
je 0x413d55
lea ecx, [ebp - 0xb0]
call fcn.00417c4e
mov ecx, eax
call fcn.00418152
mov ecx, eax
call fcn.00417f84
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x413d55
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00417c4e
mov ecx, eax
call fcn.00418152
mov ecx, eax
call fcn.00417f88
mov ecx, eax
mov dword [ebp - 0x28], ecx
call fcn.00417c4e
push eax
lea ecx, [ebp - 0x1c]
call fcn.004012f0
mov byte [ebp - 4], 3
call fcn.0041fff9
push eax
lea ecx, [ebp + 8]
call fcn.00402160
xor ebx, ebx
cmp dword [str.comments], edi
mov byte [ebp - 4], 4
je 0x413cf3
xor eax, eax
push dword [eax + 0x468530]
lea ecx, [ebp - 0x1c]
call fcn.00401dd0
test eax, eax
je 0x413ce4
inc ebx
mov eax, ebx
shl eax, 3
cmp dword [eax + 0x468534], edi
jne 0x413cc2
jmp 0x413cf3
push dword [ebx*8 + 0x468534]
lea ecx, [ebp + 8]
call fcn.00402500
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x413d32
mov ecx, dword [ebp - 0x28]
call fcn.00417e8a
push eax
lea ecx, [ebp - 0x24]
call fcn.004012f0
lea ecx, [esi + 8]
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
mov byte [ebp - 4], 5
call dword [eax + 0xc]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00401fa0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004012d0
cmp dword [ebp - 0x10], edi
jne 0x413c70
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0
call fcn.00417c9e
push dword [ebp - 0x14]
call fcn.0041d161
pop ecx
mov edi, 0x4508bc
push edi
lea ecx, [ebp - 0x14]
call fcn.00402190
lea ecx, [ebp - 0x14]
add esi, 8
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [ebp - 4], 6
call dword [eax + 0xc]
push eax
lea ecx, [ebp + 8]
call fcn.004012f0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.004012d0
push 0x20
lea ecx, [ebp + 8]
call fcn.004139bc
push edi
lea ecx, [ebp - 0x10]
call fcn.00402190
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
mov byte [ebp - 4], 9
call dword [eax + 0xc]
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call fcn.00401fa0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.004012d0
mov edi, str.file_version
push edi
lea ecx, [ebp - 0x10]
call fcn.00402190
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xa
call dword [eax + 0xc]
push eax
lea ecx, [ebp + 8]
call fcn.00401fa0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 8
call fcn.004012d0
push 0x20
lea ecx, [ebp + 8]
call fcn.004139bc
push edi
lea ecx, [ebp - 0x10]
call fcn.00402190
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xb
call dword [eax + 0xc]
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call fcn.00401fa0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004012d0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004012d0
mov edi, dword [ebp - 0x18]
xor esi, esi
inc esi
jmp 0x413bf6
jmp 0x413b5c