Function at 0x413e92
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 0x413bb9
xor eax, eax
call fcn.0042f49f
ret 4
and dword [ebp - 0x20], 0
mov dword [ebp + 8], eax
call fcn.00420017
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 0x413c30
push dword [edi]
lea eax, [ebp + 8]
push eax
call fcn.00417613
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 0x413c30
xor esi, esi
lea ecx, [edi - 0x10]
call fcn.004012d0
mov eax, esi
jmp 0x413bb1
push ebx
call fcn.0041d182
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 0x413d92
lea ecx, [ebp - 0xb0]
call fcn.00417c8b
push 0xffff
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.00417d1b
test eax, eax
je 0x413d83
lea ecx, [ebp - 0xb0]
call fcn.00417ec3
mov ecx, eax
call fcn.0041818f
mov ecx, eax
call fcn.00417fc1
cmp eax, edi
mov dword [ebp - 0x10], eax
je 0x413d83
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00417ec3
mov ecx, eax
call fcn.0041818f
mov ecx, eax
call fcn.00417fc5
mov ecx, eax
mov dword [ebp - 0x28], ecx
call fcn.00417ec3
push eax
lea ecx, [ebp - 0x1c]
call fcn.004012f0
mov byte [ebp - 4], 3
call fcn.00420017
push eax
lea ecx, [ebp + 8]
call fcn.00402160
xor ebx, ebx
cmp dword [str.comments], edi
mov byte [ebp - 4], 4
je 0x413d21
xor eax, eax
push dword [eax + 0x468530]
lea ecx, [ebp - 0x1c]
call fcn.00401dd0
test eax, eax
je 0x413d12
inc ebx
mov eax, ebx
shl eax, 3
cmp dword [eax + 0x468534], edi
jne 0x413cf0
jmp 0x413d21
push dword [ebx*8 + 0x468534]
lea ecx, [ebp + 8]
call fcn.00402500
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x413d60
mov ecx, dword [ebp - 0x28]
call fcn.00417ec7
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 0x413c9e
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0
call fcn.00417cd7
push dword [ebp - 0x14]
call fcn.0041d17d
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.004139ea
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.004139ea
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 0x413c24
jmp 0x413b8a