Function at 0x414420
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535cca
mov eax, dword fs:[0]
push eax
sub esp, 0x538
mov eax, dword [0x595834]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x414588
mov byte [ebp - 0x234], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x233]
push ecx
call fcn.0051ab50
add esp, 0xc
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00414300
add esp, 8
push 0x2e
lea ecx, [ebp - 0x234]
push ecx
call fcn.0051c7b0
add esp, 8
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x414581
mov edx, dword [ebp - 0x238]
mov byte [edx], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x504], eax
mov ecx, dword [ebp - 0x504]
add ecx, 1
mov dword [ebp - 0x508], ecx
mov edx, dword [ebp - 0x504]
mov al, byte [edx]
mov byte [ebp - 0x509], al
add dword [ebp - 0x504], 1
cmp byte [ebp - 0x509], 0
jne 0x4144d8
mov ecx, dword [ebp - 0x504]
sub ecx, dword [ebp - 0x508]
mov dword [ebp - 0x510], ecx
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x510]
jae 0x414577
lea eax, [ebp - 0x234]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x518], ecx
mov edx, dword [ebp - 0x518]
mov dword [ebp - 0x51c], edx
mov eax, dword [ebp - 0x514]
mov cl, byte [eax]
mov byte [ebp - 0x51d], cl
mov edx, dword [ebp - 0x518]
mov al, byte [ebp - 0x51d]
mov byte [edx], al
mov ecx, dword [ebp - 0x514]
add ecx, 1
mov dword [ebp - 0x514], ecx
mov edx, dword [ebp - 0x518]
add edx, 1
mov dword [ebp - 0x518], edx
cmp byte [ebp - 0x51d], 0
jne 0x414534
mov eax, 1
jmp 0x41482e
xor eax, eax
jmp 0x41482e
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041bea2
add esp, 4
mov dword [ebp - 0x440], eax
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.0051ab50
add esp, 0xc
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4145f0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x444], ecx
mov edx, dword [ebp - 0x444]
push edx
call fcn.0041be97
add esp, 4
xor eax, eax
jmp 0x41482e
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push str.VarFileInfoTranslation
mov edx, dword [ebp - 0x28]
push edx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x24], 0
je 0x41466d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
push ecx
push str.StringFileInfo_04x_04x_s
lea edx, [ebp - 0x43c]
push edx
call fcn.0051c994
add esp, 0x14
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], 0
je 0x414811
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x524], ecx
mov edx, dword [ebp - 0x524]
add edx, 1
mov dword [ebp - 0x528], edx
mov eax, dword [ebp - 0x524]
mov cl, byte [eax]
mov byte [ebp - 0x529], cl
add dword [ebp - 0x524], 1
cmp byte [ebp - 0x529], 0
jne 0x41468f
mov edx, dword [ebp - 0x524]
sub edx, dword [ebp - 0x528]
mov dword [ebp - 0x530], edx
mov eax, dword [ebp - 0x530]
add eax, 1
cmp eax, dword [ebp - 0x1c]
jne 0x4146f3
mov ecx, dword [ebp + 0x14]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0051c870
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x14]
mov byte [ecx - 1], 0
jmp 0x414811
mov edx, dword [ebp - 0x20]
push edx
lea ecx, [ebp - 0x4cc]
call fcn.0041b720
mov dword [ebp - 0x534], eax
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4e0]
mov edx, dword [ecx]
mov dword [ebp - 0x4e4], edx
lea eax, [ebp - 0x4c4]
mov dword [ebp - 0x4c8], eax
push 3
mov ecx, dword [ebp - 0x4e4]
push ecx
lea ecx, [ebp - 0x4c8]
call fcn.0041b850
lea edx, [ebp - 0x4c8]
mov dword [ebp - 0x4f4], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4f8]
mov dword [ebp - 0x538], eax
mov ecx, dword [ebp - 0x4f4]
mov edx, dword [ecx]
mov dword [ebp - 0x538], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x53c], eax
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x540], ecx
mov edx, dword [ebp - 0x538]
mov al, byte [edx]
mov byte [ebp - 0x541], al
mov ecx, dword [ebp - 0x53c]
mov dl, byte [ebp - 0x541]
mov byte [ecx], dl
mov eax, dword [ebp - 0x538]
add eax, 1
mov dword [ebp - 0x538], eax
mov ecx, dword [ebp - 0x53c]
add ecx, 1
mov dword [ebp - 0x53c], ecx
cmp byte [ebp - 0x541], 0
jne 0x414788
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4fc], edx
lea eax, [ebp - 0x4c4]
cmp dword [ebp - 0x4fc], eax
je 0x4147f8
mov ecx, dword [ebp - 0x4fc]
push ecx
call fcn.0051a252
add esp, 4
mov dword [ebp - 4], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4cc]
call fcn.0041b810
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x4d0], edx
mov eax, dword [ebp - 0x4d0]
push eax
call fcn.0041be97
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0051a243
mov esp, ebp
pop ebp
ret