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

Disassembly:
push 0xffffffffffffffff
push 0x4a5ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, 0x7fff
push ebx
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
push ebp
mov eax, 0xffff8001
push esi
push edi
mov word [esp + 0x20], ax
mov word [esp + 0x22], ax
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov byte [esp + 0x13], bl
mov byte [esp + 0x12], bl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x2e], bx
mov word [esp + 0x30], bx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x90]
mov byte [esp + 0x80], 1
test byte [ebp + 8], 1
je 0x46566b
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.0043d1f0
mov ecx, dword [0x4dbeb0]
mov byte [esp + 0x80], 2
push ecx
push ecx
mov ecx, dword [0x4dbf80]
push 1
push ebx
push ecx
mov ecx, eax
call fcn.00438470
mov ecx, dword [0x4dbf80]
mov eax, dword [0x4dbea0]
push eax
mov byte [esp + 0x84], 1
mov edx, dword [ecx]
call dword [edx + 8]
mov ax, word [ebp + 6]
mov cl, al
shr cl, 6
test cl, 1
je 0x465544
lea edx, [ebp + 0x10]
mov dword [esp + 0x40], edx
mov eax, dword [edx]
mov dword [esp + 0x44], eax
mov eax, dword [edx]
cmp eax, ebx
je 0x465455
mov eax, dword [eax]
jmp 0x465457
xor eax, eax
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x48], ecx
je 0x465465
mov eax, dword [ecx]
jmp 0x465467
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], bl
je 0x465481
mov dword [esp + 0x54], ecx
jmp 0x465486
mov byte [esp + 0x51], 1
mov byte [esp + 0x58], bl
cmp dword [edx], ebx
je 0x465666
cmp ecx, dword [esp + 0x54]
jne 0x4654a2
cmp byte [esp + 0x58], bl
jne 0x465666
mov esi, dword [0x4dbf80]
lea edx, [esp + 0x14]
push edx
call fcn.00435490
mov cx, word [eax + 6]
mov dx, word [eax + 4]
movsx ecx, cx
mov di, word [eax + 2]
mov dword [esp + 0x90], ecx
fild dword [esp + 0x90]
movsx edx, dx
push ecx
mov ax, word [eax]
mov dword [esp + 0x94], edx
mov ebx, dword [esi]
fstp dword [esp]
fild dword [esp + 0x94]
push ecx
mov byte [esp + 0x88], 3
movsx ecx, di
fstp dword [esp]
mov dword [esp + 0x98], ecx
push ecx
fild dword [esp + 0x9c]
movsx edx, ax
fstp dword [esp]
mov dword [esp + 0x9c], edx
push ecx
fild dword [esp + 0xa0]
mov ecx, esi
fstp dword [esp]
call dword [ebx + 0x3c]
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 1
call fcn.004403e0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
xor ebx, ebx
jmp 0x46548a
shr al, 7
test al, 1
je 0x465560
push ebx
push 2
push 0x4b4838
push 0x4dbf30
call fcn.00441210
add esp, 0x10
lea edx, [ebp + 0x10]
mov dword [esp + 0x5c], edx
mov eax, dword [edx]
mov dword [esp + 0x60], eax
mov eax, dword [edx]
cmp eax, ebx
je 0x465577
mov eax, dword [eax]
jmp 0x465579
xor eax, eax
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x64], ecx
je 0x465587
mov eax, dword [ecx]
jmp 0x465589
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], ebx
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], bl
je 0x4655a3
mov dword [esp + 0x70], ecx
jmp 0x4655a8
mov byte [esp + 0x6d], 1
mov byte [esp + 0x74], bl
cmp dword [edx], ebx
je 0x465666
cmp ecx, dword [esp + 0x70]
jne 0x4655c4
cmp byte [esp + 0x74], bl
jne 0x465666
mov esi, dword [0x4dbf80]
lea edx, [esp + 0x14]
push edx
call fcn.0043b8f0
mov cx, word [eax + 6]
mov dx, word [eax + 4]
movsx ecx, cx
mov di, word [eax + 2]
mov dword [esp + 0x90], ecx
fild dword [esp + 0x90]
movsx edx, dx
push ecx
mov ax, word [eax]
mov dword [esp + 0x94], edx
mov ebx, dword [esi]
fstp dword [esp]
fild dword [esp + 0x94]
push ecx
mov byte [esp + 0x88], 4
movsx ecx, di
fstp dword [esp]
mov dword [esp + 0x98], ecx
push ecx
fild dword [esp + 0x9c]
movsx edx, ax
fstp dword [esp]
mov dword [esp + 0x9c], edx
push ecx
fild dword [esp + 0xa0]
mov ecx, esi
fstp dword [esp]
call dword [ebx + 0x3c]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 1
call fcn.004403e0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
xor ebx, ebx
jmp 0x4655ac
mov byte [esp + 0x13], 1
mov al, byte [ebp + 8]
shr al, 3
test al, 1
je 0x465699
mov cl, byte [ebp + 6]
shr cl, 6
test cl, 1
jne 0x465699
mov edx, dword [0x4dbf80]
push ebx
push edx
mov ecx, ebp
call fcn.0043ee00
mov byte [esp + 0x13], 1
mov byte [esp + 0x12], 1
mov al, byte [ebp + 8]
mov edi, dword [esp + 0x8c]
shr al, 2
test al, 1
je 0x465740
mov cl, byte [ebp + 6]
shr cl, 6
test cl, 1
jne 0x46570e
mov edx, dword [edi + 0x14]
mov ecx, ebp
mov eax, edx
mov dword [esp + 0x90], edx
push eax
call fcn.0043cf10
mov esi, eax
mov al, byte [esp + 0x12]
cmp al, bl
push ebx
je 0x4656ea
mov ecx, dword [0x4dbf80]
push 1
push ecx
mov ecx, esi
call fcn.0043ece0
jmp 0x4656f8
mov edx, dword [0x4dbf80]
mov ecx, esi
push edx
call fcn.0043ee00
cmp esi, ebx
je 0x465736
mov ecx, esi
call fcn.00402140
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x465736
mov al, byte [esp + 0x12]
push ebx
cmp al, bl
je 0x465728
mov eax, dword [0x4dbf80]
push 1
push eax
mov ecx, ebp
call fcn.0043ece0
jmp 0x465736
mov ecx, dword [0x4dbf80]
push ecx
mov ecx, ebp
call fcn.0043ee00
mov byte [esp + 0x12], 1
mov byte [esp + 0x13], 1
mov dl, byte [ebp + 8]
shr dl, 4
test dl, 1
je 0x46586f
mov al, byte [ebp + 6]
shr al, 6
test al, 1
jne 0x46578f
mov ecx, dword [edi + 0x14]
mov edx, ecx
mov dword [esp + 0x90], ecx
push edx
mov ecx, ebp
call fcn.0043cf10
mov esi, eax
lea ecx, [esp + 0x28]
push esi
call fcn.0043f080
cmp esi, ebx
je 0x465799
mov ecx, esi
call fcn.00402140
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x465799
push ebp
lea ecx, [esp + 0x2c]
call fcn.0043f080
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.0043d1f0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov al, byte [esp + 0x2e]
mov dword [esp + 0x20], edx
shr al, 5
test al, 1
jne 0x4657c8
push ebx
push edi
lea ecx, [esp + 0x30]
call fcn.0043dac0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00463730
movsx eax, word [esp + 0x28]
fstp dword [esp + 0x94]
movsx ecx, word [esp + 0x24]
mov dword [esp + 0x98], eax
add esp, 4
fild dword [esp + 0x94]
movsx edx, word [esp + 0x22]
fstp dword [esp]
mov dword [esp + 0x94], ecx
push ecx
fild dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x98], edx
fstp dword [esp]
fild dword [esp + 0x98]
push ecx
mov ecx, dword [0x4dbf80]
fstp dword [esp]
push eax
push 5
push ecx
call fcn.004619b0
mov al, byte [esp + 0x2a]
add esp, 0x18
cmp al, bl
push ebx
je 0x46585b
mov edx, dword [0x4dbf80]
push 1
push edx
lea ecx, [esp + 0x34]
call fcn.0043ece0
jmp 0x46586a
mov eax, dword [0x4dbf80]
lea ecx, [esp + 0x2c]
push eax
call fcn.0043ee00
mov byte [esp + 0x13], 1
mov cl, byte [ebp + 8]
shr cl, 1
test cl, 1
je 0x4659a2
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
call fcn.0043d1f0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov ecx, dword [0x4dbf80]
mov dword [esp + 0x20], edx
mov edx, dword [0x4dbe90]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
mov ecx, dword [0x4dbf80]
push 1
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov cx, word [esp + 0x1c]
cmp cx, word [esp + 0x20]
jg 0x4658d9
mov dx, word [esp + 0x22]
cmp dx, word [esp + 0x1e]
jl 0x4658d9
mov eax, dword [esp + 0x22]
mov ecx, dword [esp + 0x1e]
sub eax, ecx
jmp 0x4658db
xor eax, eax
movsx edi, ax
mov dword [esp + 0x90], edi
mov ecx, dword [0x4dbf80]
fild dword [esp + 0x90]
mov eax, dword [ecx]
push ecx
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [0x4a8218]
fstp dword [esp]
call dword [eax + 0x20]
mov dx, word [esp + 0x1c]
mov si, word [esp + 0x1e]
cmp dx, word [esp + 0x20]
jg 0x46592d
cmp word [esp + 0x22], si
jl 0x46592d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
jmp 0x46592f
xor eax, eax
movsx ecx, ax
cmp edi, ecx
jge 0x465942
fld qword [esp + 0x14]
fmul qword [0x4a8210]
jmp 0x465948
fld dword [0x4a8234]
mov eax, dword [ebp + 0xc]
push ebx
fld qword [esp + 0x18]
fmul qword [0x4a8210]
push ebx
push eax
movsx eax, si
mov ecx, dword [0x4dbf80]
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
movsx edx, dx
faddp st(1)
push ecx
mov dword [esp + 0xa0], edx
mov edi, dword [ecx]
fstp dword [esp]
fild dword [esp + 0xa0]
push ecx
fadd st(1)
fstp dword [esp]
fstp st(0)
call dword [edi + 0x50]
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4659d5
cmp byte [esp + 0x13], bl
jne 0x4659d5
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.0043d1f0
mov ecx, dword [0x4dbeb0]
mov byte [esp + 0x80], 5
push ecx
push ecx
mov ecx, dword [0x4dbf80]
push 1
push ebx
push ecx
mov ecx, eax
call fcn.00438470
mov dl, byte [esp + 0x2e]
mov byte [esp + 0x80], 8
shr dl, 6
test dl, 1
je 0x465a05
push 0x434d80
lea ecx, [esp + 0x3c]
call fcn.0043fe20
push 0x434d80
lea ecx, [esp + 0x40]
call fcn.0043fe20
push 0x43b350
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 7
call fcn.0043fe20
push 0x43b350
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 6
call fcn.0043fe20
mov eax, dword [esp + 0x34]
pop edi
pop esi
mov byte [esp + 0x78], bl
pop ebp
cmp eax, ebx
pop ebx
je 0x465a4a
push eax
call fcn.00442aa0
add esp, 4
mov ecx, dword [esp + 0x68]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x74
ret