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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4edc1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xbc]
mov dword [esp + 0x40], esi
call fcn.00456e50
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb8]
lea edx, [esp + 0x18]
xor ebx, ebx
push edx
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], 1
call fcn.004346a0
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x486647
jmp 0x48661c
mov eax, dword [esp + 0x14]
lea esi, [eax + 8]
xor edi, edi
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
add esi, 0x30
mov ecx, edi
dec edi
test ecx, ecx
jne 0x486621
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x486618
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x40]
mov ecx, dword [edi + 0x14]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [edi + 0x14], ebx
mov eax, dword [esi + 0xe8]
xor edx, edx
cmp eax, ebx
mov dword [esp + 0x44], edx
jle 0x486f99
mov eax, dword [esi + 0xe4]
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + 0x5c]
cmp eax, 2
jl 0x486f86
cmp eax, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ebx
jle 0x486f5b
mov eax, dword [esp + 0x14]
sub esp, 0x30
mov edx, esp
mov dword [esp + 0x40], esp
push eax
push edx
add ecx, 0x54
call fcn.0040b280
lea ecx, [esp + 0x1c0]
push ecx
lea ecx, [esp + 0xf0]
call fcn.00456e90
lea ecx, [esp + 0x190]
call fcn.00456e80
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x486d87
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xec]
push edx
call fcn.0045c450
lea eax, [esp + 0xec]
push eax
call fcn.004346a0
mov eax, dword [edi + 0xc]
add esp, 4
cmp eax, ebx
jne 0x486811
lea ecx, [esp + 0xf4]
call fcn.00456e50
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ax, word [esp + 0xcc]
mov dword [esp + 0xf8], ecx
lea ecx, [esp + 0xf4]
sub esp, 0x30
neg ecx
mov dword [esp + 0x12c], edx
lea edx, [esp + 0x128]
sbb ecx, ecx
mov word [esp + 0x134], ax
and ecx, edx
mov dword [esp + 0x130], 1
mov eax, esp
mov byte [esp + 0x1f8], 1
mov edx, dword [ecx]
mov dword [esp + 0x40], esp
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x130]
mov dword [eax + 0xc], edx
mov cx, word [esp + 0x134]
mov word [eax + 0x10], cx
mov edx, dword [esp + 0x138]
mov dword [eax + 0x14], edx
mov cx, word [esp + 0x13c]
mov word [eax + 0x18], cx
mov dx, word [esp + 0x13e]
mov word [eax + 0x1a], dx
mov cx, word [esp + 0x140]
mov word [eax + 0x1c], cx
mov dx, word [esp + 0x142]
mov word [eax + 0x1e], dx
mov ecx, dword [esp + 0x144]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x148]
mov dword [eax + 0x24], edx
mov cx, word [esp + 0x14c]
mov word [eax + 0x28], cx
mov edx, dword [esp + 0x150]
mov ecx, edi
mov dword [eax + 0x2c], edx
mov dword [eax], 0x4f5588
call fcn.0042f1b0
lea ecx, [esp + 0xf4]
mov byte [esp + 0x1c8], bl
call fcn.00456e80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0xf0]
cmp eax, ecx
jne 0x486857
cmp dword [esp + 0x1c], edx
jne 0x486857
mov eax, dword [edi + 8]
lea edx, [esp + 0xbc]
add eax, 8
push eax
sub esp, 0x30
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0041f960
call fcn.004b86d0
add esp, 0x34
jmp 0x486f43
push edx
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push eax
call fcn.00434090
fld qword [esi + 0x58]
fmul qword [0x4f67f8]
add esp, 0x10
fdivr qword [esi + 0xd0]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4868b3
mov edx, dword [edi + 8]
lea eax, [esp + 0xbc]
add edx, 8
push edx
sub esp, 0x30
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.0041f960
call fcn.004b86d0
add esp, 0x34
mov dword [esp + 0x24], 1
jmp 0x486f43
cmp dword [esp + 0x28], ebx
jne 0x486d6b
mov ecx, dword [esp + 0x20]
mov ax, word [ecx + 0xa]
cmp ax, 1
je 0x486d6b
cmp ax, 2
jne 0x48693c
lea eax, [esp + 0xbc]
lea edx, [esp + 0xc0]
neg eax
sbb eax, eax
and eax, edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.00434090
fld qword [esi + 0x58]
fmul qword [0x4f67f8]
add esp, 0x10
fdivr qword [esi + 0xd8]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x486e90
mov eax, dword [edi + 8]
mov ecx, 1
mov edx, dword [eax + 0x1c]
or edx, ecx
mov dword [eax + 0x1c], edx
mov dword [esp + 0xc8], ecx
jmp 0x486e90
cmp ax, 3
jne 0x486e90
mov dword [esp + 0x78], 0x4f57c0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x80]
mov byte [esp + 0x1d0], 2
call fcn.004163d0
lea ecx, [esp + 0x138]
call fcn.004ba030
lea ecx, [esp + 0x124]
mov byte [esp + 0x1c8], 3
call fcn.004ba030
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ebx
push edx
push eax
lea ecx, [esp + 0x144]
mov byte [esp + 0x1d4], 4
call fcn.004ba080
lea eax, [esp + 0xbc]
lea ecx, [esp + 0xc0]
neg eax
sbb eax, eax
push 1
and eax, ecx
lea ecx, [esp + 0x128]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.004ba080
lea eax, [esp + 0x138]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x150]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x158]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x15c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x8c]
call fcn.00416650
lea eax, [esp + 0x124]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x13c]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
mov edx, dword [eax]
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x144]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x148]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x8c]
call fcn.00416650
lea ecx, [esp + 0x8c]
call fcn.004d9880
mov ecx, dword [esp + 0x20]
mov dx, word [ecx + 0x32]
mov word [esp + 0xae], dx
mov word [esp + 0xaa], bx
mov dword [esp + 0x2c], 0x4f5778
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x1d0], 6
call fcn.00417070
fld qword [esi + 0x58]
fmul qword [0x4f67f8]
lea eax, [esp + 0x184]
lea ecx, [esp + 0x2c]
push eax
push ecx
sub esp, 8
lea edx, [esp + 0x9c]
fstp qword [esp]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
sub esp, 0x2c
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
call fcn.004d98c0
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0xcc]
push eax
push 1
push ebx
push ebx
push ecx
call fcn.0044a950
movsx eax, ax
add esp, 0x68
cmp eax, ebx
jne 0x486c30
mov edx, dword [esp + 0x34]
mov esi, 1
dec edx
cmp edx, esi
jle 0x486c8e
lea eax, [esp + 0x14c]
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.0040b280
lea ecx, [esp + 0x14c]
sub esp, 0x30
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x180]
and ecx, edx
mov eax, esp
mov byte [esp + 0x1f8], 7
mov dword [esp + 0x40], esp
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x188]
mov dword [eax + 0xc], edx
mov cx, word [esp + 0x18c]
mov word [eax + 0x10], cx
mov edx, dword [esp + 0x190]
mov dword [eax + 0x14], edx
mov cx, word [esp + 0x194]
mov word [eax + 0x18], cx
mov dx, word [esp + 0x196]
mov word [eax + 0x1a], dx
mov cx, word [esp + 0x198]
mov word [eax + 0x1c], cx
mov dx, word [esp + 0x19a]
mov word [eax + 0x1e], dx
mov ecx, dword [esp + 0x19c]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x1a0]
mov dword [eax + 0x24], edx
mov cx, word [esp + 0x1a4]
mov word [eax + 0x28], cx
mov edx, dword [esp + 0x1a8]
mov ecx, edi
mov dword [eax + 0x2c], edx
mov dword [eax], 0x4f5588
call fcn.0042f1b0
lea ecx, [esp + 0x14c]
mov byte [esp + 0x1c8], 6
call fcn.00456e80
mov eax, dword [esp + 0x34]
inc esi
dec eax
cmp esi, eax
jl 0x486b43
jmp 0x486c8e
lea eax, [esp + 0xbc]
lea ecx, [esp + 0xc0]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00434090
fld qword [esi + 0x58]
fmul qword [0x4f67f8]
add esp, 0x10
fdivr qword [esi + 0xd8]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x486c8e
mov eax, dword [edi + 8]
mov ecx, 1
mov edx, dword [eax + 0x1c]
or edx, ecx
mov dword [eax + 0x1c], edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x2c], 0x4f5778
mov esi, dword [esp + 0x30]
mov byte [esp + 0x1c8], 8
cmp esi, ebx
je 0x486ccd
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x486cc4
lea edi, [eax]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
add esi, 0x30
dec edi
jne 0x486cb0
mov esi, dword [esp + 0x30]
mov edi, dword [ebp + 8]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2c], 0x4f4f00
mov byte [esp + 0x1c8], 4
call fcn.004d9970
lea ecx, [esp + 0x124]
mov byte [esp + 0x1c8], 3
call fcn.004ba050
lea ecx, [esp + 0x138]
mov byte [esp + 0x1c8], 2
call fcn.004ba050
mov dword [esp + 0x78], 0x4f57c0
mov esi, dword [esp + 0x7c]
mov byte [esp + 0x1c8], 9
cmp esi, ebx
je 0x486d53
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x486d4a
lea edi, [eax]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x14
dec edi
jne 0x486d36
mov esi, dword [esp + 0x7c]
mov edi, dword [ebp + 8]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x40]
mov byte [esp + 0x1c8], bl
mov dword [esp + 0x78], 0x4f4f00
jmp 0x486e90
cmp dword [edi + 0xc], ebx
je 0x486d77
mov eax, dword [edi + 8]
or dword [eax + 0x1c], 1
mov dword [esp + 0xc8], 1
jmp 0x486e90
cmp eax, 1
jne 0x486e90
cmp dword [esp + 0x24], ebx
je 0x486e90
mov eax, dword [edi + 8]
add eax, 8
je 0x486da7
lea ecx, [eax + 4]
jmp 0x486da9
xor ecx, ecx
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x54], edx
mov cx, word [eax + 0x10]
mov word [esp + 0x58], cx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x5c], edx
mov cx, word [eax + 0x18]
mov word [esp + 0x60], cx
mov dx, word [eax + 0x1a]
mov word [esp + 0x62], dx
mov cx, word [eax + 0x1c]
mov word [esp + 0x64], cx
mov dx, word [eax + 0x1e]
mov word [esp + 0x66], dx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x6c], edx
mov cx, word [eax + 0x28]
mov word [esp + 0x70], cx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x48], 0x4f5588
lea eax, [esp + 0xbc]
lea ecx, [esp + 0xc0]
neg eax
sbb eax, eax
lea edx, [esp + 0x4c]
and eax, ecx
lea ecx, [esp + 0x48]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x1c8], 0xa
and ecx, edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call fcn.00434090
fld qword [esi + 0x58]
fmul qword [0x4f67f8]
add esp, 0x10
fdivr qword [esi + 0xc8]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x486e7c
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x1c8], bl
call fcn.00456e80
lea ecx, [esp + 0xbc]
sub esp, 0x30
neg ecx
sbb ecx, ecx
lea edx, [esp + 0xf0]
and ecx, edx
mov eax, esp
mov dword [esp + 0x40], esp
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xf8]
mov dword [eax + 0xc], edx
mov cx, word [esp + 0xfc]
mov word [eax + 0x10], cx
mov edx, dword [esp + 0x100]
mov dword [eax + 0x14], edx
mov cx, word [esp + 0x104]
mov word [eax + 0x18], cx
mov dx, word [esp + 0x106]
mov word [eax + 0x1a], dx
mov cx, word [esp + 0x108]
mov word [eax + 0x1c], cx
mov dx, word [esp + 0x10a]
mov word [eax + 0x1e], dx
mov ecx, dword [esp + 0x10c]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x110]
mov dword [eax + 0x24], edx
mov cx, word [esp + 0x114]
mov word [eax + 0x28], cx
mov edx, dword [esp + 0x118]
mov ecx, edi
mov dword [eax + 0x2c], edx
mov dword [eax], 0x4f5588
call fcn.0042f1b0
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
inc eax
mov edx, dword [ecx + 0x5c]
mov dword [esp + 0x14], eax
cmp eax, edx
jl 0x48669b
lea edx, [esp + 0x17c]
push edx
call fcn.0045c520
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call fcn.004346a0
mov edx, dword [esp + 0x48]
add esp, 4
mov eax, dword [esi + 0xe8]
inc edx
cmp edx, eax
mov dword [esp + 0x44], edx
jl 0x486672
push edi
call fcn.004b8350
mov eax, dword [edi + 0xc]
add esp, 4
cmp eax, ebx
je 0x4871e8
mov edi, dword [edi + 4]
mov esi, dword [edi]
lea eax, [edi + 8]
cmp eax, ebx
je 0x486fbe
lea ecx, [eax + 4]
jmp 0x486fc0
xor ecx, ecx
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x54], edx
mov cx, word [eax + 0x10]
mov word [esp + 0x58], cx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x5c], edx
mov cx, word [eax + 0x18]
mov word [esp + 0x60], cx
mov dx, word [eax + 0x1a]
mov word [esp + 0x62], dx
mov cx, word [eax + 0x1c]
mov word [esp + 0x64], cx
mov dx, word [eax + 0x1e]
mov word [esp + 0x66], dx
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x6c], edx
mov cx, word [eax + 0x28]
mov word [esp + 0x70], cx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x48], 0x4f5588
cmp esi, ebx
je 0x4871d8
lea eax, [esi + 8]
cmp eax, ebx
je 0x487042
lea ecx, [eax + 4]
jmp 0x487044
xor ecx, ecx
mov edx, dword [ecx]
mov dword [esp + 0x90], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x94], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x98], edx
mov cx, word [eax + 0x10]
mov word [esp + 0x9c], cx
mov edx, dword [eax + 0x14]
mov dword [esp + 0xa0], edx
mov dx, word [eax + 0x18]
mov word [esp + 0xa4], dx
mov dx, word [eax + 0x1a]
mov word [esp + 0xa6], dx
mov dx, word [eax + 0x1c]
mov word [esp + 0xa8], dx
mov dx, word [eax + 0x1e]
mov word [esp + 0xaa], dx
mov edx, dword [eax + 0x20]
mov dword [esp + 0xac], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0xb0], edx
mov dx, word [eax + 0x28]
mov word [esp + 0xb4], dx
mov eax, dword [eax + 0x2c]
mov dword [esp + 0xb8], eax
mov dword [esp + 0x8c], 0x4f5588
cmp word [esp + 0x58], cx
mov byte [esp + 0x1c8], 0xc
je 0x4870f3
mov eax, dword [edi + 0x1c]
or al, 0x21
mov dword [edi + 0x1c], eax
lea ecx, [esp + 0x8c]
sub esp, 0x30
neg ecx
sbb ecx, ecx
lea edx, [esp + 0xc0]
and ecx, edx
mov eax, esp
mov edi, esi
mov esi, dword [esi]
mov edx, dword [ecx]
mov dword [esp + 0x40], esp
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xc8]
mov dword [eax + 0xc], edx
mov cx, word [esp + 0xcc]
mov word [eax + 0x10], cx
mov edx, dword [esp + 0xd0]
mov dword [eax + 0x14], edx
mov cx, word [esp + 0xd4]
mov word [eax + 0x18], cx
mov dx, word [esp + 0xd6]
mov word [eax + 0x1a], dx
mov cx, word [esp + 0xd8]
mov word [eax + 0x1c], cx
mov dx, word [esp + 0xda]
mov word [eax + 0x1e], dx
mov ecx, dword [esp + 0xdc]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0xe0]
mov dword [eax + 0x24], edx
mov cx, word [esp + 0xe4]
mov word [eax + 0x28], cx
mov edx, dword [esp + 0xe8]
mov dword [eax + 0x2c], edx
mov dword [eax], 0x4f5588
lea eax, [esp + 0x1c0]
lea ecx, [esp + 0x78]
push eax
call fcn.00456e90
lea ecx, [esp + 0x190]
call fcn.00456e80
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1c8], 0xb
call fcn.00456e80
cmp esi, ebx
jne 0x487036
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c8], bl
call fcn.00456e80
lea ecx, [esp + 0xbc]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.00456e80
mov ecx, dword [esp + 0x1c0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4