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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d643e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
mov eax, dword [ecx + 0x80]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [esp + 0x1c], ecx
je 0x461f56
cmp dword [ecx + 0x88], esi
jle 0x461f56
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov di, word [eax + 0xc]
mov dword [esp + 0x48], esi
movsx ecx, word [ebx + 0x86]
movsx edx, di
imul edx, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x70], edx
fld dword [eax + 8]
mov al, byte [ebx + 0x74]
mov dword [esp + 0xe0], esi
fstp qword [esp + 0x34]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0x10]
test al, al
je 0x461b68
mov dx, word [esi]
movsx eax, dx
inc eax
imul eax, ecx
movsx ecx, word [esi + 2]
add eax, ecx
mov ecx, dword [ebx + 0x80]
inc edx
lea eax, [eax + eax*2]
mov dword [esp + 0x20], edx
lea eax, [ecx + eax*8]
movsx ecx, word [esi + 4]
mov dword [esp + 0x18], eax
dec ecx
movsx eax, dx
cmp eax, ecx
jge 0x461f56
mov ebx, dword [ebp + 0x20]
mov ax, word [esi + 2]
mov edi, dword [esp + 0x18]
movsx ecx, word [esi + 6]
mov dword [esp + 0x24], eax
sub ecx, 2
movsx eax, ax
cmp eax, ecx
mov byte [esp + 0x13], 0
jge 0x461b25
movsx eax, word [esp + 0x28]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 0xc]
movsx eax, word [ecx + 0x86]
mov ecx, edi
lea eax, [eax + eax*2]
shl eax, 3
sub ecx, eax
cmp byte [ecx + 0x24], 9
jb 0x461af3
cmp byte [edi + 0xc], 9
jb 0x461af3
cmp byte [edi + 0x24], 9
jb 0x461af3
cmp byte [edi + 0x3c], 9
jb 0x461af3
cmp byte [eax + edi + 0x24], 9
jb 0x461af3
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov al, byte [esp + 0x13]
test al, al
mov dword [esp + 0x4c], edx
lea esi, [edi + 0x18]
je 0x4619a1
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push esi
call fcn.0045f490
test eax, eax
je 0x461af3
jmp 0x4619c6
mov ecx, dword [esp + 0x14]
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 0x461af8
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push esi
mov dword [esp + 0x24], eax
call fcn.00460300
test al, al
je 0x461af8
fld qword [esp + 0x5c]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x461af8
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x30], 2
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
lea eax, [esp + 0x78]
lea ecx, [esp + 0x90]
push eax
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0xe8], 1
call fcn.004051f0
lea edx, [esp + 0x30]
mov byte [esp + 0xe0], 2
push edx
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.004736b0
add esp, 0xc
lea ecx, [esp + 0xa8]
push eax
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0xe8], 3
call fcn.004051b0
fld qword [esp + 0x5c]
fdiv qword [esp + 0x34]
mov eax, dword [ebx + 4]
lea edx, [esp + 0x64]
push edx
push 1
push eax
mov ecx, ebx
mov byte [esp + 0xec], 0
fsubr qword [0x4e1438]
fstp qword [esp + 0x70]
call fcn.00429850
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x84]
push edx
push 1
mov eax, dword [ecx + 4]
mov byte [esp + 0xe8], 4
push eax
call fcn.00472f60
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x40]
push eax
push 1
mov edx, dword [ecx + 4]
mov byte [esp + 0xe8], 0
push edx
call fcn.00472f60
jmp 0x461af8
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add edi, esi
mov esi, dword [ebp + 0x10]
add eax, ecx
movsx edx, ax
movsx ecx, word [esi + 6]
sub ecx, 2
mov dword [esp + 0x24], eax
cmp edx, ecx
jl 0x461921
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x70]
add edx, ecx
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*2]
mov dword [esp + 0x20], edx
lea eax, [ecx + eax*8]
movsx ecx, word [esi + 4]
mov dword [esp + 0x18], eax
dec ecx
movsx eax, dx
cmp eax, ecx
jl 0x4618ef
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ax, word [esi]
mov edx, dword [ebp + 0xc]
movsx ebx, ax
inc ebx
imul ebx, ecx
movsx ecx, word [esi + 2]
add ebx, ecx
mov ecx, dword [edx + 0x80]
shl ebx, 4
add ebx, ecx
inc eax
movsx ecx, word [esi + 4]
movsx edx, ax
dec ecx
mov dword [esp + 0x30], ebx
cmp edx, ecx
mov dword [esp + 0x20], eax
jge 0x461f56
mov cx, word [esi + 2]
mov dword [esp + 0x2c], ebx
movsx edx, word [esi + 6]
mov dword [esp + 0x24], ecx
sub edx, 2
movsx ecx, cx
cmp ecx, edx
mov byte [esp + 0x13], 0
jge 0x461f33
mov edx, dword [ebp + 0xc]
mov ecx, ebx
movsx eax, word [edx + 0x86]
shl eax, 4
sub ecx, eax
cmp byte [ecx + 0x1c], 9
jb 0x461ef7
cmp byte [ebx + 0xc], 9
jb 0x461ef7
cmp byte [ebx + 0x1c], 9
jb 0x461ef7
cmp byte [ebx + 0x2c], 9
jb 0x461ef7
cmp byte [eax + ebx + 0x1c], 9
jb 0x461ef7
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x13]
test al, al
mov dword [esp + 0x50], ecx
lea esi, [ebx + 0x10]
je 0x461c3f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
push edx
push eax
push esi
call fcn.0045f490
test eax, eax
je 0x461ef7
jmp 0x461c64
mov edx, dword [esp + 0x14]
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 0x461efc
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push esi
mov dword [esp + 0x24], eax
call fcn.00460300
test al, al
je 0x461efc
fld qword [esp + 0x5c]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x461efc
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
lea eax, [esp + 0x84]
lea ecx, [esp + 0xa8]
push eax
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0xe8], 5
call fcn.004051f0
lea edx, [esp + 0x9c]
push eax
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xe8], 6
call fcn.004051b0
fld qword [esp + 0x5c]
fdiv qword [esp + 0x34]
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x64]
push edx
push 1
mov eax, dword [ecx + 4]
mov byte [esp + 0xe8], 0
push eax
fsubr qword [0x4e1438]
fstp qword [esp + 0x70]
call fcn.00429850
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x78]
push edx
push 1
mov eax, dword [ecx + 4]
mov byte [esp + 0xe8], 7
push eax
call fcn.00472f60
mov edi, dword [ebp + 0x18]
mov eax, 0x2aaaaaab
mov byte [esp + 0xe0], 0
mov esi, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x461e96
mov edi, dword [edi]
xor ebx, ebx
cmp edi, ebx
jne 0x461d8e
mov dword [esp + 0x18], ebx
mov edi, 1
jmp 0x461db6
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
mov dword [esp + 0x18], edx
jae 0x461db2
mov edi, 1
jmp 0x461db6
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
add edi, edx
lea eax, [edi + edi*2]
shl eax, 2
mov dword [esp + 0x64], eax
add eax, 4
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x74], eax
cmp eax, ebx
mov byte [esp + 0xe0], 8
je 0x461dfa
push fcn.004011f0
push fcn.00426a10
lea ebx, [eax + 4]
push edi
push 0xc
push ebx
mov dword [eax], edi
call fcn.004ce784
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x58], ebx
mov byte [esp + 0xe0], 0
mov edi, dword [eax]
cmp edi, esi
je 0x461e29
lea ecx, [esp + 0x90]
push edi
push ecx
mov ecx, ebx
call fcn.004051b0
add edi, 0xc
add ebx, 0xc
cmp edi, esi
jne 0x461e0f
lea edx, [esp + 0x40]
lea eax, [esp + 0xb4]
push edx
push eax
mov ecx, ebx
call fcn.004051b0
mov edi, dword [ebp + 0x18]
mov eax, dword [edi + 4]
cmp esi, eax
mov dword [esp + 0x74], eax
je 0x461e6c
add ebx, 0xc
lea ecx, [esp + 0xc0]
push esi
push ecx
mov ecx, ebx
call fcn.004051b0
mov eax, dword [esp + 0x74]
add esi, 0xc
add ebx, 0xc
cmp esi, eax
jne 0x461e4e
mov ecx, edi
call fcn.00426a60
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x2c]
mov dword [edi], eax
lea edx, [ecx + ecx*2 + 3]
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x64]
add edx, eax
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
jmp 0x461efc
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
lea ecx, [esi + 0xc]
shr eax, 0x1f
add edx, eax
push ecx
cmp edx, 1
push esi
push esi
jae 0x461ed7
call fcn.00475410
add esp, 0xc
lea edx, [esp + 0x40]
lea eax, [esp + 0xcc]
mov ecx, esi
push edx
push eax
call fcn.004051b0
add dword [edi + 4], 0xc
jmp 0x461efc
call fcn.00475450
lea edx, [esp + 0x4c]
push edx
push 1
push esi
call fcn.00474f80
mov eax, dword [edi + 4]
add esp, 0x18
add eax, 0xc
mov dword [edi + 4], eax
jmp 0x461efc
mov byte [esp + 0x13], 0
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov esi, dword [ebp + 0x10]
add ecx, edi
movsx eax, di
shl eax, 4
add ebx, eax
mov dword [esp + 0x24], ecx
movsx eax, word [esi + 6]
movsx ecx, cx
sub eax, 2
mov dword [esp + 0x2c], ebx
cmp ecx, eax
jl 0x461bc2
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x70]
add eax, edi
movsx ecx, word [esi + 4]
shl edx, 4
add ebx, edx
dec ecx
movsx edx, ax
cmp edx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ebx
jl 0x461b9f
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c