Function at 0x403ab0
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x13c]
sub esp, 0x13c
push 0xffffffffffffffff
push 0x4c4689
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x519b14]
xor eax, ebp
mov dword [ebp + 0x138], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x144]
mov dword [ebp - 0x20], esi
mov eax, dword [ebp + 0x148]
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], ebx
mov word [ebp + 0x20], bx
mov edi, 1
mov dword [ebp - 4], edi
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 8
jb 0x403b2d
add eax, 4
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
jmp 0x403b33
add eax, 4
mov dword [ebp - 0x18], eax
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], edi
cmp eax, ebx
ja 0x403b8d
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x1c]
push eax
mov ecx, esi
call fcn.00405dc0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], bl
cmp dword [ebp + 0x34], 8
jb 0x403b78
mov ecx, dword [ebp + 0x20]
push ecx
call fcn.0048c112
add esp, 4
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], ebx
mov word [ebp + 0x20], bx
mov eax, esi
jmp 0x403d98
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048b3df
mov edi, eax
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x24]
lea ecx, [eax + eax + 2]
push ecx
push ebx
push edi
call fcn.0048d180
add esp, 0x10
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
cmp dword [edx + 0x18], 8
jb 0x403bcb
mov eax, dword [eax]
push edi
mov ecx, dword [ebp - 0x24]
push ecx
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, 1
je 0x403c2f
push edi
call fcn.0048c64a
add esp, 4
mov edi, 7
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0x1c]
push edx
mov ecx, esi
call fcn.00405dc0
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], bl
cmp dword [ebp + 0x34], 8
jb 0x403c1e
mov eax, dword [ebp + 0x20]
push eax
call fcn.0048c112
add esp, 4
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x30], ebx
mov word [ebp + 0x20], bx
mov eax, esi
jmp 0x403d98
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x30]
push edx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
jne 0x403d17
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x403d17
movzx ecx, word [eax + 2]
push ecx
movzx edx, word [eax]
push edx
push str.StringFileInfo_04x_04xFileVersion
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp + 0x38]
push ecx
lea ecx, [ebp]
call fcn.00405260
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x403c96
lea eax, [ebp + 4]
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x1c]
push ecx
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
cmp eax, 1
je 0x403ce3
push edi
call fcn.0048c64a
add esp, 4
lea edx, [ebp + 0x1c]
push edx
mov ecx, esi
call fcn.004052a0
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.004052d0
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x1c]
call fcn.004052d0
mov eax, esi
jmp 0x403d98
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x403d08
push eax
lea ecx, [ebp + 0x1c]
call fcn.00405320
push 0x2e
mov eax, 0x2c
lea edi, [ebp + 0x1c]
call fcn.00413270
add esp, 4
mov edi, dword [ebp - 0x34]
push edi
call fcn.0048c64a
add esp, 4
lea eax, [ebp + 0x1c]
push eax
jmp 0x403cb7
push edi
call fcn.0048c64a
add esp, 4
mov edi, 7
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, esi
call fcn.00405dc0
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], bl
cmp dword [ebp + 0x34], 8
jb 0x403c1e
mov edx, dword [ebp + 0x20]
push edx
call fcn.0048c112
add esp, 4
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x30], ebx
mov word [ebp + 0x20], bx
mov eax, esi
jmp 0x403d98
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x138]
xor ecx, ebp
call fcn.0048cb7d
add ebp, 0x13c
mov esp, ebp
pop ebp
ret