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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e9a54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
push edi
movsx eax, word [ebp + 0x20]
xor ebx, ebx
dec eax
mov dword [esp + 0x158], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0x4f5778
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x160], 1
call fcn.00417070
mov esi, dword [ebp + 0x34]
lea eax, [esp + 0x44]
push ebx
push eax
mov ecx, esi
call fcn.0040b280
mov eax, dword [esi + 8]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0x158], 2
jle 0x450abc
cmp edi, ebx
jne 0x45089b
sub esp, 0x30
mov ecx, esp
mov dword [esp + 0x40], esp
push ebx
push ecx
mov ecx, esi
call fcn.0040b280
lea ecx, [esp + 0x50]
call fcn.00416960
jmp 0x450ab0
lea ebx, [edi - 1]
lea edx, [esp + 0x90]
push ebx
push edx
mov ecx, esi
call fcn.0040b280
mov eax, dword [eax + 4]
lea ecx, [esp + 0x90]
mov dword [esp + 0x34], eax
call fcn.00456e80
lea ecx, [esp + 0xf0]
push ebx
push ecx
mov ecx, esi
call fcn.0040b280
mov ebx, dword [eax + 8]
lea ecx, [esp + 0xf0]
call fcn.00456e80
lea edx, [esp + 0xc0]
push edi
push edx
mov ecx, esi
call fcn.0040b280
mov eax, dword [eax + 4]
lea ecx, [esp + 0xc0]
mov dword [esp + 0x18], eax
call fcn.00456e80
lea ecx, [esp + 0x120]
push edi
push ecx
mov ecx, esi
call fcn.0040b280
mov edx, dword [eax + 8]
lea ecx, [esp + 0x120]
mov dword [esp + 0x1c], edx
call fcn.00456e80
cmp dword [esp + 0x14], 2
jl 0x450a83
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
push eax
push ecx
push ebx
push edx
lea ecx, [esp + 0x8c]
call fcn.004dc580
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
push eax
push ecx
push ebx
push edx
mov byte [esp + 0x168], 3
call fcn.00434090
fidiv dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov ebx, 1
add esp, 0x10
cmp eax, ebx
mov dword [esp + 0x10], ebx
fstp qword [esp + 0x74]
jle 0x450a72
fild dword [esp + 0x10]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x7c]
push eax
fmul qword [esp + 0x78]
sub esp, 8
fstp qword [esp]
call fcn.004dc6e0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x44]
sub esp, 0x30
mov dword [esp + 0x7c], edx
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x78]
and ecx, edx
mov eax, esp
mov dword [esp + 0x40], esp
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x80]
mov dword [eax + 0xc], edx
mov cx, word [esp + 0x84]
mov word [eax + 0x10], cx
mov edx, dword [esp + 0x88]
mov dword [eax + 0x14], edx
mov cx, word [esp + 0x8c]
mov word [eax + 0x18], cx
mov dx, word [esp + 0x8e]
mov word [eax + 0x1a], dx
mov cx, word [esp + 0x90]
mov word [eax + 0x1c], cx
mov dx, word [esp + 0x92]
mov word [eax + 0x1e], dx
mov ecx, dword [esp + 0x94]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x98]
mov dword [eax + 0x24], edx
mov cx, word [esp + 0x9c]
mov word [eax + 0x28], cx
mov edx, dword [esp + 0xa0]
lea ecx, [esp + 0x50]
mov dword [eax + 0x2c], edx
mov dword [eax], 0x4f5588
call fcn.00416960
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x45098a
lea ecx, [esp + 0x7c]
mov byte [esp + 0x158], 2
call fcn.004dc5b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub esp, 0x30
mov dword [esp + 0x68], ecx
mov edx, esp
mov dword [esp + 0x40], esp
push edi
push edx
mov ecx, esi
mov dword [esp + 0x6c], eax
call fcn.0040b280
lea ecx, [esp + 0x50]
call fcn.00416960
xor ebx, ebx
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x450877
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00417070
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, ebx
jle 0x450af4
sub esp, 0x30
lea ecx, [esp + 0x50]
mov eax, esp
mov dword [esp + 0x40], esp
push edi
push eax
call fcn.0040b280
mov ecx, esi
call fcn.00416960
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jl 0x450ad0
lea ecx, [esp + 0x44]
mov byte [esp + 0x158], 1
call fcn.00456e80
mov dword [esp + 0x20], 0x4f5778
mov esi, dword [esp + 0x24]
mov byte [esp + 0x158], 4
cmp esi, ebx
je 0x450b41
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x450b38
lea edi, [eax]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x30
dec edi
jne 0x450b27
mov esi, dword [esp + 0x24]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [ebp + 8]
mov dword [esp + 0x20], 0x4f4f00
mov dword [esp + 0x158], 0xffffffff
call fcn.004d9970
mov ecx, dword [esp + 0x150]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret