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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x491170
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4b6798]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x4b6798]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x14]
test dword [ebx + 0x14], 0x4000
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0x18]
mov dword [esp + 0x24], esi
mov byte [esp + 0x18], al
jne 0x452dc3
movzx eax, byte [ebp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [ebp + 0x10]
push ebx
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call edx
mov eax, esi
jmp 0x452f60
lea edi, [esp + 0x20]
mov eax, ebx
call fcn.0041c6e0
mov edi, eax
mov dword [esp + 0x78], 0
call fcn.00454bd0
mov dword [esp + 0x78], 0xffffffff
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
test edi, edi
je 0x452e2c
push 0
lea ecx, [esp + 0x2c]
call fcn.004722ad
mov eax, dword [edi + 4]
test eax, eax
je 0x452e0c
cmp eax, 0xffffffff
jae 0x452e0c
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x28]
not esi
call fcn.004722d5
and esi, edi
je 0x452e2c
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
cmp byte [ebp + 0x1c], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], 1
lea esi, [esp + 0x4c]
je 0x452e7f
call fcn.00454250
mov edi, eax
lea esi, [esp + 0x30]
mov byte [esp + 0x78], 2
call fcn.0044a070
mov byte [esp + 0x78], 1
cmp dword [esp + 0x60], 0x10
jb 0x452ead
mov eax, dword [esp + 0x4c]
push eax
jmp 0x452ea5
call fcn.0041b180
mov edi, eax
lea esi, [esp + 0x30]
mov byte [esp + 0x78], 3
call fcn.0044a070
mov byte [esp + 0x78], 1
cmp dword [esp + 0x60], 0x10
jb 0x452ead
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004736d0
add esp, 4
cmp dword [ebx + 0x24], 0
mov edi, dword [ebx + 0x20]
mov ecx, dword [esp + 0x40]
jl 0x452ec8
jg 0x452ec0
test edi, edi
je 0x452ec8
cmp edi, ecx
jbe 0x452ec8
sub edi, ecx
jmp 0x452eca
xor edi, edi
mov edx, dword [ebx + 0x14]
mov esi, dword [esp + 0x18]
and edx, 0x1c0
cmp edx, 0x40
je 0x452f04
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push esi
push eax
mov eax, edi
push ecx
lea edi, [esp + 0x34]
call fcn.00454170
mov edx, dword [eax]
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 0xc], edx
mov eax, dword [eax + 4]
add esp, 0xc
mov dword [ebp + 0x10], eax
xor edi, edi
cmp dword [esp + 0x44], 0x10
mov eax, dword [esp + 0x30]
jae 0x452f13
lea eax, [esp + 0x30]
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x24]
push ecx
call fcn.00454100
mov ecx, dword [eax]
mov dword [ebp + 0xc], ecx
mov eax, dword [eax + 4]
push esi
push eax
mov dword [ebp + 0x10], eax
xor edx, edx
mov eax, edi
mov edi, dword [esp + 0x3c]
push ecx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
call fcn.00454170
add esp, 0x1c
cmp dword [esp + 0x44], 0x10
jb 0x452f5e
mov edx, dword [esp + 0x30]
push edx
call fcn.004736d0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004736db
mov esp, ebp
pop ebp
ret 0x18