Function at 0x458c00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fb6c
mov eax, dword fs:[0]
push eax
sub esp, 0x348
push ebx
push esi
push edi
mov eax, dword [0x6fb4c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x6e80cc
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x14], 1
call fcn.00458ef0
add esp, 4
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
inc eax
mov dword [ebp - 0x350], eax
cmp eax, 0x100
jle 0x458ca0
add eax, eax
push eax
call fcn.0052a232
mov ecx, eax
add esp, 4
mov dword [ebp - 0x34c], ecx
test ecx, ecx
jne 0x458c92
call fcn.00425c40
mov ecx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x354], eax
jmp 0x458cb6
lea ecx, [ebp - 0x344]
mov dword [ebp - 0x354], 0x100
mov dword [ebp - 0x34c], ecx
mov edi, dword [esi + 4]
mov eax, dword [esi + 0xc]
add edi, edi
mov byte [ebp - 4], 2
add eax, esi
je 0x458cd7
push edi
push eax
push ecx
call fcn.00526230
mov ecx, dword [ebp - 0x34c]
add esp, 0xc
xor eax, eax
push eax
mov word [ecx + edi], ax
push dword [ebp - 0x34c]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x458e90
mov dword [ebp - 0x140], edi
cmp edi, 0x100
jle 0x458d2f
push edi
call fcn.0052a232
mov ecx, eax
add esp, 4
mov dword [ebp - 0x13c], ecx
test ecx, ecx
jne 0x458d21
call fcn.00425c40
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
jmp 0x458d45
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x144], 0x100
mov dword [ebp - 0x13c], ecx
push ecx
push edi
push 0
push dword [ebp - 0x34c]
mov byte [ebp - 4], 3
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x458e77
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x5cdd0c
push dword [ebp - 0x13c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x458e77
cmp dword [ebp - 0x30], 0
je 0x458e77
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x28], 0x6f875c
mov eax, 0x20
mov byte [ebp - 4], 4
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
movzx eax, word [edi + 0x12]
push 0xa
push 0
cdq
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00406fe0
mov dword [ebp - 0x14], 3
mov eax, 0x20
mov byte [ebp - 4], 5
mov word [ebp - 0x10], ax
lea ecx, [ebp - 0x18]
push dword [ebp - 0x10]
movzx eax, word [edi + 0x10]
push 0xa
push 0
cdq
push edx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00406fe0
mov dword [ebp - 0x14], 0x13
mov eax, 0x20
mov byte [ebp - 4], 6
mov word [ebp - 0x10], ax
lea ecx, [ebp - 0x24]
push dword [ebp - 0x10]
movzx eax, word [edi + 0x16]
push 0xa
push 0
cdq
push edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00406fe0
mov dword [ebp - 0x14], 0x17
mov eax, 0x20
mov byte [ebp - 4], 7
mov word [ebp - 0x10], ax
lea ecx, [ebp - 0x20]
push dword [ebp - 0x10]
movzx eax, word [edi + 0x14]
push 0xa
push 0
cdq
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00406fe0
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebx], eax
call fcn.00401a70
lea ecx, [ebp - 0x20]
call fcn.00401a70
lea ecx, [ebp - 0x24]
call fcn.00401a70
lea ecx, [ebp - 0x18]
call fcn.00401a70
lea ecx, [ebp - 0x28]
call fcn.00401a70
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x134]
cmp eax, ecx
je 0x458e90
push eax
call fcn.0052a217
add esp, 4
mov eax, dword [ebp - 0x34c]
lea ecx, [ebp - 0x344]
cmp eax, ecx
je 0x458ea9
push eax
call fcn.0052a217
add esp, 4
mov eax, dword [esi]
mov ecx, dword [ebp - 0x2c]
test eax, eax
je 0x458ec6
cmp eax, 0xffffffff
je 0x458ed3
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
setne dl
test dl, dl
jne 0x458ed3
push 4
push 2
push ecx
call fcn.00403690
add esp, 0xc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4