Function at 0x451ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489cf0
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x59339c]
xor eax, ebp
mov dword [ebp - 0x14], 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, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0xcc]
call edx
test eax, eax
je 0x451f10
mov ax, word [esi + 0x164]
mov ecx, 0x8664
cmp ax, cx
jne 0x451f10
mov dx, word [esi + 0x166]
movzx edi, dx
xor ecx, ecx
mov eax, edi
mov edx, 0x28
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046bf6a
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x104]
add esp, 4
mov dword [esi + 0x370], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
push 0
add edx, 0x108
push edx
call eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
add eax, eax
push eax
mov eax, dword [esi + 0x370]
push eax
call edx
mov ax, word [esi + 0x166]
cmp ax, 3
jb 0x451e20
mov cx, word [esi + 0x166]
cmp cx, 3
jne 0x451d98
mov edx, dword [esi + 0x264]
test edx, edx
jne 0x451d94
mov ecx, dword [esi + 0x188]
mov eax, dword [esi + 0x370]
mov eax, dword [eax + 0x34]
cmp ecx, eax
jbe 0x451d98
mov bl, 1
jmp 0x451d9a
xor bl, bl
mov ecx, dword [esi + 0x370]
xor al, al
cmp byte [ecx], 0x55
jne 0x451e06
cmp byte [ecx + 1], 0x50
jne 0x451e06
cmp byte [ecx + 2], 0x58
jne 0x451e06
mov ecx, dword [ecx + 0x3c]
mov edx, dword [esi + 8]
mov eax, dword [edx]
mov edx, dword [eax + 0x24]
sub ecx, 0x40
push 0
push ecx
mov ecx, dword [esi + 8]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
push 0x400
mov ecx, esi
call edx
test al, al
jne 0x451e06
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x370]
mov edx, dword [ecx]
mov eax, dword [eax + 0x64]
mov ecx, dword [esi + 8]
mov edx, dword [edx + 0x24]
push 0
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
push 0x400
mov ecx, esi
call edx
test bl, bl
je 0x451e18
test al, al
je 0x451e28
mov eax, 1
jmp 0x451f12
test al, al
jne 0x451f10
or eax, 0xffffffff
jmp 0x451f12
mov ecx, dword [esi + 0x188]
mov eax, dword [esi + 0x370]
mov eax, dword [eax + 0x5c]
cmp ecx, eax
jae 0x451f10
push 0x100
lea ecx, [ebp - 0x114]
push 0
push ecx
xor bl, bl
call fcn.0046cb90
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x370]
mov ecx, dword [ecx + 0x34]
mov edx, dword [esi + 0x370]
mov edx, dword [edx + 0x3c]
mov edi, dword [esi + 8]
mov edi, dword [edi]
sub eax, ecx
mov ecx, dword [esi + 8]
add esp, 0xc
add eax, edx
push 0
push eax
mov eax, dword [edi + 0x24]
mov dword [ebp - 4], 0
call eax
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push 0x100
lea eax, [ebp - 0x114]
push eax
call edx
push 7
push 0x577098
lea eax, [ebp - 0x114]
push 0x100
push eax
call fcn.0045a0b0
add esp, 0x10
test eax, eax
js 0x451ee4
push 7
mov ecx, 0xff
push 0x577098
sub ecx, eax
push ecx
lea edx, [ebp + eax - 0x113]
push edx
call fcn.0045a0b0
add esp, 0x10
test eax, eax
js 0x451ee4
mov bl, 1
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x451f03
push str.file_is_modified_hacked_protected__take_care___
jmp 0x451f08
push str.file_is_possibly_modified_hacked_protected__take_care_
call fcn.0040dd10
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046bfc7
mov esp, ebp
pop ebp
ret