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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d9a22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x238]
xor edi, edi
cmp eax, edi
je 0x48d18c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x1e4]
cmp ecx, eax
jge 0x48d18c
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
fld dword [ebx + 0x1ec]
mov dword [esp + 0x238], edi
mov dword [esp + 0x18], edi
fst qword [esp + 0x34]
fld dword [ebx + 0x1ec]
fstp qword [esp + 0x84]
fld dword [ebx + 0x1ec]
fstp qword [esp + 0x7c]
fst dword [esp + 0x1c]
fst dword [esp + 0x20]
fstp dword [esp + 0x24]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], edi
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x140]
push edx
mov byte [esp + 0x23c], 2
call fcn.00405130
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14c]
push eax
mov byte [esp + 0x23c], 3
call fcn.00405130
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov byte [esp + 0x6c], 0xa
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], edi
mov byte [esp + 0x114], 0xa
mov eax, dword [ebx + 0x1e4]
mov byte [esp + 0x238], 8
mov dword [esp + 0x78], edi
mov byte [esp + 0x13], 0
lea eax, [eax + eax*4]
mov byte [esp + 0x12], 0
shl eax, 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::BeginWaitCursor
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x28], 0xeb1c432d
mov dword [esp + 0x2c], 0x3f1a36e2
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x20], edi
call fcn.0048b710
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x118], edi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x120], edi
mov byte [esp + 0x124], 0xa
mov eax, dword [ebx + 0x10]
mov byte [esp + 0x238], 0xa
cmp eax, edi
je 0x48c962
mov esi, dword [ebx + 0x14]
sub esi, eax
sar esi, 2
cmp esi, 1
jb 0x48c962
lea ecx, [esp + 0x54]
call fcn.00471c00
mov edi, esi
shl edi, 4
lea ecx, [edi + 4]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x238], 0xb
je 0x48c932
push fcn.004011f0
mov dword [eax], esi
push fcn.00427d20
add eax, 4
push esi
push 0x10
push eax
mov dword [esp + 0x44], eax
call fcn.004ce784
mov eax, dword [esp + 0x30]
jmp 0x48c934
xor eax, eax
lea edx, [esp + 0x118]
mov byte [esp + 0x238], 0xa
push edx
push esi
push eax
mov dword [esp + 0x60], eax
call fcn.00474f10
mov eax, dword [esp + 0x60]
add esp, 0xc
add edi, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
xor edi, edi
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
cmp esi, eax
mov byte [esp + 0x238], 9
je 0x48c9a1
mov eax, dword [esi]
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], eax
push eax
mov eax, dword [esp + 0x5c]
push eax
call fcn.004728a0
mov eax, dword [ebx + 0x14]
add esi, 4
cmp esi, eax
jne 0x48c974
jmp 0x48c9a1
fmul qword [0x4e19a8]
fstp qword [esp + 0x34]
xor edi, edi
fld qword [esp + 0x34]
mov dword [esp + 0x3c], edi
fst dword [esp + 0x128]
fst dword [esp + 0x12c]
fstp dword [esp + 0x130]
lea ecx, [esp + 0x128]
lea edx, [esp + 0x1b8]
push ecx
push edx
lea ecx, [esp + 0x154]
mov byte [esp + 0x240], 0xc
call fcn.004051b0
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
mov byte [esp + 0x238], 9
mov dword [esp + 0x30], ecx
je 0x48ce0a
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
cmp byte [eax + 0xc], 9
jb 0x48cdf8
push eax
lea eax, [esp + 0x1b0]
push eax
lea ecx, [esp + 0x148]
call fcn.004051b0
lea eax, [esp + 0x48]
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [esp + 0x3c]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x14c]
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [edx + 0x3c]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
push ecx
push 1
push edx
lea ecx, [esp + 0x54]
call fcn.0043f580
mov edx, dword [esp + 0x48]
test edx, edx
jne 0x48ca66
xor esi, esi
jmp 0x48ca6f
mov esi, dword [esp + 0x4c]
sub esi, edx
sar esi, 2
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
test edx, edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x40], edx
je 0x48cf56
cmp esi, 4
jl 0x48cf56
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xc8]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0x158], eax
rep stosd dword es:[edi], eax
fld qword [0x4e00c0]
mov ecx, 0x10
lea edi, [esp + 0x160]
mov dword [esp + 0x15c], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0xb0], eax
mov ecx, edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
test esi, esi
mov dword [esp + 0xbc], eax
jle 0x48cb38
fld qword [esp + 0xb8]
fld qword [esp + 0xb0]
mov edx, esi
mov eax, dword [ecx]
add ecx, 4
dec edx
fld dword [eax]
faddp st(3)
fadd dword [eax + 4]
fld dword [eax + 8]
faddp st(2)
jne 0x48cb16
fstp qword [esp + 0xb0]
fstp qword [esp + 0xb8]
fild dword [esp + 0x14]
fld qword [esp + 0xb8]
lea ecx, [esp + 0x14]
lea edx, [esp + 0xa4]
fdiv st(1)
push ecx
lea eax, [esp + 0xa4]
push edx
push eax
lea ecx, [esp + 0x1d0]
fstp dword [esp + 0x20]
fld qword [esp + 0xbc]
fdiv st(1)
fstp dword [esp + 0xb0]
fxch st(1)
fdiv st(1)
fstp dword [esp + 0xac]
fstp st(0)
call fcn.00405110
lea ecx, [esp + 0x220]
push eax
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x240], 0xd
call fcn.00471f20
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x238], 9
test esi, esi
jle 0x48cc69
mov eax, dword [ecx]
add ecx, 4
dec esi
fld dword [eax]
fsub dword [esp + 0x60]
fld st(0)
fmul st(1)
fadd qword [esp + 0xc0]
fstp qword [esp + 0xc0]
fstp st(0)
fld dword [eax + 4]
fsub dword [esp + 0x64]
fld st(0)
fmul st(1)
fadd qword [esp + 0xe0]
fstp qword [esp + 0xe0]
fstp st(0)
fld dword [eax + 8]
fsub dword [esp + 0x68]
fld st(0)
fmul st(1)
fadd qword [esp + 0x100]
fstp qword [esp + 0x100]
fstp st(0)
fld dword [eax]
fsub dword [esp + 0x60]
fld dword [eax + 4]
fsub dword [esp + 0x64]
fmulp st(1)
fadd qword [esp + 0xc8]
fstp qword [esp + 0xc8]
fld dword [eax + 8]
fsub dword [esp + 0x68]
fld dword [eax]
fsub dword [esp + 0x60]
fmulp st(1)
fadd qword [esp + 0xd0]
fstp qword [esp + 0xd0]
fld dword [eax + 8]
fsub dword [esp + 0x68]
fld dword [eax + 4]
fsub dword [esp + 0x64]
fmulp st(1)
fadd qword [esp + 0xe8]
fstp qword [esp + 0xe8]
jne 0x48cbb5
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xf4], edx
lea edx, [esp + 0x158]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0xec]
push edx
lea eax, [esp + 0xc4]
push 3
push eax
mov dword [esp + 0x108], ecx
call fcn.00475860
fcomp qword [esp + 0x98]
add esp, 0xc
fnstsw ax
test ah, 1
jne 0x48cf52
fld qword [esp + 0x198]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x74]
fstp dword [esp + 0x40]
fld qword [esp + 0x180]
push ecx
lea eax, [esp + 0x20]
fstp dword [esp + 0x78]
fld qword [esp + 0x16c]
push edx
push eax
fstp dword [esp + 0x28]
lea ecx, [esp + 0x1ac]
call fcn.00405110
lea ecx, [esp + 0x1f0]
push eax
push ecx
lea ecx, [esp + 0x110]
mov byte [esp + 0x240], 0xe
call fcn.00471f20
lea ecx, [esp + 0x108]
mov byte [esp + 0x238], 9
call fcn.00405150
push 0x1c
call sub.MFC42.DLL_operatornew
xor edi, edi
add esp, 4
cmp eax, edi
je 0x48cd82
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax], 0x4e56dc
mov esi, eax
jmp 0x48cd84
xor esi, esi
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x140]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov edx, dword [esi]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call dword [edx + 0x10]
mov eax, 4
mov edx, dword [esi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x74], eax
lea eax, [ebp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x50], 1
call dword [edx + 0x20]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x38]
cmp esi, edi
je 0x48cde8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x14]
add ecx, 4
cmp ecx, eax
mov dword [esp + 0x30], ecx
jne 0x48c9fc
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp eax, ecx
je 0x48ce33
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
cmp byte [ecx + 0xc], 8
jne 0x48ce25
inc edi
mov byte [ecx + 0xc], 0xa
mov ecx, dword [ebx + 0x14]
add eax, 4
cmp eax, ecx
jne 0x48ce14
mov dword [esp + 0x3c], edi
mov ecx, dword [ebp + 8]
mov edx, edi
mov eax, 0x66666667
mov ecx, dword [ecx]
sub edx, ecx
mov dword [esp + 0x1c], edx
imul ecx
fild dword [esp + 0x1c]
fabs
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 1
je 0x48d0e4
mov eax, 0x51eb851f
imul ecx
sar edx, 6
mov eax, dword [esp + 0x78]
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x1c], edx
mov edx, edi
fild dword [esp + 0x1c]
sub edx, eax
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fabs
fcomp st(1)
fnstsw ax
test ah, 1
je 0x48cea4
inc dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fabs
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x48cec5
inc dword [esp + 0x44]
cmp dword [esp + 0x44], 6
jge 0x48d115
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov edi, dword [esp + 0x54]
cmp esi, eax
je 0x48ceff
mov ecx, dword [esi]
lea edx, [esp + 0x1d0]
push edi
push edx
mov dword [esp + 0x20], ecx
call fcn.00429700
mov eax, dword [ebx + 0x14]
add esi, 4
add edi, 0x10
cmp esi, eax
jne 0x48cede
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x3c]
mov ecx, dword [eax]
mov eax, 0x66666667
lea edx, [ecx + ecx*8]
lea edx, [ecx + edx*2]
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jge 0x48d03d
cmp esi, dword [esp + 0x78]
jl 0x48d02f
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], esi
mov byte [esp + 0x13], 1
jmp 0x48d03d
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
lea ecx, [esp + 0x134]
lea edx, [esp + 0x210]
push ecx
push edx
lea ecx, [esp + 0x68]
mov byte [esp + 0x240], 0xf
call fcn.00471f20
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
cmp esi, eax
mov byte [esp + 0x238], 9
je 0x48cfd3
mov eax, dword [esi]
lea ecx, [esp + 0x60]
push eax
mov byte [eax + 0xc], 6
lea eax, [esp + 0x11c]
push eax
call fcn.00405270
mov eax, dword [esp + 0x4c]
add esi, 4
cmp esi, eax
jne 0x48cfac
mov esi, dword [esp + 0x48]
test esi, esi
jne 0x48cfdd
mov dword [esp + 0x14], esi
jmp 0x48cfe6
sub eax, esi
sar eax, 2
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x1e4]
push edx
push eax
call fcn.0049fdf0
add esp, 0xc
lea ecx, [esp + 0x200]
push eax
push ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x240], 0x10
call fcn.00429700
mov edx, dword [esp + 0x18]
mov byte [esp + 0x238], 9
mov byte [edx + 0xc], 8
jmp 0x48cdec
fld qword [esp + 0x7c]
fmul qword [0x4e19a8]
fstp qword [esp + 0x7c]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jle 0x48d095
cmp esi, dword [esp + 0x70]
jg 0x48d085
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x70], esi
mov byte [esp + 0x12], 1
jmp 0x48d09d
fld qword [esp + 0x84]
fadd st(0), st(0)
fstp qword [esp + 0x84]
mov al, byte [esp + 0x12]
test al, al
je 0x48d0cf
mov al, byte [esp + 0x13]
test al, al
je 0x48d0b5
fld qword [esp + 0x7c]
fadd qword [esp + 0x84]
jmp 0x48c995
mov al, byte [esp + 0x12]
test al, al
je 0x48c99f
fld qword [esp + 0x84]
fadd st(0), st(0)
jmp 0x48c99b
mov al, byte [esp + 0x13]
test al, al
je 0x48c99f
fld qword [esp + 0x7c]
jmp 0x48c995
mov ecx, dword [ebx + 0x10]
xor esi, esi
cmp ecx, esi
jne 0x48d0f1
xor eax, eax
jmp 0x48d0f9
mov eax, dword [ebx + 0x14]
sub eax, ecx
sar eax, 2
fld qword [esp + 0x34]
sub edi, eax
mov eax, dword [ebx + 0x1e4]
fstp dword [ebx + 0x1ec]
add eax, edi
mov dword [ebx + 0x1e4], eax
jmp 0x48d144
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x48d120
xor eax, eax
jmp 0x48d128
mov eax, dword [ebx + 0x14]
sub eax, ecx
sar eax, 2
fld qword [esp + 0x34]
sub edi, eax
mov eax, dword [ebx + 0x1e4]
fstp dword [ebx + 0x1ec]
add eax, edi
xor esi, esi
mov dword [ebx + 0x1e4], eax
mov ecx, ebx
call fcn.0048b7b0
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::EndWaitCursor
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x238], 8
cmp ecx, esi
je 0x48d17b
push 3
call fcn.00427d40
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x48d18c
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x230]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10