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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x577e6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
lea ebx, [ebp + 0x244]
push 0xffffffffffffffff
push edi
mov ecx, ebx
mov dword [esp + 0x2c], edi
call fcn.00454070
mov eax, dword [ebp + 0x22c]
cmp eax, edi
je 0x45fa42
mov ecx, dword [ebp + 0x220]
mov esi, 1
cmp ecx, esi
jl 0x45fa42
mov dl, byte [eax + 0x98]
test dl, dl
je 0x45e5dd
mov edx, dword [eax + 0x6c]
jmp 0x45e5e0
mov edx, dword [eax + 0x70]
mov dword [esp + 0x38], edx
mov dl, byte [eax + 0x9f]
test dl, dl
je 0x45f0ed
dec ecx
push ecx
push edi
mov ecx, ebp
call fcn.0045fb50
mov eax, dword [ebp + 0x22c]
mov cl, byte [eax + 0x9c]
test cl, cl
je 0x45ec9e
mov ecx, dword [ebx + 4]
cmp ecx, edi
jne 0x45e636
push 0x38
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 4], eax
push esi
push eax
call fcn.00454820
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x45e747
mov esi, dword [ebx + 0xc]
cmp esi, 1
jl 0x45e685
mov eax, dword [ebx + 8]
cmp eax, 1
jge 0x45e66c
mov edx, 1
sub edx, eax
push edx
lea edx, [eax*8]
sub edx, eax
lea eax, [ecx + edx*8]
push eax
call fcn.00454820
mov dword [ebx + 8], 1
jmp 0x45e742
jle 0x45e679
dec eax
add ecx, 0x38
push eax
push ecx
call fcn.004547f0
mov dword [ebx + 8], 1
jmp 0x45e742
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x45e6b0
mov eax, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45e6a4
mov eax, 4
jmp 0x45e6b0
cmp eax, 0x400
jle 0x45e6b0
mov eax, 0x400
add eax, esi
cmp eax, 1
mov dword [esp + 0x10], eax
jg 0x45e6c3
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [edx*8]
mov dword [esp + 0x14], eax
sub ecx, edx
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
sub edx, ecx
push edx
lea edx, [ecx*8]
sub edx, ecx
lea eax, [eax + edx*8]
push eax
call fcn.00454820
mov ecx, dword [ebx + 4]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 4], edx
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], eax
xor edi, edi
mov esi, 1
mov ecx, dword [ebp + 0x21c]
push ecx
mov ecx, dword [ebp + 0x248]
add ecx, 0x30
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp + 0x25c]
mov eax, dword [ebp + 0x248]
push 0xffffffffffffffff
push edi
fld dword [edx]
mov dword [esp + 0x2c], esi
fstp qword [eax + 0x28]
mov ecx, dword [ebp + 0x248]
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x24], 0x3ff00000
mov ecx, dword [ebp + 0x22c]
add ecx, 0x3c
call sub.MFC42.DLL_CStringArray::SetSize
mov ecx, dword [ebp + 0x22c]
push 0xffffffffffffffff
push edi
add ecx, 0x50
call sub.MFC42.DLL_CStringArray::SetSize
mov ecx, dword [ebp + 0x22c]
mov edx, dword [ebp + 0x21c]
add ecx, 0x3c
push edx
mov eax, dword [ecx + 8]
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [ebp + 0x220]
mov dword [esp + 0x3c], esi
cmp eax, esi
jle 0x45f9a8
mov edi, 0x38
mov esi, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x44], 0x70
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp + 0x21c]
lea eax, [ecx*4]
mov ecx, dword [eax + edx - 4]
add eax, edx
mov dword [esp + 0x14], ecx
mov eax, dword [eax]
mov dl, byte [eax]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2b], dl
cmp dl, byte [ecx]
jne 0x45e841
mov cl, dl
test cl, cl
je 0x45e83d
mov dl, byte [eax + 1]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2b], dl
cmp dl, byte [ecx + 1]
jne 0x45e841
mov edx, ecx
mov cl, byte [esp + 0x2b]
add eax, 2
add edx, 2
test cl, cl
mov dword [esp + 0x14], edx
jne 0x45e805
xor eax, eax
jmp 0x45e846
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45ec64
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jne 0x45ea3c
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x45e8b8
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x45e8ab
mov eax, dword [ebx + 8]
mov esi, ecx
mov edx, eax
dec eax
test edx, edx
je 0x45e894
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0x10]
add esi, 0x38
dec eax
mov dword [esp + 0x10], eax
jne 0x45e87e
mov ecx, dword [ebx + 4]
push ecx
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x20]
add esp, 4
mov dword [ebx + 4], 0
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x45e9de
mov edx, dword [ebx + 4]
test edx, edx
jne 0x45e8e1
mov edx, dword [esp + 0x44]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 4], eax
push esi
push eax
call fcn.00454820
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x45e9de
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
jg 0x45e927
mov eax, dword [ebx + 8]
cmp eax, esi
jge 0x45e90e
mov ecx, esi
sub ecx, eax
push ecx
lea ecx, [eax*8]
sub ecx, eax
lea edx, [edx + ecx*8]
push edx
call fcn.00454820
mov dword [ebx + 8], esi
jmp 0x45e9de
jle 0x45e91f
sub eax, esi
push eax
mov eax, dword [esp + 0x48]
add eax, edx
push eax
call fcn.004547f0
mov dword [ebx + 8], esi
jmp 0x45e9de
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x45e952
mov eax, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45e946
mov eax, 4
jmp 0x45e952
cmp eax, 0x400
jle 0x45e952
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x14], eax
jl 0x45e960
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [edx*8]
mov dword [esp + 0x2c], eax
sub ecx, edx
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebx + 8]
mov edx, esi
sub edx, ecx
push edx
lea edx, [ecx*8]
sub edx, ecx
lea eax, [eax + edx*8]
push eax
call fcn.00454820
mov ecx, dword [ebx + 4]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp + 0x248]
push 0x53c7
lea ecx, [edi + ecx + 0x30]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 0x25c]
mov ecx, dword [ebp + 0x248]
shl eax, 2
fld dword [edx + eax]
fstp qword [edi + ecx + 0x28]
fild dword [esp + 0x1c]
mov edx, dword [ebp + 0x248]
fstp qword [edi + edx + 0x20]
mov edx, dword [esp + 0x24]
inc edx
inc esi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x44]
add edx, 0x38
add edi, 0x38
mov dword [esp + 0x1c], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x10], edi
jmp 0x45ea5c
jle 0x45ea7c
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x248]
mov edx, dword [ebp + 0x25c]
shl eax, 2
lea ecx, [edi + ecx - 0x10]
fld dword [edx + eax]
fadd qword [ecx]
fstp qword [ecx]
mov ecx, dword [ebp + 0x22c]
mov edx, dword [ebp + 0x21c]
add ecx, 0x50
add edx, eax
push edx
mov eax, dword [ecx + 8]
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
jmp 0x45ec82
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x45eab5
mov eax, dword [ebx + 4]
test eax, eax
je 0x45eaa8
mov ecx, dword [ebx + 8]
push ecx
push eax
call fcn.004547f0
mov edx, dword [ebx + 4]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 4], 0
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x45ebdb
mov edx, dword [ebx + 4]
test edx, edx
jne 0x45eade
mov eax, dword [esp + 0x44]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 4], eax
push esi
push eax
call fcn.00454820
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x45ebdb
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
jg 0x45eb24
mov eax, dword [ebx + 8]
cmp eax, esi
jge 0x45eb0b
mov ecx, esi
sub ecx, eax
push ecx
lea ecx, [eax*8]
sub ecx, eax
lea edx, [edx + ecx*8]
push edx
call fcn.00454820
mov dword [ebx + 8], esi
jmp 0x45ebdb
jle 0x45eb1c
sub eax, esi
push eax
mov eax, dword [esp + 0x48]
add eax, edx
push eax
call fcn.004547f0
mov dword [ebx + 8], esi
jmp 0x45ebdb
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x45eb4f
mov eax, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45eb43
mov eax, 4
jmp 0x45eb4f
cmp eax, 0x400
jle 0x45eb4f
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x14], eax
jl 0x45eb5d
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [edx*8]
mov dword [esp + 0x2c], eax
sub ecx, edx
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebx + 8]
mov edx, esi
sub edx, ecx
push edx
lea edx, [ecx*8]
sub edx, ecx
lea eax, [eax + edx*8]
push eax
call fcn.00454820
mov ecx, dword [ebx + 4]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], eax
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x21c]
mov eax, dword [ebp + 0x248]
lea esi, [edx*4]
add ecx, esi
push ecx
lea ecx, [edi + eax + 0x30]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp + 0x25c]
mov edx, dword [ebp + 0x248]
add edi, 0x38
fld dword [ecx + esi]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], edi
fstp qword [edi + edx - 0x10]
fild dword [esp + 0x1c]
mov eax, dword [ebp + 0x248]
mov edx, dword [esp + 0x1c]
add ecx, 0x38
fstp qword [edi + eax - 0x18]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x22c]
inc eax
inc edx
add ecx, 0x3c
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x21c]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 8]
add edx, esi
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov esi, dword [esp + 0x1c]
jmp 0x45ec82
mov ecx, dword [ebp + 0x248]
mov edx, dword [ebp + 0x25c]
lea eax, [edi + ecx - 0x10]
mov ecx, dword [esp + 0x3c]
shl ecx, 2
fld dword [edx + ecx]
fadd qword [eax]
fstp qword [eax]
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x220]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x45e7e8
jmp 0x45f9a8
mov edi, dword [eax + 0x44]
mov dword [esp + 0x24], edi
lea esi, [edi + 1]
test esi, esi
mov dword [esp + 0x14], esi
jne 0x45ecdd
mov eax, dword [ebx + 4]
test eax, eax
je 0x45ecd0
mov edx, dword [ebx + 8]
push edx
push eax
call fcn.004547f0
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 4], esi
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x45ee11
mov edx, dword [ebx + 4]
test edx, edx
jne 0x45ed0e
lea ecx, [esi*8]
sub ecx, esi
shl ecx, 3
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 4], eax
push esi
push eax
call fcn.00454820
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x45ee11
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
jg 0x45ed5a
mov eax, dword [ebx + 8]
cmp eax, esi
jge 0x45ed3b
mov ecx, esi
sub ecx, eax
push ecx
lea ecx, [eax*8]
sub ecx, eax
lea edx, [edx + ecx*8]
push edx
call fcn.00454820
mov dword [ebx + 8], esi
jmp 0x45ee11
jle 0x45ed52
sub eax, esi
push eax
lea eax, [esi*8]
sub eax, esi
lea ecx, [edx + eax*8]
push ecx
call fcn.004547f0
mov dword [ebx + 8], esi
jmp 0x45ee11
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x45ed85
mov eax, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45ed79
mov eax, 4
jmp 0x45ed85
cmp eax, 0x400
jle 0x45ed85
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x10], eax
jl 0x45ed93
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
lea edx, [eax*8]
sub edx, eax
shl edx, 3
push edx
call sub.MFC42.DLL_operatornew
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [edx*8]
mov dword [esp + 0x2c], eax
sub ecx, edx
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
mov edx, esi
sub edx, ecx
push edx
lea edx, [ecx*8]
sub edx, ecx
lea eax, [eax + edx*8]
push eax
call fcn.00454820
mov ecx, dword [ebx + 4]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
add esp, 4
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp + 0x248]
lea esi, [edi*8]
sub esi, edi
push 0x53c7
shl esi, 3
mov dword [esp + 0x48], esi
lea ecx, [esi + ecx + 0x30]
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [ebp + 0x248]
xor eax, eax
fild dword [esp + 0x14]
mov dword [esi + edx + 0x28], eax
push eax
fst qword [esp + 0x78]
mov dword [esi + edx + 0x2c], eax
mov ecx, dword [ebp + 0x248]
fstp qword [esi + ecx + 0x20]
lea ecx, [ebp + 0x218]
call fcn.00493c90
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
call fcn.00460030
test al, al
je 0x45eeba
mov edx, dword [ebp + 0x21c]
mov ecx, dword [ebp + 0x248]
push edx
add ecx, 0x30
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp + 0x25c]
mov ecx, dword [ebp + 0x248]
xor edx, edx
fld dword [eax]
fstp qword [ecx + 0x28]
mov eax, dword [ebp + 0x248]
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], 0x3ff00000
mov eax, 1
jmp 0x45eef2
mov ecx, dword [ebp + 0x248]
push 0x53c7
lea ecx, [esi + ecx + 0x30]
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [ebp + 0x25c]
mov eax, dword [ebp + 0x248]
fld dword [edx]
mov edx, edi
fstp qword [esi + eax + 0x28]
mov ecx, dword [ebp + 0x248]
xor eax, eax
fld qword [esp + 0x74]
fstp qword [esi + ecx + 0x20]
mov ecx, 1
mov dword [esp + 0x38], eax
cmp dword [ebp + 0x220], ecx
mov dword [esp + 0x3c], ecx
jle 0x45f055
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x21c]
shl eax, 2
add eax, ecx
mov edi, dword [eax - 4]
mov esi, dword [eax]
mov cl, byte [esi]
mov al, cl
cmp cl, byte [edi]
jne 0x45ef58
test al, al
je 0x45ef54
mov cl, byte [esi + 1]
mov al, cl
cmp cl, byte [edi + 1]
jne 0x45ef58
add esi, 2
add edi, 2
test al, al
jne 0x45ef34
xor eax, eax
jmp 0x45ef5d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45f00f
mov esi, dword [esp + 0x3c]
lea ecx, [ebp + 0x218]
push esi
call fcn.00493c90
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
call fcn.00460030
test al, al
je 0x45efee
mov edx, dword [ebp + 0x21c]
mov eax, dword [ebp + 0x248]
lea edi, [esi*4]
mov esi, dword [esp + 0x1c]
add edx, edi
push edx
lea ecx, [esi + eax + 0x30]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp + 0x25c]
mov edx, dword [ebp + 0x248]
fld dword [ecx + edi]
mov ecx, dword [esp + 0x10]
fstp qword [esi + edx + 0x28]
fild dword [esp + 0x10]
mov eax, dword [ebp + 0x248]
fstp qword [esi + eax + 0x20]
mov eax, dword [esp + 0x38]
mov edx, eax
inc eax
inc ecx
add esi, 0x38
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], esi
jmp 0x45f036
mov ecx, dword [ebp + 0x248]
mov edx, dword [esp + 0x44]
lea eax, [edx + ecx + 0x28]
mov ecx, dword [ebp + 0x25c]
mov edx, dword [esp + 0x24]
fld dword [ecx + esi*4]
fadd qword [eax]
fstp qword [eax]
jmp 0x45f03a
mov ecx, dword [ebp + 0x248]
lea eax, [edx*8]
mov esi, dword [ebp + 0x25c]
sub eax, edx
lea eax, [ecx + eax*8 + 0x28]
mov ecx, dword [esp + 0x3c]
shl ecx, 2
fld dword [esi + ecx]
fadd qword [eax]
fstp qword [eax]
mov esi, dword [esp + 0x3c]
mov eax, dword [ebp + 0x220]
inc esi
cmp esi, eax
mov dword [esp + 0x3c], esi
jl 0x45ef20
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
mov edx, dword [ebp + 0x22c]
mov eax, dword [edx + 0x58]
test eax, eax
je 0x45f07d
mov eax, dword [ebp + 0x248]
fld qword [esi + eax + 0x28]
fcomp qword [0x585c80]
fnstsw ax
test ah, 0x40
je 0x45f9a8
mov eax, dword [ebx + 8]
mov dword [esp + 0x10], 0
sub eax, edi
mov edi, esi
dec eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 4]
add edi, eax
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x10]
add edi, 0x38
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x45f096
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x45f0e5
lea edx, [ecx*8]
mov eax, dword [ebx + 4]
sub edx, ecx
mov ecx, dword [esp + 0x14]
shl edx, 3
push edx
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [eax + edx*8]
add eax, esi
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [ebx + 8]
jmp 0x45f9a8
mov dword [esp + 0x4c], method.CObject.virtual_0
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x60], 0x58c360
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
cmp ecx, edi
mov byte [esp + 0x1a0], 1
mov dword [esp + 0x3c], edi
jle 0x45f961
mov edi, dword [esp + 0x24]
mov esi, 1
mov dword [esp + 0x1c], esi
mov edx, dword [ebp + 0x21c]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x8c]
mov eax, dword [edx + eax*4]
push ecx
push 0x627d24
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x45f40d
mov eax, dword [esp + 0x50]
test esi, esi
jne 0x45f1a0
test eax, eax
je 0x45f191
mov edx, eax
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x50], 0
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], eax
jmp 0x45f2a8
test eax, eax
jne 0x45f1cc
lea eax, [edi*8 + 8]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x50], eax
push esi
push eax
call fcn.004548d0
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
jmp 0x45f2a8
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
cmp esi, ecx
jg 0x45f208
cmp eax, esi
jge 0x45f1f7
mov edx, dword [esp + 0x50]
mov ecx, esi
sub ecx, eax
lea eax, [edx + eax*8]
push ecx
push eax
call fcn.004548d0
mov dword [esp + 0x54], esi
jmp 0x45f2a8
jle 0x45f1ff
sub eax, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], esi
jmp 0x45f2a8
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45f21d
mov eax, 4
jmp 0x45f229
cmp eax, 0x400
jle 0x45f229
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x10], eax
jl 0x45f237
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x10]
lea edx, [ecx*8]
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
shl ecx, 3
mov dword [esp + 0x30], ecx
mov edx, ecx
mov edi, eax
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add edx, eax
and ecx, 3
mov dword [esp + 0x14], eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x54]
mov ecx, esi
sub ecx, edi
push ecx
push edx
call fcn.004548d0
mov eax, dword [esp + 0x50]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x64]
test esi, esi
jne 0x45f2d4
test eax, eax
je 0x45f2c5
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x64], 0
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
jmp 0x45f3e0
test eax, eax
jne 0x45f300
lea ecx, [edi*4 + 4]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x64], eax
push esi
push eax
call fcn.004548b0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], esi
jmp 0x45f3e0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
cmp esi, ecx
jg 0x45f33c
cmp eax, esi
jge 0x45f32b
mov ecx, dword [esp + 0x64]
mov edx, esi
sub edx, eax
push edx
lea edx, [ecx + eax*4]
push edx
call fcn.004548b0
mov dword [esp + 0x68], esi
jmp 0x45f3e0
jle 0x45f333
sub eax, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], esi
jmp 0x45f3e0
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45f351
mov eax, 4
jmp 0x45f35d
cmp eax, 0x400
jle 0x45f35d
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x10], eax
jl 0x45f36b
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov edi, eax
add esp, 4
lea ecx, [edx*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ecx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add edx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x68]
mov ecx, esi
sub ecx, edi
push ecx
push edx
call fcn.004548b0
mov eax, dword [esp + 0x64]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edx
fld qword [esp + 0x8c]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
fstp qword [eax + edi*8]
mov ecx, dword [ebp + 0x25c]
inc edi
inc esi
mov dword [esp + 0x24], edi
mov eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], esi
mov dword [ecx + edi*4 - 4], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x220]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x45f145
test edi, edi
jle 0x45f961
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0x7fefffff
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0xffefffff
fld qword [ecx]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x45f46a
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
fld qword [ecx]
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 1
je 0x45f484
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
add ecx, 8
dec edi
jne 0x45f450
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [ebp + 0x280], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x288], eax
mov eax, dword [ebp + 0x22c]
mov dword [ebp + 0x284], edx
mov dword [ebp + 0x28c], ecx
mov cl, byte [eax + 0x9a]
test cl, cl
jne 0x45f4ea
mov edx, dword [eax + 0x88]
mov esi, dword [eax + 0x8c]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x90]
mov dword [esp + 0x18], esi
mov esi, dword [eax + 0x94]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov dl, byte [eax + 0xa1]
test dl, dl
je 0x45f510
test cl, cl
je 0x45f510
fldlg2
fld qword [esp + 0x14]
fyl2x
fstp qword [esp + 0x14]
fldlg2
fld qword [esp + 0x1c]
fyl2x
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fsub qword [esp + 0x14]
fcom qword [0x585c80]
fnstsw ax
test ah, 0x40
je 0x45f549
fstp st(0)
fld qword [esp + 0x1c]
fadd qword [0x586028]
fstp qword [esp + 0x1c]
fld qword [esp + 0x14]
fsub qword [0x586028]
fstp qword [esp + 0x14]
fld qword [0x588cc8]
fild dword [esp + 0x38]
mov esi, dword [esp + 0x38]
test esi, esi
fstp qword [esp + 0x84]
fdiv qword [esp + 0x84]
fstp qword [esp + 0x44]
jne 0x45f594
mov eax, dword [ebx + 4]
test eax, eax
je 0x45f587
mov ecx, dword [ebx + 8]
push ecx
push eax
call fcn.004547f0
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 4], esi
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
jmp 0x45f6c4
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x45f5c5
lea edx, [esi*8]
sub edx, esi
shl edx, 3
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 4], eax
push esi
push eax
call fcn.00454820
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x45f6c4
mov edi, dword [ebx + 0xc]
cmp esi, edi
jg 0x45f611
mov eax, dword [ebx + 8]
cmp eax, esi
jge 0x45f5f2
mov edx, esi
sub edx, eax
push edx
lea edx, [eax*8]
sub edx, eax
lea eax, [ecx + edx*8]
push eax
call fcn.00454820
mov dword [ebx + 8], esi
jmp 0x45f6c4
jle 0x45f609
lea edx, [esi*8]
sub eax, esi
sub edx, esi
push eax
lea eax, [ecx + edx*8]
push eax
call fcn.004547f0
mov dword [ebx + 8], esi
jmp 0x45f6c4
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x45f63c
mov eax, dword [ebx + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x45f630
mov eax, 4
jmp 0x45f63c
cmp eax, 0x400
jle 0x45f63c
mov eax, 0x400
add eax, edi
cmp esi, eax
mov dword [esp + 0x10], eax
jl 0x45f64a
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov edi, eax
add esp, 4
lea ecx, [edx*8]
mov dword [esp + 0x2c], eax
sub ecx, edx
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x38]
mov ecx, dword [ebx + 8]
mov edx, esi
sub edx, ecx
push edx
lea edx, [ecx*8]
sub edx, ecx
lea eax, [eax + edx*8]
push eax
call fcn.00454820
mov eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 4], ecx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edx
xor ebx, ebx
test esi, esi
mov dword [esp + 0x3c], ebx
jle 0x45f878
fild dword [esp + 0x3c]
lea eax, [ebx + 1]
mov ecx, dword [ebp + 0x248]
mov dword [esp + 0x10], eax
lea esi, [ebx*8]
fst qword [esp + 0x3c]
fmul qword [esp + 0x44]
sub esi, ebx
xor eax, eax
shl esi, 3
fadd qword [esp + 0x14]
mov dword [esi + ecx + 0x28], eax
mov dword [esi + ecx + 0x2c], eax
mov edx, dword [ebp + 0x248]
fstp qword [esp + 0x2c]
fild dword [esp + 0x10]
fst qword [esp + 0x7c]
fmul qword [esp + 0x44]
fadd qword [esp + 0x14]
fld qword [esp + 0x2c]
fstp qword [esi + edx + 0x10]
mov eax, dword [ebp + 0x248]
fst qword [esi + eax + 0x18]
mov ecx, dword [ebp + 0x22c]
mov al, byte [ecx + 0xa1]
test al, al
je 0x45f7a2
fstp st(0)
fld qword [esp + 0x1c]
fsub qword [esp + 0x14]
mov ecx, dword [ebp + 0x248]
mov edi, esi
add edi, ecx
fdiv qword [esp + 0x84]
fstp qword [esp + 0x74]
fld qword [0x586120]
fld qword [esp + 0x3c]
fmul qword [esp + 0x74]
fadd qword [esp + 0x14]
call sub.MSVCRT.dll__CIpow
fst qword [edi + 0x10]
fstp qword [esp + 0x2c]
fld qword [0x586120]
fld qword [esp + 0x7c]
fmul qword [esp + 0x74]
mov eax, dword [ebp + 0x248]
mov edi, esi
add edi, eax
fadd qword [esp + 0x14]
call sub.MSVCRT.dll__CIpow
fst qword [edi + 0x18]
fld st(0)
fadd qword [esp + 0x2c]
mov edx, dword [ebp + 0x248]
mov edi, dword [esp + 0x24]
test edi, edi
fmul qword [0x586030]
fstp qword [esi + edx + 0x20]
jle 0x45f825
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
test ebx, ebx
jne 0x45f7f2
fld qword [edx]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 1
jne 0x45f81c
fcom qword [edx]
fnstsw ax
test ah, 1
jne 0x45f81c
mov eax, dword [ebp + 0x248]
fld dword [ecx]
fadd qword [eax + 0x28]
fstp qword [eax + 0x28]
jmp 0x45f81c
jle 0x45f81c
fld qword [edx]
fcomp qword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x45f81c
fcom qword [edx]
fnstsw ax
test ah, 1
jne 0x45f81c
mov eax, dword [ebp + 0x248]
fld dword [ecx]
fadd qword [esi + eax + 0x28]
lea eax, [esi + eax + 0x28]
fstp qword [eax]
add edx, 8
add ecx, 4
dec edi
jne 0x45f7c8
mov ecx, dword [ebp + 0x248]
fstp st(0)
fld qword [esi + ecx + 0x28]
call sub.MSVCRT.dll__ftol
push eax
lea edx, [esp + 0x9c]
push 0x5c5034
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [ebp + 0x248]
add esp, 0xc
lea eax, [esp + 0x98]
push eax
lea ecx, [esi + ecx + 0x30]
call fcn.004ea8a0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
cmp ebx, eax
mov dword [esp + 0x3c], ebx
jl 0x45f6d2
mov esi, dword [esp + 0x54]
xor ebx, ebx
fld dword [0x588b40]
mov dword [ebp + 0x278], ebx
mov dword [ebp + 0x270], ebx
cmp esi, ebx
mov dword [ebp + 0x27c], ebx
mov dword [ebp + 0x274], ebx
jle 0x45f8c6
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
mov edx, esi
fld dword [eax]
fmul qword [ecx]
add ecx, 8
add eax, 4
dec edx
fadd qword [ebp + 0x270]
fstp qword [ebp + 0x270]
fadd dword [eax - 4]
jne 0x45f8aa
fcom qword [0x586028]
fnstsw ax
test ah, 0x41
jne 0x45f95f
fld st(0)
fdivr qword [ebp + 0x270]
cmp esi, ebx
fstp qword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x270], edx
mov dword [ebp + 0x274], eax
jle 0x45f949
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
mov edi, esi
fld dword [0x588b40]
fcomp dword [ecx]
xor esi, esi
fnstsw ax
test ah, 1
je 0x45f940
fld qword [edx]
fsub qword [esp + 0x2c]
inc esi
mov dword [esp + 0x38], esi
fld st(0)
fmul st(1)
fadd qword [ebp + 0x278]
fstp qword [ebp + 0x278]
fstp st(0)
fild dword [esp + 0x38]
fcomp dword [ecx]
fnstsw ax
test ah, 1
jne 0x45f916
add edx, 8
add ecx, 4
dec edi
jne 0x45f905
fsub qword [0x586028]
fdivr qword [ebp + 0x278]
fsqrt
fstp qword [ebp + 0x278]
jmp 0x45f961
fstp st(0)
mov dword [esp + 0x60], method.CObject.virtual_0
mov eax, dword [esp + 0x64]
mov byte [esp + 0x1a0], 2
test eax, eax
je 0x45f982
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x4c], method.CObject.virtual_0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1a0], 3
test eax, eax
je 0x45f9a8
mov ecx, eax
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp + 0x24c]
xor ebx, ebx
test eax, eax
jle 0x45fa42
xor edi, edi
mov edx, dword [ebp + 0x248]
fld qword [edi + edx + 0x28]
fcomp qword [0x58c448]
lea esi, [edi + edx]
fnstsw ax
test ah, 1
je 0x45f9f3
fld qword [esi + 0x28]
call sub.MSVCRT.dll__ftol
push eax
mov eax, dword [esi + 0x34]
push 0x5c5034
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x45f9fb
mov edx, dword [esi + 0x34]
mov eax, dword [edx]
mov byte [eax], 0
mov ecx, dword [ebp + 0x248]
fld qword [edi + ecx + 0x28]
fcomp qword [0x585c80]
lea ecx, [edi + ecx + 0x28]
fnstsw ax
test ah, 0x40
je 0x45fa30
mov edx, dword [ebp + 0x22c]
mov eax, dword [edx + 0x68]
test eax, eax
jne 0x45fa30
mov dword [ecx], 0x85ebc8a0
mov dword [ecx + 4], 0x7fe1ccf3
mov eax, dword [ebp + 0x24c]
inc ebx
add edi, 0x38
cmp ebx, eax
jl 0x45f9ba
mov ecx, dword [esp + 0x198]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret