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

Disassembly:
sub esp, 0x64
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov esi, dword [esp + 0x74]
lea eax, [esp + 8]
push edi
push eax
push ebp
lea ecx, [esp + 0x4c]
mov edi, 0xc
push esi
push ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov word [esp + 0x28], 0
mov word [esp + 0x2a], 0
mov word [esp + 0x2c], 0
mov dword [0x5fbde0], 0
mov dword [0x5fbd38], 0x7fffffff
mov dword [esp + 0x1c], edi
call fcn.004e7760
add esp, 0xc
lea edx, [esp + 0x3c]
push eax
push edx
call fcn.004e7840
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
call fcn.0046d870
call fcn.0046dd00
lea edx, [esp + 0x30]
push edx
call fcn.0046d790
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
add ecx, eax
add ecx, edx
push ecx
call fcn.0046d430
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x45303e
mov dword [esp + 0xc], eax
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
mov dword [esp + 0x20], edi
call fcn.004e7870
add esp, 0xc
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004e7800
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
call fcn.0046d640
mov dx, word [esp + 0x3c]
mov ax, word [esp + 0x40]
mov cx, word [esp + 0x44]
mov word [esp + 0x28], dx
lea edx, [esp + 0x28]
mov word [esp + 0x2a], ax
push edx
mov word [esp + 0x30], cx
call fcn.0046d930
mov eax, dword [ebp]
mov ecx, dword [esi]
add esp, 0x14
cmp eax, ecx
jge 0x452d9c
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], ecx
jmp 0x452da4
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 4]
cmp eax, ecx
jge 0x452db8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
jmp 0x452dc0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
cmp eax, ecx
jge 0x452dd4
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], ecx
jmp 0x452ddc
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x80]
test edi, edi
je 0x452fe2
push ebx
test byte [edi + 0x46], 0x40
jne 0x452fd6
cmp edi, dword [esp + 0x88]
je 0x452fd6
xor esi, esi
mov eax, dword [edi + 8]
mov si, word [edi + 0xdc]
mov edx, dword [esp + 0x3c]
imul esi, dword [esp + 0x8c]
lea ecx, [eax + esi]
cmp ecx, edx
jl 0x452fd6
mov ecx, dword [esp + 0x48]
mov edx, eax
sub edx, esi
cmp edx, ecx
jg 0x452fd6
mov ecx, dword [edi + 0xc]
mov ebx, dword [esp + 0x40]
lea edx, [ecx + esi]
cmp edx, ebx
jl 0x452fd6
mov edx, dword [esp + 0x4c]
sub ecx, esi
cmp ecx, edx
jg 0x452fd6
mov ecx, dword [edi + 0x10]
mov ebx, dword [esp + 0x44]
lea edx, [ecx + esi]
cmp edx, ebx
jl 0x452fd6
mov edx, dword [esp + 0x50]
sub ecx, esi
cmp ecx, edx
jg 0x452fd6
mov edx, dword [ebp]
sub eax, edx
mov edx, dword [ebp + 4]
sar eax, 0xc
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0xc]
sub eax, edx
lea edx, [esp + 0x54]
sar eax, 0xc
mov dword [esp + 0x58], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [ebp + 8]
push edx
sub ecx, eax
sar ecx, 0xc
mov dword [esp + 0x60], ecx
call fcn.0046d670
call fcn.0046d700
call fcn.0046dd00
lea eax, [esp + 0x28]
push eax
call fcn.0046d790
mov eax, dword [0x5fbef0]
add esp, 8
sar esi, 0xc
imul esi, esi
test eax, eax
jne 0x452ee8
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x24]
add edx, ecx
cmp edx, esi
jge 0x452fd6
lea eax, [esp + 0x54]
push eax
call fcn.0046d840
call fcn.0046deb0
lea ecx, [esp + 0x7c]
push ecx
call fcn.0046df60
mov eax, dword [esp + 0x80]
mov ecx, dword [0x5fbd38]
add esp, 8
cmp eax, ecx
jge 0x452fd6
test eax, eax
jge 0x452f5c
lea edx, [esp + 0x54]
push edx
call fcn.0046d870
call fcn.0046dd00
lea eax, [esp + 0x28]
push eax
call fcn.0046d790
mov eax, dword [0x5fbef0]
add esp, 8
test eax, eax
jne 0x452fc7
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x24]
add edx, ecx
cmp edx, esi
jge 0x452fd6
jmp 0x452fc7
cmp eax, dword [esp + 0x18]
jle 0x452fcb
mov eax, dword [esp + 0x7c]
mov ecx, dword [edi + 8]
sub ecx, dword [eax]
sar ecx, 0xc
mov dword [esp + 0x64], ecx
mov edx, dword [edi + 0xc]
sub edx, dword [eax + 4]
sar edx, 0xc
mov dword [esp + 0x68], edx
mov ecx, dword [edi + 0x10]
mov edx, dword [eax + 8]
sub ecx, edx
lea edx, [esp + 0x64]
sar ecx, 0xc
push edx
mov dword [esp + 0x70], ecx
call fcn.0046d870
call fcn.0046dd00
lea eax, [esp + 0x28]
push eax
call fcn.0046d790
mov eax, dword [0x5fbef0]
add esp, 8
test eax, eax
jne 0x452fc7
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add edx, ecx
mov ecx, dword [esp + 0x24]
add edx, ecx
cmp edx, esi
jge 0x452fd6
mov eax, dword [esp + 0x78]
mov dword [0x5fbd38], eax
mov dword [0x5fbde0], edi
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x452dec
pop ebx
mov eax, dword [0x5fbde0]
test eax, eax
je 0x453032
lea eax, [esp + 0x2c]
push eax
call fcn.0046d870
mov ecx, dword [0x5fbd38]
push ecx
call fcn.0046d990
call fcn.0046e010
mov esi, dword [esp + 0x84]
push esi
call fcn.0046d790
add esp, 0xc
lea edx, [esp + 0x78]
mov ecx, esi
mov dword [esp + 0x78], 0xc
push edx
call fcn.004e7680
push ebp
mov ecx, esi
call fcn.004e7590
mov eax, dword [0x5fbde0]
pop edi
pop esi
pop ebp
add esp, 0x64
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x64
ret