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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d7073
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x80], edi
je 0x46f616
mov al, byte [esi + 0x79]
test al, al
je 0x46f616
mov cx, word [esi + 0xea]
mov ax, word [esi + 0xe8]
push ebx
lea edx, [esi + 0xec]
push ebp
mov word [esp + 0x1a], cx
push edx
lea ecx, [esp + 0x20]
mov word [esp + 0x1c], ax
call fcn.00427b90
mov eax, 0xffffd8f0
lea ecx, [esp + 0x60]
mov word [esp + 0x20], ax
mov word [esp + 0x22], ax
mov eax, 0x2710
mov dword [esp + 0x120], edi
mov word [esp + 0x5c], ax
mov word [esp + 0x5e], ax
lea eax, [esp + 0x20]
push eax
call fcn.00427b90
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esi + 0xe8], ecx
mov dword [esi + 0xec], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov ebp, dword [esi + 0xf0]
mov byte [esp + 0x120], 1
cmp ebp, 1
jb 0x46ed1f
lea ecx, [esp + 0x34]
call fcn.00426aa0
lea ebx, [ebp*4]
push ebx
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
test ebp, ebp
mov dword [esp + 0x34], edi
jbe 0x46ed15
mov ecx, ebp
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x34]
add ebx, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x12c]
inc eax
inc ecx
imul eax, ecx
shl eax, 3
push eax
call sub.MFC42.DLL_operatornew
xor edi, edi
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esi + 0xf0], edi
mov byte [esi + 0x79], 0
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov byte [esp + 0x74], 0xa
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], edi
mov byte [esp + 0xc0], 0xa
push fcn.004011f0
push fcn.00426a10
push 3
lea edx, [esp + 0x84]
push 0xc
push edx
mov byte [esp + 0x134], 3
call fcn.004ce784
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov al, byte [esi + 0x74]
mov byte [esp + 0x120], 5
test al, al
je 0x46f1c2
mov cx, word [esp + 0x18]
mov edi, dword [esp + 0x18]
movsx eax, word [esi + 0x86]
movsx edx, cx
imul eax, edx
movsx edx, word [esp + 0x1a]
add eax, edx
mov edx, dword [esi + 0x80]
cmp cx, word [esp + 0x1c]
mov dword [esp + 0x24], edi
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
mov dword [esp + 0x10], eax
jg 0x46ef0c
mov ebx, dword [esp + 0x1a]
mov cx, bx
cmp cx, word [esp + 0x1e]
jg 0x46eee7
mov edx, dword [esp + 0x10]
lea ebp, [edx + 0xc]
mov al, byte [ebp]
cmp al, 9
jne 0x46ee55
lea eax, [esp + 0x5c]
mov byte [ebp], 0xa
mov ecx, dword [esp + 0x38]
push eax
push 1
lea edi, [ebp - 0xc]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], edi
call fcn.0043f580
lea edx, [esp + 0x9c]
push edi
push edx
lea ecx, [esp + 0x70]
call fcn.00405270
mov edi, dword [esp + 0x24]
jmp 0x46eed8
cmp al, 6
ja 0x46eed8
push ebx
lea eax, [esp + 0x1c]
push edi
lea ecx, [ebp - 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0046e510
test al, al
je 0x46eed8
mov byte [ebp], 9
mov edx, dword [esi + 0xf0]
mov ax, word [esi + 0xe8]
inc edx
cmp ax, di
mov dword [esi + 0xf0], edx
mov byte [esi + 0x79], 1
jl 0x46ee92
mov eax, edi
mov word [esi + 0xe8], ax
mov ax, word [esi + 0xea]
cmp ax, bx
jl 0x46eea7
mov eax, ebx
mov word [esi + 0xea], ax
mov ax, word [esi + 0xec]
cmp ax, di
jg 0x46eebc
mov eax, edi
mov word [esi + 0xec], ax
mov ax, word [esi + 0xee]
cmp ax, bx
jg 0x46eed1
mov eax, ebx
mov word [esi + 0xee], ax
inc ebx
add ebp, 0x18
cmp bx, word [esp + 0x1e]
jle 0x46ee13
movsx eax, word [esi + 0x86]
inc edi
cmp di, word [esp + 0x1c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], edi
lea ecx, [eax + edx*8]
mov dword [esp + 0x10], ecx
jle 0x46edfa
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x46ef1a
mov dword [esp + 0x14], eax
jmp 0x46ef27
mov edx, dword [esp + 0x38]
sub edx, eax
sar edx, 2
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.00474b30
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x134]
add esp, 0xc
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x74]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, esi
call fcn.0046f630
mov cx, word [esi + 0xe8]
movsx eax, word [esi + 0x86]
movsx edx, cx
imul eax, edx
movsx edx, word [esi + 0xea]
add eax, edx
mov edx, dword [esi + 0x80]
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
mov edx, ecx
cmp dx, word [esi + 0xec]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], edx
jg 0x46f5db
mov cx, word [esi + 0xea]
cmp cx, word [esi + 0xee]
mov dword [esp + 0x14], ecx
jg 0x46f196
mov edx, dword [esp + 0x10]
lea edi, [edx + 0xc]
mov al, byte [edi]
cmp al, 9
jne 0x46f17d
mov ecx, dword [edi - 0xc]
mov edx, dword [edi - 8]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi - 4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov byte [esp + 0x58], al
lea edx, [esp + 0x68]
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0xa0]
push eax
push ecx
mov byte [esp + 0x12c], 6
call fcn.0041a670
add esp, 0xc
lea edx, [esp + 0x5c]
push eax
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x128], 7
call fcn.004051b0
fld dword [esp + 0x84]
fmul dword [esp + 0x28]
fld dword [esp + 0x88]
fmul dword [esp + 0x2c]
mov edx, dword [esp + 0x12c]
mov byte [esp + 0x120], 5
faddp st(1)
fld dword [esp + 0x8c]
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x90]
fmul dword [esp + 0x28]
fld dword [esp + 0x94]
fmul dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x98]
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0046fc20
fstp dword [esp + 0x48]
lea edx, [esp + 0x78]
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0xd4]
push eax
push ecx
call fcn.00405860
mov ebp, eax
lea edx, [esp + 0x9c]
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0xf8]
push eax
push ecx
mov byte [esp + 0x138], 8
call fcn.00405860
mov ebx, eax
mov byte [esp + 0x138], 9
lea edx, [esp + 0x9c]
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0xf8]
push eax
push ecx
call fcn.00405860
add esp, 0x24
lea edx, [esp + 0xc4]
push ebx
push edx
mov ecx, eax
mov byte [esp + 0x128], 0xa
call fcn.004051f0
lea ecx, [esp + 0xf4]
push ebp
push ecx
mov ecx, eax
mov byte [esp + 0x128], 0xb
call fcn.004051f0
lea edx, [esp + 0x100]
push eax
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x128], 0xc
call fcn.004051b0
lea eax, [esp + 0x68]
lea ecx, [esp + 0xa8]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x128], 5
call fcn.00405270
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov dword [edi - 4], edx
inc ecx
add edi, 0x18
cmp cx, word [esi + 0xee]
mov dword [esp + 0x14], ecx
jle 0x46efc8
mov edx, dword [esp + 0x24]
movsx eax, word [esi + 0x86]
mov ecx, dword [esp + 0x10]
inc edx
cmp dx, word [esi + 0xec]
lea eax, [eax + eax*2]
mov dword [esp + 0x24], edx
lea eax, [ecx + eax*8]
mov dword [esp + 0x10], eax
jle 0x46efa9
jmp 0x46f5db
mov ax, word [esp + 0x18]
mov ebx, dword [esp + 0x18]
movsx ebp, word [esi + 0x86]
movsx ecx, ax
movsx edx, word [esp + 0x1a]
imul ebp, ecx
add ebp, edx
mov edx, dword [esi + 0x80]
shl ebp, 4
add ebp, edx
cmp ax, word [esp + 0x1c]
mov dword [esp + 0x10], edi
jg 0x46f303
mov edi, dword [esp + 0x1a]
mov ecx, ebp
mov ax, di
mov dword [esp + 0x10], ecx
cmp ax, word [esp + 0x1e]
jg 0x46f2eb
mov al, byte [ecx + 0xc]
cmp al, 9
jne 0x46f24c
mov byte [ecx + 0xc], 0xa
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push ecx
push 1
push edx
lea ecx, [esp + 0x40]
call fcn.0043f580
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xa8]
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.00405270
jmp 0x46f2d4
cmp al, 6
ja 0x46f2d4
push edi
lea edx, [esp + 0x1c]
push ebx
push edx
push ecx
mov ecx, esi
call fcn.0046e510
test al, al
je 0x46f2d4
mov eax, dword [esp + 0x10]
mov byte [eax + 0xc], 9
mov edx, dword [esi + 0xf0]
mov ax, word [esi + 0xe8]
inc edx
cmp ax, bx
mov dword [esi + 0xf0], edx
mov byte [esi + 0x79], 1
jl 0x46f28e
mov eax, ebx
mov word [esi + 0xe8], ax
mov ax, word [esi + 0xea]
cmp ax, di
jl 0x46f2a3
mov eax, edi
mov word [esi + 0xea], ax
mov ax, word [esi + 0xec]
cmp ax, bx
jg 0x46f2b8
mov eax, ebx
mov word [esi + 0xec], ax
mov ax, word [esi + 0xee]
cmp ax, di
jg 0x46f2cd
mov eax, edi
mov word [esi + 0xee], ax
mov ecx, dword [esp + 0x10]
inc edi
add ecx, 0x10
cmp di, word [esp + 0x1e]
mov dword [esp + 0x10], ecx
jle 0x46f211
movsx ecx, word [esi + 0x86]
shl ecx, 4
inc ebx
add ebp, ecx
cmp bx, word [esp + 0x1c]
jle 0x46f1f9
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x46f311
mov dword [esp + 0x14], eax
jmp 0x46f31e
mov edx, dword [esp + 0x38]
sub edx, eax
sar edx, 2
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.00474b30
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x134]
add esp, 0xc
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x74]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, esi
call fcn.0046f630
mov ax, word [esi + 0xe8]
movsx ecx, word [esi + 0x86]
movsx edx, ax
imul ecx, edx
movsx edx, word [esi + 0xea]
add ecx, edx
mov edx, dword [esi + 0x80]
shl ecx, 4
mov edi, eax
add ecx, edx
cmp di, word [esi + 0xec]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x24], edi
jg 0x46f5db
mov bl, 0x13
mov dx, word [esi + 0xea]
mov eax, ecx
cmp dx, word [esi + 0xee]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jg 0x46f5b9
cmp byte [eax + 0xc], 9
jne 0x46f59c
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov dl, byte [eax + 0xc]
mov byte [esp + 0x58], dl
lea eax, [esp + 0x68]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0xac]
push ecx
push edx
mov byte [esp + 0x12c], 0xd
call fcn.0041a670
add esp, 0xc
push eax
lea eax, [esp + 0x104]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x128], 0xe
call fcn.004051b0
fld dword [esp + 0x84]
fmul dword [esp + 0x28]
fld dword [esp + 0x88]
fmul dword [esp + 0x2c]
mov eax, dword [esp + 0x12c]
mov byte [esp + 0x120], 5
faddp st(1)
fld dword [esp + 0x8c]
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x90]
fmul dword [esp + 0x28]
fld dword [esp + 0x94]
fmul dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x98]
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x12c]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0046fc20
fstp dword [esp + 0x48]
lea eax, [esp + 0x78]
lea ecx, [esp + 0x48]
push eax
lea edx, [esp + 0xf8]
push ecx
push edx
call fcn.00405860
mov edi, eax
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x50]
push eax
lea edx, [esp + 0xd4]
push ecx
push edx
mov byte [esp + 0x138], 0xf
call fcn.00405860
mov ebp, eax
lea eax, [esp + 0x9c]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0xf8]
push ecx
push edx
mov byte [esp + 0x144], 0x10
call fcn.00405860
add esp, 0x24
lea ecx, [esp + 0xe8]
push ebp
push ecx
mov ecx, eax
mov byte [esp + 0x128], 0x11
call fcn.004051f0
lea edx, [esp + 0xd0]
push edi
push edx
mov ecx, eax
mov byte [esp + 0x128], 0x12
call fcn.004051f0
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x128], bl
call fcn.004051b0
lea ecx, [esp + 0x68]
lea edx, [esp + 0x10c]
push ecx
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x128], 5
call fcn.00405270
fld dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
fstp dword [eax + 8]
mov eax, dword [esp + 0x10]
inc edx
add eax, 0x10
cmp dx, word [esi + 0xee]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
jle 0x46f3bf
mov edi, dword [esp + 0x24]
movsx edx, word [esi + 0x86]
shl edx, 4
inc edi
add ecx, edx
cmp di, word [esi + 0xec]
mov dword [esp + 0x24], edi
mov dword [esp + 0x5c], ecx
jle 0x46f3a1
mov eax, dword [esp + 0x20]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0x120], 3
push fcn.004011f0
push 3
push 0xc
push ecx
call fcn.004ce690
mov eax, dword [esp + 0x34]
pop ebp
test eax, eax
pop ebx
je 0x46f616
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x110]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret 8