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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d63de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [ecx + 0x80]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], ecx
je 0x4617fc
cmp dword [ecx + 0x88], esi
jle 0x4617fc
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov bx, word [eax + 0xc]
mov dword [esp + 0x74], esi
movsx ecx, word [edi + 0x86]
movsx edx, bx
imul edx, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x68], edx
fld dword [eax + 8]
mov al, byte [edi + 0x74]
mov dword [esp + 0xa8], esi
fstp qword [esp + 0x34]
test al, al
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], esi
je 0x461329
mov edi, dword [ebp + 0x10]
mov dx, word [edi]
movsx eax, dx
inc eax
imul eax, ecx
movsx ecx, word [edi + 2]
add eax, ecx
mov ecx, dword [ebp + 0xc]
inc edx
mov ecx, dword [ecx + 0x80]
lea eax, [eax + eax*2]
mov dword [esp + 0x28], edx
lea eax, [ecx + eax*8]
movsx ecx, word [edi + 4]
mov dword [esp + 0x10], eax
dec ecx
movsx eax, dx
cmp eax, ecx
jge 0x4617fc
mov ax, word [edi + 2]
mov ebx, dword [esp + 0x10]
movsx ecx, word [edi + 6]
mov dword [esp + 0x24], eax
sub ecx, 2
movsx eax, ax
cmp eax, ecx
mov byte [esp + 0xf], 0
jge 0x4612e6
movsx eax, word [esp + 0x2c]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 0xc]
movsx eax, word [ecx + 0x86]
mov ecx, ebx
lea eax, [eax + eax*2]
shl eax, 3
sub ecx, eax
cmp byte [ecx + 0x24], 9
jb 0x4612b7
cmp byte [ebx + 0xc], 9
jb 0x4612b7
cmp byte [ebx + 0x24], 9
jb 0x4612b7
cmp byte [ebx + 0x3c], 9
jb 0x4612b7
cmp byte [eax + ebx + 0x24], 9
jb 0x4612b7
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov al, byte [esp + 0xf]
test al, al
mov dword [esp + 0x4c], edx
lea esi, [ebx + 0x18]
je 0x4611f1
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push esi
call fcn.0045f490
test eax, eax
je 0x4612b7
jmp 0x461216
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
lea eax, [esp + 0x4c]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push esi
push edx
call fcn.0045ecd0
test eax, eax
je 0x4612bc
mov byte [esp + 0xf], 1
lea ecx, [esp + 0x44]
lea edx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push esi
mov dword [esp + 0x28], eax
call fcn.00460300
test al, al
je 0x4612bc
fld qword [esp + 0x44]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x4612bc
fld qword [esp + 0x44]
fdiv qword [esp + 0x34]
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x54]
push edx
push 1
mov eax, dword [ecx + 4]
push eax
fsubr qword [0x4e1438]
fstp qword [esp + 0x60]
call fcn.00429850
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x5c]
push edx
push 1
mov eax, dword [ecx + 4]
mov byte [esp + 0xb0], 1
push eax
call fcn.00472f60
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x6c]
push eax
push 1
mov edx, dword [ecx + 4]
mov byte [esp + 0xb0], 0
push edx
call fcn.00472f60
jmp 0x4612bc
mov byte [esp + 0xf], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
add eax, ecx
movsx ecx, word [edi + 6]
movsx edx, ax
sub ecx, 2
add ebx, esi
cmp edx, ecx
mov dword [esp + 0x24], eax
jl 0x461171
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], edx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
movsx ecx, word [edi + 4]
mov dword [esp + 0x10], eax
dec ecx
movsx eax, dx
cmp eax, ecx
jl 0x46113f
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ax, word [esi]
movsx edi, ax
inc edi
imul edi, ecx
movsx ecx, word [esi + 2]
add edi, ecx
mov ecx, dword [edx + 0x80]
shl edi, 4
add edi, ecx
inc eax
movsx ecx, word [esi + 4]
movsx edx, ax
dec ecx
mov dword [esp + 0x30], edi
cmp edx, ecx
mov dword [esp + 0x28], eax
jge 0x4617fc
mov cx, word [esi + 2]
mov dword [esp + 0x40], edi
movsx edx, word [esi + 6]
mov dword [esp + 0x24], ecx
sub edx, 2
movsx ecx, cx
cmp ecx, edx
mov byte [esp + 0xf], 0
jge 0x4617d9
mov edx, dword [ebp + 0xc]
mov ecx, edi
movsx eax, word [edx + 0x86]
shl eax, 4
sub ecx, eax
cmp byte [ecx + 0x1c], 9
jb 0x46179d
cmp byte [edi + 0xc], 9
jb 0x46179d
cmp byte [edi + 0x1c], 9
jb 0x46179d
cmp byte [edi + 0x2c], 9
jb 0x46179d
cmp byte [eax + edi + 0x1c], 9
jb 0x46179d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0xf]
test al, al
mov dword [esp + 0x50], ecx
lea esi, [edi + 0x10]
je 0x461403
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
push edx
push eax
push esi
call fcn.0045f490
test eax, eax
je 0x46179d
jmp 0x461428
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push esi
push eax
call fcn.0045ecd0
test eax, eax
je 0x4617a2
mov byte [esp + 0xf], 1
lea ecx, [esp + 0x44]
lea edx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push esi
mov dword [esp + 0x28], eax
call fcn.00460300
test al, al
je 0x4617a2
fld qword [esp + 0x44]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x4617a2
fld qword [esp + 0x44]
fdiv qword [esp + 0x34]
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x54]
push edx
push 1
mov eax, dword [ecx + 4]
push eax
fsubr qword [0x4e1438]
fstp qword [esp + 0x60]
call fcn.00429850
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ebx, dword [ebp + 0x1c]
mov eax, 0x2aaaaaab
mov byte [esp + 0xa8], 2
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x461583
mov ecx, ebx
call fcn.00426d40
cmp eax, 1
mov dword [esp + 0x10], eax
mov edi, 1
jb 0x4614d8
mov edi, eax
add edi, eax
lea ebx, [edi + edi*2]
shl ebx, 2
lea ecx, [ebx + 4]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
mov byte [esp + 0xa8], 3
je 0x46151e
push fcn.004011f0
mov dword [eax], edi
push fcn.00426a10
add eax, 4
push edi
push 0xc
push eax
mov dword [esp + 0x28], eax
call fcn.004ce784
mov edi, dword [esp + 0x14]
jmp 0x461520
xor edi, edi
mov edx, dword [ebp + 0x1c]
push edi
push esi
mov byte [esp + 0xb0], 2
mov eax, dword [edx]
push eax
call fcn.00475410
lea ecx, [esp + 0x68]
mov dword [esp + 0x20], eax
push ecx
push 1
push eax
call fcn.00474f80
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x1c]
add edx, 0xc
mov ecx, dword [eax + 4]
push edx
push ecx
push esi
call fcn.00475410
mov esi, dword [ebp + 0x1c]
add esp, 0x24
mov ecx, esi
call fcn.00426a60
mov eax, dword [esp + 0x10]
add ebx, edi
mov dword [esi], edi
mov dword [esi + 8], ebx
lea edx, [eax + eax*2 + 3]
lea eax, [edi + edx*4]
mov edi, dword [esp + 0x40]
mov dword [esi + 4], eax
jmp 0x4615d2
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
jae 0x4615ae
lea edx, [esi + 0xc]
push edx
push esi
push esi
call fcn.00475410
lea eax, [esp + 0x68]
push eax
jmp 0x4615be
lea ecx, [esi + 0xc]
push ecx
push esi
push esi
call fcn.00475450
lea edx, [esp + 0x68]
push edx
push 1
push esi
call fcn.00474f80
mov eax, dword [ebx + 4]
add esp, 0x18
add eax, 0xc
mov dword [ebx + 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, 0x2aaaaaab
mov byte [esp + 0xa8], 0
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 8]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x461738
mov eax, dword [ebx]
test eax, eax
jne 0x46160f
mov dword [esp + 0x10], eax
mov edi, 1
jmp 0x461637
mov ecx, esi
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
mov dword [esp + 0x10], edx
jae 0x461633
mov edi, 1
jmp 0x461637
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
add edi, edx
lea eax, [edi + edi*2]
shl eax, 2
mov dword [esp + 0x54], eax
add eax, 4
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
mov byte [esp + 0xa8], 4
je 0x461689
push fcn.004011f0
mov dword [eax], edi
push fcn.00426a10
add eax, 4
push edi
push 0xc
push eax
mov dword [esp + 0x28], eax
call fcn.004ce784
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x461691
mov dword [esp + 0x14], 0
mov edi, dword [ebx]
mov ecx, dword [esp + 0x14]
cmp edi, esi
mov byte [esp + 0xa8], 0
mov dword [esp + 0x20], ecx
je 0x4616c8
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x7c]
push edi
push edx
call fcn.004051b0
mov ecx, dword [esp + 0x20]
add edi, 0xc
add ecx, 0xc
cmp edi, esi
mov dword [esp + 0x20], ecx
jne 0x4616a7
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004051b0
mov eax, dword [ebx + 4]
cmp esi, eax
mov dword [esp + 0x78], eax
je 0x46170e
mov edx, dword [esp + 0x20]
lea edi, [edx + 0xc]
lea eax, [esp + 0x94]
push esi
push eax
mov ecx, edi
call fcn.004051b0
mov eax, dword [esp + 0x78]
add esi, 0xc
add edi, 0xc
cmp esi, eax
jne 0x4616f0
mov ecx, ebx
call fcn.00426a60
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
mov dword [ebx], eax
lea ecx, [ecx + ecx*2 + 3]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x54]
add ecx, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
jmp 0x4617a2
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x461777
lea ecx, [esi + 0xc]
push ecx
push esi
push esi
call fcn.00475410
lea edx, [esp + 0x78]
push edx
push 1
push esi
call fcn.00474f80
mov eax, dword [ebx + 4]
add esp, 0x18
add eax, 0xc
mov dword [ebx + 4], eax
jmp 0x4617a2
lea eax, [esi + 0xc]
push eax
push esi
push esi
call fcn.00475450
lea ecx, [esp + 0x78]
push ecx
push 1
push esi
call fcn.00474f80
mov eax, dword [ebx + 4]
add esp, 0x18
add eax, 0xc
mov dword [ebx + 4], eax
jmp 0x4617a2
mov byte [esp + 0xf], 0
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x24]
movsx edx, word [esi + 6]
movsx eax, bx
shl eax, 4
add ecx, ebx
add edi, eax
movsx eax, cx
sub edx, 2
mov dword [esp + 0x24], ecx
cmp eax, edx
mov dword [esp + 0x40], edi
jl 0x461386
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
add eax, ebx
movsx edx, word [esi + 4]
shl ecx, 4
add edi, ecx
dec edx
movsx ecx, ax
cmp ecx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edi
jl 0x461363
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c