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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x18c
mov dword [esp + 0xa8], 0
mov ebp, dword [esp + 0x1a0]
mov dword [esp + 0xac], 0
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
call fcn.005b18d0
mov ecx, dword [0x8bd73c]
test ecx, ecx
jne 0x5bed67
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_X]
mov dword [0x8bd73c], 1
mov edx, dword [eax]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [0x8bd738], eax
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_Y]
mov edx, dword [eax]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [0x8bd734], eax
mov dword [esp + 0x38], 0
test ebx, ebx
jle 0x5bf21a
mov eax, dword [sym.imp.libpcaewin.dll_pxBuff]
mov dword [esp], 0xffffffff
mov dword [esp + 0x44], eax
call eax
mov ecx, dword [ebp]
mov dword [esp + 0x80], eax
lea eax, [ecx - 4]
and eax, 0xfffffffb
mov dword [esp + 0x64], eax
jne 0x5bf229
cmp ebx, 1
je 0x5bf28d
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x5c090b
add eax, 0xa
mov dword [esp + 0x50], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x5c], 0xa
mov eax, 0x114
bt eax, ecx
setb al
cmp al, 1
sbb eax, eax
and eax, 0x1b
mov dword [esp + 0x74], eax
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_Y]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
mov edi, dword [ebp + 0x7c]
mov esi, dword [ebp + 0x80]
mov eax, dword [eax]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x74]
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x78]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x68], eax
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_X]
mov eax, dword [eax]
mov dword [esp + 0x70], eax
sub eax, edx
mov edx, eax
mov eax, dword [esp + 0x5c]
sub edx, eax
mov eax, dword [ebp + 0x70]
sub edx, edi
sub edx, esi
sub edx, 0xf
cmp edx, eax
cmovg edx, eax
mov eax, dword [esp + 0x1a8]
xor edi, edi
xor esi, esi
mov dword [esp + 0x40], edx
mov edx, 0xffffffff
jmp 0x5bee6a
mov esi, ecx
cmp dword [eax], 0xfffffffe
je 0x5bee74
add edi, 1
mov edx, esi
lea ecx, [esi + 1]
add eax, 0xb0
cmp ebx, ecx
jne 0x5bee68
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x7c], esi
mov ecx, dword [esp + 0x3c]
lea ebx, [edx + eax*2]
mov eax, dword [ebp + 0x88]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x78], eax
test eax, eax
jg 0x5beebe
lea edx, [edi - 1]
mov eax, ebx
sub eax, edx
cdq
idiv edi
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x58]
lea eax, [edx*4]
mov dword [esp + 0x3c], eax
add eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
cmp ecx, 8
je 0x5c07dc
mov edx, dword [esp + 0x64]
test edx, edx
je 0x5c06d4
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
mov dword [esp + 4], 0x8bdcd8
mov dword [esp], 0x8bdcdc
sub eax, ecx
sub eax, ecx
mov ecx, dword [esp + 0x4c]
sub eax, ecx
mov ecx, dword [esp + 0x48]
sub eax, edx
sub eax, ecx
mov ecx, dword [esp + 0x54]
sub eax, ecx
mov ecx, dword [esp + 0x74]
sub eax, ecx
mov ecx, dword [esp + 0x68]
sub eax, 0x1e
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x84]
add eax, ecx
mov ecx, dword [esp + 0x5c]
add eax, ecx
mov ecx, dword [esp + 0x48]
add edx, ecx
mov ecx, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x6c]
add eax, ecx
mov ecx, dword [esp + 0x74]
add edx, ebx
mov ebx, dword [0x8bd738]
add edx, esi
add eax, ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sar ecx, 1
sub ebx, ecx
mov ecx, dword [0x8bd734]
lea edx, [ebx + edx - 1]
mov dword [0x8bdcdc], ebx
mov dword [esp + 0x98], edx
mov edx, eax
shr edx, 0x1f
add edx, eax
sar edx, 1
sub ecx, edx
lea eax, [ecx + eax - 1]
mov dword [0x8bdcd8], ecx
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
call dword [sym.imp.libpcaewin.dll_Check_Prop_Sheet_Frames]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], 1
add eax, dword [ebp + 4]
mov esi, dword [0x8bdcdc]
mov dword [esp + 0x14], 0
add eax, 0x64
mov ebx, dword [0x8bdcd8]
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], eax
lea eax, [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x64], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x68], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.libpcaewin.dll_Define_Prop_Sheet]
cmp dword [esp + 0x58], 1
je 0x5bf2bd
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
add esi, dword [0x8bdcd8]
add esi, dword [ebp + 0x74]
add ecx, esi
mov eax, dword [0x8bdcdc]
add eax, dword [ebp + 0x7c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x38], eax
sub ebx, dword [ebp + 0x80]
mov dword [esp], 0xffffffff
call dword [sym.imp.libpcaewin.dll_GetDTEColor]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_pxFgc]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_pxRect]
cmp byte [ebp + 0x8c], 0
jne 0x5c08b3
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x6c], edi
xor esi, esi
mov dword [esp + 0x1a0], ebp
mov edi, dword [esp + 0x54]
lea ebx, [eax + 0x36]
imul eax, dword [esp + 0x58], 0xb0
add eax, ebx
mov dword [esp + 0x40], eax
mov eax, dword [sym.imp.libpcaewin.dll_Draw_Funny_Text_to_PS]
mov dword [esp + 0x48], eax
jmp 0x5bf125
lea ecx, [ebx - 0x32]
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], 0x1002
mov dword [esp + 8], ecx
lea ecx, [edi - 0x12]
mov dword [esp + 4], ecx
mov dword [esp], ebp
call eax
lea ecx, [edi - 6]
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x1000
mov dword [esp + 4], ecx
mov dword [esp], ebp
call eax
add esi, 1
add ebx, 0xb0
cmp dword [esp + 0x40], ebx
je 0x5c0448
cmp dword [ebx - 0x36], 0xfffffffe
je 0x5bf115
mov eax, dword [esp + 0x78]
lea edx, [eax + 1]
mov eax, dword [esp + 0x38]
imul edx, esi
cmp byte [ebx - 0x32], 0
mov dword [esp + 0x10], 2
lea ebp, [eax + edx + 8]
jne 0x5bf0cf
lea ecx, [edi - 0xa]
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], ebp
call dword [sym.imp.libpcaewin.dll_Draw_Funny_Text_to_PS]
jmp 0x5bf112
mov ebp, edi
mov edi, dword [esp + 0x40]
mov eax, dword [ebp + 0x140]
test eax, eax
je 0x5bf17b
call eax
mov dword [ebp + 0x144], edi
call dword [sym.imp.libpcaewin.dll_Undefine_Prop_Sheet]
mov eax, dword [0x8bde48]
lea eax, [eax*4 + 0x8bd6fc]
mov dword [esp], eax
call fcn.005858a0
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.005858a0
lea eax, [esp + 0xb4]
mov dword [esp], eax
call fcn.005858a0
lea eax, [esp + 0xa8]
mov dword [esp], eax
call fcn.005858a0
lea eax, [esp + 0xac]
mov dword [esp], eax
call fcn.005858a0
mov eax, dword [0x8bde48]
lea eax, [eax*4 + 0x8bdddc]
mov dword [esp], eax
call fcn.005858a0
mov eax, dword [0x8bde48]
lea eax, [eax*4 + 0x8bdd9c]
mov dword [esp], eax
call fcn.005858a0
sub dword [0x8bde48], 1
mov dword [0x8bdcd4], 0
mov dword [0x8bdcd0], 0
mov eax, dword [esp + 0x38]
add esp, 0x18c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, 1
je 0x5bf270
mov eax, dword [ebp + 0x84]
mov dword [esp + 0x4c], eax
test eax, eax
jle 0x5c093b
add eax, 0xa
mov dword [esp + 0x5c], 0xa
mov dword [esp + 0x84], eax
mov dword [esp + 0x50], 0x21
mov dword [esp + 0x74], 0x1b
cmp ecx, 8
ja 0x5bedee
jmp 0x5bedd8
mov dword [esp + 0x84], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x5c], 0
jmp 0x5bf252
mov dword [esp + 0x84], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x74], 0
jmp 0x5bedee
mov eax, dword [0x8bde48]
mov edi, dword [esp + 0x1a8]
mov dword [esp + 0x84], 0
lea edx, [eax + 1]
mov dword [eax*4 + 0x8bdd20], ebp
mov dword [eax*4 + 0x8bd700], 0
mov dword [0x8bde48], edx
mov dword [eax*4 + 0x8bde20], 1
mov dword [eax*4 + 0x8bdd60], edi
mov dword [eax*4 + 0x8bdce0], 0
mov edi, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 4], edi
call fcn.005854c0
mov dword [esp + 4], edi
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 0xb4], eax
call fcn.005854c0
mov dword [esp + 4], edi
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 0xa8], eax
call fcn.005854c0
mov dword [esp + 4], edi
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 0xac], eax
mov eax, dword [0x8bde48]
lea ebx, [eax - 1]
call fcn.005854c0
mov dword [esp + 4], edi
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [ebx*4 + 0x8bdde0], eax
mov eax, dword [0x8bde48]
lea ebx, [eax - 1]
call fcn.005854c0
mov dword [esp + 0x1a0], ebp
mov edi, dword [esp + 0x1a8]
mov dword [ebx*4 + 0x8bdda0], eax
xor eax, eax
mov ebp, eax
jmp 0x5bf609
lea eax, [ebp + 0x7d0]
mov esi, dword [esp + 0x1a0]
mov dword [edx], eax
mov ecx, dword [edi + 0x80]
mov edx, dword [0x8bdcdc]
neg ecx
sbb ecx, ecx
and ecx, 0x11
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0x84]
neg ecx
sbb ecx, ecx
and ecx, 0x11
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x5c]
add edx, ecx
add edx, dword [esi + 0x7c]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x98]
sub edx, ecx
mov ecx, edx
sub ecx, dword [esi + 0x80]
mov dword [esp + 0x40], ecx
mov esi, ecx
mov ecx, dword [edi + 0x70]
test ecx, ecx
js 0x5bf454
mov edx, dword [edi + 0x78]
test edx, edx
jle 0x5bf454
add dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x48]
add edx, ecx
cmp esi, edx
cmovle edx, esi
mov dword [esp + 0x40], edx
mov esi, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
add edx, dword [0x8bdcd8]
add edx, dword [esi + 0x74]
mov esi, dword [esp + 0x5c]
add edx, ecx
mov ecx, esi
add ecx, edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x74]
sub edx, esi
mov esi, dword [esp + 0x1a0]
sub edx, dword [esi + 0x78]
sub edx, ecx
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x54], edx
mov esi, edx
test ecx, ecx
js 0x5bf4ba
mov edx, dword [edi + 0x7c]
test edx, edx
jle 0x5bf4ba
add dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x38]
add edx, ecx
cmp esi, edx
cmovle edx, esi
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
mov dword [esp + 0x10], 0
sub eax, ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 0xc], eax
sub ecx, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call dword [sym.imp.libpcaewin.dll_Add_Escape_Area_to_PS]
mov ecx, dword [esp + 0x60]
mov dword [ecx], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], 1
mov eax, dword [eax + ebx]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Set_Escape_Area_to_MouseMoveEvent]
mov eax, dword [edi + 0x84]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x80]
add edx, ebx
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], esi
call fcn.00665710
mov edx, dword [esp + 0x60]
mov dword [edx], eax
mov eax, dword [esp + 0x1a0]
mov eax, dword [eax]
and eax, 0xfffffffd
cmp eax, 1
mov eax, ebx
jne 0x5bf6a0
add eax, dword [esp + 0xac]
mov dword [esp + 0x60], eax
mov eax, dword [0x8bde48]
lea ecx, [eax - 1]
mov eax, dword [ecx*4 + 0x8bdda0]
mov dword [eax + ebx], 1
mov eax, dword [edi + 0x94]
test eax, eax
jle 0x5bf680
mov edx, dword [edi + 0x98]
add eax, edx
add ebx, dword [ecx*4 + 0x8bdde0]
mov ecx, dword [edi + 0xa0]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x90]
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [edi + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0065b520
mov dword [ebx], eax
mov ebx, dword [esp + 0x7c]
lea eax, [ebp + 1]
add edi, 0xb0
cmp ebp, ebx
je 0x5bf74f
mov ebp, eax
cmp dword [edi], 0xfffffffe
je 0x5bf5f2
mov eax, dword [esp + 0xa8]
lea ebx, [ebp*4]
mov edx, dword [esp + 0xb4]
mov esi, dword [edi + 0xa8]
add eax, ebx
add edx, ebx
mov dword [esp + 0x60], eax
test esi, esi
jne 0x5bf3d8
mov dword [edx], 0xffffffff
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0xac]
mov dword [eax + ebp*4], 0xffffffff
mov eax, dword [0x8bde48]
sub eax, 1
mov edx, dword [eax*4 + 0x8bdda0]
mov eax, dword [eax*4 + 0x8bdde0]
mov dword [edx + ebp*4], 1
mov dword [eax + ebp*4], 0xffffffff
jmp 0x5bf5f2
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
sub eax, edx
mov edx, dword [esp + 0x6c]
sub eax, 0xa
sub eax, edx
mov edx, dword [edi + 0x98]
jmp 0x5bf5ad
add eax, dword [esp + 0xac]
mov edx, dword [0x8cdec0]
mov dword [esp + 0x60], eax
mov eax, dword [eax]
mov ecx, edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xa8]
shl ecx, 5
mov esi, dword [eax + ebx]
lea eax, [ecx + 0x8cdc40]
mov dword [ecx + 0x8cdc40], esi
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x40]
mov dword [eax + 0x10], esi
mov esi, dword [esp + 0x54]
mov dword [eax + 0x14], esi
lea esi, [esp + 0xa0]
mov dword [eax + 0x18], esi
lea esi, [esp + 0xa4]
mov dword [eax + 0x1c], esi
cmp edx, 0x13
jg 0x5bf581
add edx, 1
mov dword [0x8cdec0], edx
cmp edx, 1
jne 0x5bf581
mov dword [esp], fcn.005b18d0
call dword [sym.imp.libpcaewin.dll_Define_Call_Allways_Function]
mov dword [esp], 1
call dword [sym.imp.libpcaewin.dll_Activate_Call_Allways_Function]
mov eax, ebx
mov dword [0x8bde70], 1
jmp 0x5bf576
fnstcw word [esp + 0x8e]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x1a0]
mov dword [esp + 0x74], eax
lea ebx, [eax - 0x1d]
mov eax, dword [0x8bdcdc]
lea ecx, [eax + edx]
mov dword [esp + 0x38], ecx
movzx ecx, word [esp + 0x8e]
fild dword [esp + 0x38]
fmul dword [0x794f18]
or ch, 0xc
mov word [esp + 0x8c], cx
mov ecx, dword [ebp + 0x124]
fldcw word [esp + 0x8c]
fistp dword [esp + 0x38]
fldcw word [esp + 0x8e]
add eax, dword [ebp + 0x7c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x70], edi
sub edi, 0x17
mov dword [esp + 0x6c], edi
test ecx, ecx
je 0x5bf7d0
lea edi, [eax + 0x20]
mov dword [esp + 0x6c], edi
cmp dword [ebp], 8
ja case.0x5bf7dd.0
mov ecx, dword [ebp]
jmp dword [ecx*4 + 0x794ef4]
mov dword [esp + 0x60], 0xffffffff
xor edi, edi
mov eax, dword [ebp + 0x128]
test eax, eax
je 0x5bf823
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
mov edx, dword [0x8bdcd8]
mov dword [esp + 4], edx
mov edx, dword [0x8bdcdc]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x1a0], ebp
xor ebx, ebx
lea esi, [eax + 0xa4]
mov ebp, esi
mov esi, dword [esp + 0x3c]
nop
mov edx, dword [ebp]
test edx, edx
je 0x5bf85c
mov ecx, dword [0x8bde48]
mov ecx, dword [ecx*4 + 0x8bdddc]
mov ecx, dword [ecx + ebx]
mov dword [esp], ecx
call edx
add ebx, 4
add ebp, 0xb0
cmp ebx, esi
jne 0x5bf840
mov eax, dword [0x755e7c]
mov ebp, dword [esp + 0x1a0]
test eax, eax
je 0x5bf89c
mov eax, edi
test al, al
je 0x5bf89c
mov eax, dword [esp + 0x60]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Move_Mouse_Cursor_to_Button_of_PS]
call dword [sym.imp.libpcaewin.dll_Activate_Prop_Sheet]
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
call eax
lea eax, [esp + 0xa4]
mov dword [esp + 4], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Prop_Sheet_Displacement]
imul eax, dword [esp + 0x58], 0xb0
mov dword [esp + 0x1a0], ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x80], eax
lea esi, [esi]
mov dword [0x8bdcd4], 0
mov dword [0x8bdcd0], 0
mov eax, dword [esp + 0x1a0]
mov edx, dword [eax + 0x124]
test edx, edx
je 0x5bf9a7
xor eax, eax
lea edi, [esp + 0xb8]
mov ecx, 0x32
rep stosd dword es:[edi], eax
lea ebx, [esp + 0xb8]
mov dword [esp], ebx
call edx
mov edi, dword [sym.imp.libpcaewin.dll_BUTTON_CI]
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x74]
mov eax, dword [esp + 0xa0]
mov ecx, dword [edi]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x24], ecx
mov ecx, dword [sym.imp.libpcaewin.dll_BLACK_CI]
mov ecx, dword [ecx]
mov dword [esp + 0x1c], 0x1000
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], ecx
lea ecx, [esi + edx - 9]
lea edx, [esi + edx - 0x1a]
mov dword [esp + 0xc], ecx
lea ecx, [eax + edi - 0x14]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x14], 0xd1
lea eax, [eax + edi + 0x1e]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006e0e90
mov eax, dword [esp + 0x60]
test eax, eax
js 0x5bf9c0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Change_Activity_PS]
mov dword [esp], 0xffffffff
mov eax, dword [esp + 0x44]
call eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1a0]
mov eax, dword [eax + 0x13c]
test eax, eax
je 0x5bf9f4
mov edx, dword [0x8bde48]
mov edx, dword [edx*4 + 0x8bdcdc]
mov dword [esp], edx
call eax
mov eax, dword [0x8bde48]
sub eax, 1
mov edi, dword [eax*4 + 0x8bdce0]
cmp edi, ebp
je 0x5bfab1
test ebp, ebp
js 0x5bfa80
mov edx, dword [esp + 0xac]
lea ebx, [ebp*4]
mov edx, dword [edx + ebp*4]
test edx, edx
js 0x5bfa80
mov ecx, dword [eax*4 + 0x8bdde0]
mov esi, dword [ecx + ebp*4]
test esi, esi
js 0x5bfa80
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + ebx]
test ecx, ecx
js 0x5bfa80
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.00667da0
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], 0
mov eax, dword [eax + ebx]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Change_Activity_PS]
mov eax, dword [0x8bde48]
sub eax, 1
mov edi, dword [eax*4 + 0x8bdce0]
lea esi, [esi]
mov esi, dword [esp + 0x1a0]
mov edx, dword [esi + 0x138]
test edx, edx
je 0x5bfab1
mov dword [esp + 4], edi
mov dword [esp], ebp
call edx
test eax, eax
mov eax, dword [0x8bde48]
jne 0x5c0200
sub eax, 1
mov edi, dword [eax*4 + 0x8bdce0]
cmp dword [esp + 0x58], 1
jne 0x5bff48
test edi, edi
js 0x5bfaf8
mov edx, dword [esp + 0xac]
lea esi, [edi*4]
mov edx, dword [edx + edi*4]
test edx, edx
js 0x5bfaf8
mov eax, dword [eax*4 + 0x8bdde0]
mov ebx, dword [eax + edi*4]
test ebx, ebx
js 0x5bfaf8
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + esi]
test ecx, ecx
jns 0x5c0280
lea esi, [esi]
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
call eax
mov eax, dword [esp + 0x1a0]
mov ebx, dword [eax + 0x148]
test ebx, ebx
js 0x5c01f0
mov dword [eax + 0x148], 0xffffffff
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
add eax, edx
mov dword [0x8bdcdc], eax
mov eax, dword [esp + 0xa4]
lea ecx, [eax + esi]
mov dword [0x8bdcd8], ecx
cmp ebx, 0x64
je 0x5bff08
cmp ebx, 0xc8
jne 0x5c0138
add dword [0x8bd738], edx
add eax, dword [0x8bd734]
mov dword [0x8bd734], eax
mov eax, dword [0x8bde48]
sub eax, 1
call fcn.005b2410
test eax, eax
jne 0x5bfb98
mov eax, dword [esp + 0x1a0]
mov eax, dword [eax + 0x130]
test eax, eax
je 0x5bfb9f
call eax
test eax, eax
je 0x5bfb9f
mov ebp, edi
jmp 0x5bf8f0
mov dword [esp + 0x38], 1
mov ebp, dword [esp + 0x1a0]
mov eax, dword [0x8bde48]
mov ecx, dword [0x8bf4b4]
mov esi, ecx
sub esi, dword [eax*4 + 0x8bf49c]
lea ebx, [eax - 1]
cmp ecx, esi
jle 0x5bfbf0
mov eax, esi
shl ecx, 4
shl eax, 4
add ecx, 0x8bee60
add eax, 0x8bee60
lea esi, [esi]
mov edx, dword [eax]
add eax, 0x10
fld qword [edx]
fdiv qword [eax - 8]
fstp qword [edx]
cmp eax, ecx
jne 0x5bfbe0
mov edx, dword [0x8be4d4]
mov dword [0x8bf4b4], esi
mov dword [ebx*4 + 0x8bf4a0], 0
mov esi, edx
sub esi, dword [ebx*4 + 0x8be4c0]
cmp edx, esi
jle 0x5bfc76
fnstcw word [esp + 0x8e]
mov eax, esi
shl edx, 4
shl eax, 4
add edx, 0x8bde80
movzx ecx, word [esp + 0x8e]
add eax, 0x8bde80
or ch, 0xc
mov word [esp + 0x8c], cx
lea esi, [esi]
fldz
fld qword [eax + 8]
mov ecx, dword [eax]
fcomi st(1)
fstp st(1)
jb 0x5c0218
fadd dword [0x794f18]
add eax, 0x10
fldcw word [esp + 0x8c]
fistp dword [ecx]
fldcw word [esp + 0x8e]
cmp edx, eax
jne 0x5bfc48
mov eax, dword [0x755e80]
test eax, eax
je 0x5bfc90
mov dword [0x8be4d4], esi
mov dword [ebx*4 + 0x8be4c0], 0
mov eax, dword [ebx*4 + 0x8bee40]
sub dword [0x8bee54], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x40], edi
mov edi, ebp
mov dword [ebx*4 + 0x8bee40], 0
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
lea esi, [eax + 0x8c]
jmp 0x5bfcd9
add ebx, 4
add esi, 0xb0
cmp ebx, ebp
je 0x5bf169
cmp dword [esi - 0x8c], 0xfffffffe
je 0x5bfcc8
mov eax, dword [esp + 0xac]
mov eax, dword [eax + ebx]
test eax, eax
js 0x5bfcc8
lea ecx, [esi - 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.0066a390
mov eax, dword [esp + 0xac]
mov eax, dword [eax + ebx]
mov dword [esp], eax
call fcn.0065c860
mov eax, dword [esp + 0xac]
mov eax, dword [eax + ebx]
mov dword [esp], eax
call fcn.00667c10
mov eax, dword [edi]
and eax, 0xfffffffd
cmp eax, 1
je 0x5bfcc8
mov eax, dword [0x8cdec0]
test eax, eax
jle 0x5bfd42
sub eax, 1
mov dword [0x8cdec0], eax
test eax, eax
jne 0x5bfcc8
mov dword [esp], 0
call dword [sym.imp.libpcaewin.dll_Activate_Call_Allways_Function]
mov dword [0x8bde70], 0
jmp 0x5bfcc8
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], str.Weiter
sub eax, 0x32
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Add_Single_Button_to_PS]
mov dword [esp + 0x60], eax
not eax
shr eax, 0x1f
mov edi, eax
jmp 0x5bf7ee
sub edx, dword [ebp + 0x80]
mov dword [esp + 0x18], 0
lea eax, [edx - 0x17]
mov dword [esp + 0x10], 0
mov edi, eax
mov dword [esp + 0x70], eax
mov eax, dword [sym.imp.libpcaewin.dll_SYMBOLIC_OK_RASTER]
mov dword [esp + 0xc], 0xc8
mov dword [esp + 0x14], eax
mov eax, edi
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
jmp 0x5bfd95
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], str.Weiter
sub eax, 0x32
mov dword [esp + 0xc], 0xc8
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
jmp 0x5bfd95
mov edx, dword [sym.imp.libpcaewin.dll_SYMBOLIC_BREAK_RASTER]
sub eax, 3
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov edi, dword [sym.imp.libpcaewin.dll_Add_Single_Button_to_PS]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
mov dword [esp + 4], 0x794ad7
mov esi, dword [sym.imp.libpcaewin.dll_Set_Comment_to_Button_PS]
mov dword [esp + 0x60], eax
mov dword [esp], eax
call esi
mov eax, dword [esp + 0x98]
sub eax, dword [ebp + 0x80]
sub eax, 0x17
cmp byte [ebp + 0xf0], 0
mov dword [esp + 0x70], eax
jne 0x5c09c7
cmp dword [ebp], 7
jne 0x5c095b
mov eax, dword [esp + 0x60]
not eax
shr eax, 0x1f
mov edi, eax
jmp 0x5bf7ee
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
sub eax, 0x25
mov dword [esp + 0x10], str.Weiter
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], 0xc8
mov dword [esp + 8], 1
sub eax, 0x32
jmp 0x5bfd95
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
lea esi, [esi]
add dword [0x8bd734], eax
mov eax, dword [esp + 0x1a0]
add dword [0x8bd738], edx
mov eax, dword [eax + 0x134]
test eax, eax
je 0x5bff2f
call eax
test eax, eax
jne 0x5bfb98
mov dword [esp + 0x38], 0
mov ebp, dword [esp + 0x1a0]
jmp 0x5bfbae
mov dword [esp + 0x38], ebp
xor ebx, ebx
mov ebp, dword [esp + 0x1a8]
jmp 0x5bff6b
mov esi, dword [esp + 0x3c]
add ebx, 4
cmp ebx, esi
je 0x5bffd0
imul edx, ebx, 0x2c
mov edx, dword [ebp + edx]
test edx, edx
jne 0x5bff60
mov esi, dword [eax*4 + 0x8bd700]
mov ecx, dword [esi + ebx]
sub ecx, 1
cmp ecx, edi
jne 0x5bff60
mov ecx, dword [esp + 0x38]
add ecx, 1
cmp dword [esp + 0x38], edi
je 0x5c0240
mov edi, dword [esp + 0x38]
mov dword [esp], ecx
add ebx, 4
mov dword [eax*4 + 0x8bdce0], edi
call dword [sym.imp.libpcaewin.dll_Set_Selected_Register_Member]
mov eax, dword [0x8bde48]
mov esi, dword [esp + 0x3c]
sub eax, 1
mov edi, dword [eax*4 + 0x8bdce0]
cmp ebx, esi
jne 0x5bff6b
lea esi, [esi]
lea esi, [esi]
mov esi, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x78]
xor ebp, ebp
lea ebx, [esi + 0x36]
mov esi, dword [esp + 0x80]
add ecx, 1
mov dword [esp + 0x5c], ecx
add esi, ebx
mov dword [esp + 0x38], esi
xor esi, esi
jmp 0x5c0096
sub eax, 0x12
lea edi, [ebx - 0x32]
mov dword [esp], edx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0x1002
call fcn.005ad220
mov edi, dword [esp + 0x1a0]
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], 0x1000
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
add eax, dword [0x8bdcd8]
add eax, dword [edi + 0x74]
lea eax, [edx + eax - 6]
mov dword [esp + 4], eax
mov eax, dword [0x8bdcdc]
add eax, dword [edi + 0x7c]
lea eax, [ecx + eax + 8]
mov dword [esp], eax
call fcn.005ad220
mov eax, dword [0x8bde48]
sub eax, 1
mov edi, dword [eax*4 + 0x8bdce0]
lea esi, [esi]
add ebp, 1
add ebx, 0xb0
add esi, 4
cmp dword [esp + 0x38], ebx
je 0x5bfabc
mov ecx, dword [ebx - 0x36]
cmp ecx, 0xfffffffe
je 0x5c0083
mov edx, dword [eax*4 + 0x8bd700]
mov edx, dword [edx + esi]
sub edx, 1
cmp edx, edi
je 0x5c0080
test ecx, ecx
jne 0x5c0080
mov eax, dword [ebx + 0x36]
mov edx, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x1a0]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
add eax, dword [0x8bdcd8]
imul ecx, ebp
add eax, dword [edx + 0x74]
mov edx, dword [esp + 0x4c]
add eax, edx
mov edx, dword [0x8bdcdc]
add edx, dword [edi + 0x7c]
mov dword [esp + 0x54], ecx
mov edi, dword [esp + 0x40]
cmp byte [ebx - 0x32], 0
lea edx, [ecx + edx + 8]
mov dword [esp + 0x10], edi
jne 0x5c0000
sub eax, 0xa
mov dword [esp + 0xc], 0x1000
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp], edx
call fcn.005ad220
mov eax, dword [0x8bde48]
sub eax, 1
mov edi, dword [eax*4 + 0x8bdce0]
jmp 0x5c0080
mov eax, dword [esp + 0x1a0]
mov ecx, dword [eax + 0x12c]
test ecx, ecx
je 0x5c0185
mov dword [esp], 0
mov esi, dword [sym.imp.libpcaewin.dll_Activate_Call_Allways_Function]
call esi
mov eax, dword [esp + 0x1a0]
mov dword [esp], ebx
call dword [eax + 0x12c]
mov edx, dword [0x8bde70]
mov ebp, eax
test edx, edx
jne 0x5c03d0
mov dword [esp], 0
call esi
test ebp, ebp
jne 0x5c01c8
lea eax, [ebx - 0x3e8]
cmp eax, 0x3e7
ja 0x5c019d
cmp dword [esp + 0x58], 1
jg 0x5c03b8
sub ebx, 0x7d0
cmp ebx, 0x3e7
ja 0x5c01c8
mov eax, dword [0x8bde48]
mov eax, dword [eax*4 + 0x8bdddc]
mov eax, dword [eax + ebx*4]
test eax, eax
jns 0x5c03f7
lea esi, [esi]
mov eax, dword [0x8bdcd4]
test eax, eax
jne 0x5bfef3
mov ebp, dword [0x8bdcd0]
test ebp, ebp
jne 0x5c042a
mov ebp, edi
jmp 0x5bf904
call dword [sym.imp.libpcaewin.dll_Edit_Prop_Sheet]
mov ebx, eax
jmp 0x5bfb24
sub eax, 1
mov edi, ebp
mov dword [eax*4 + 0x8bdce0], ebp
jmp 0x5bfab1
fsub dword [0x794f18]
add eax, 0x10
fldcw word [esp + 0x8c]
fistp dword [ecx]
fldcw word [esp + 0x8e]
cmp eax, edx
jne 0x5bfc48
jmp 0x5bfc76
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x7c]
mov ecx, ebp
jmp 0x5c0263
lea esi, [edx + 1]
add ecx, 0xb0
cmp edx, edi
jge 0x5c041e
mov edx, esi
mov esi, dword [ecx]
test esi, esi
je 0x5c0250
mov esi, dword [esp + 0x40]
mov ecx, dword [esi + edx*4]
lea edi, [ecx - 1]
mov dword [esp + 0x38], edi
jmp 0x5bff98
imul ebx, edi, 0xb0
xor ebp, ebp
add ebx, dword [esp + 0x1a8]
mov dword [esp], edx
call fcn.00667c70
mov eax, dword [esp + 0xac]
mov eax, dword [eax + esi]
mov dword [esp], eax
call fcn.005b32e0
mov eax, dword [0x8bde48]
mov eax, dword [eax*4 + 0x8bdddc]
mov eax, dword [eax + esi]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov eax, dword [eax + esi]
mov dword [esp], eax
call dword [ebx + 0xa8]
mov eax, dword [0x8bde48]
sub eax, 1
mov edx, dword [eax*4 + 0x8bdda0]
mov edx, dword [edx + esi]
test edx, edx
jne 0x5c03e0
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0x8c]
test eax, eax
jg 0x5c02fd
test edx, edx
jle 0x5c033b
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xac]
fstp qword [esp + 0xc]
fild dword [esp + 0x38]
fstp qword [esp + 4]
mov eax, dword [eax + esi]
mov dword [esp], eax
call fcn.0066a0b0
mov dword [ebx + 0x8c], 0xffffffff
mov dword [ebx + 0x88], 0xffffffff
mov eax, dword [esp + 0xac]
mov dword [esp + 4], 1
mov eax, dword [eax + esi]
mov dword [esp], eax
call fcn.00667da0
mov eax, dword [esp + 0xac]
mov eax, dword [eax + esi]
mov dword [esp], eax
call fcn.00667a80
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], 1
mov eax, dword [eax + esi]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Change_Activity_PS]
mov eax, dword [0x8bdccc]
test eax, eax
je 0x5bfaf8
test ebp, ebp
jne 0x5bfaf8
mov eax, dword [esp + 0xac]
mov ebp, 1
mov dword [0x8bdccc], 0
mov edx, dword [eax + esi]
jmp 0x5c028f
mov edx, dword [0x8bde48]
mov dword [edx*4 + 0x8bdcdc], eax
jmp 0x5c01c8
mov dword [esp], 1
call esi
jmp 0x5c0181
mov eax, dword [eax*4 + 0x8bdde0]
mov eax, dword [eax + esi]
mov dword [esp], eax
call fcn.0065b960
jmp 0x5c02e9
mov dword [esp], eax
call fcn.0065bf00
test eax, eax
jne 0x5c01c8
mov eax, dword [esp + 0xac]
mov eax, dword [eax + ebx*4]
mov dword [esp], eax
call fcn.00667e50
jmp 0x5c01c8
mov edi, dword [esp + 0x38]
lea ecx, [edi + 1]
jmp 0x5bff98
mov eax, dword [esp + 0xa0]
add dword [0x8bd738], eax
mov eax, dword [0x8bd734]
add eax, dword [esp + 0xa4]
jmp 0x5bfb6b
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x1a0]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
sub edi, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x9c]
sub eax, dword [ebp + 0x78]
sub eax, esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
sub eax, dword [ebp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Add_Register_to_PS]
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], 0
mov dword [esp], 0
mov ebx, dword [0x8bde48]
mov dword [esp + 4], esi
mov dword [esp + 0x48], eax
call fcn.005854c0
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [ebx*4 + 0x8bd700], eax
xor ebx, ebx
call fcn.005854c0
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x1a8]
mov dword [esp + 0xb0], eax
add edi, 1
mov dword [esp + 0x1a0], ebp
mov dword [esp + 0x60], edi
mov dword [esp + 0x38], ecx
jmp 0x5c056a
mov edx, dword [esp + 0x78]
lea ebp, [esi + eax]
imul edx, edi
add edx, ebp
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], 1
imul esi, ecx
mov dword [esp + 8], edx
add esi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], esi
mov esi, edi
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Add_Member_to_Register]
mov edi, dword [esp + 0x40]
add dword [esp + 0x38], 0xb0
lea edx, [ebx + 1]
mov dword [edi], eax
mov eax, dword [esp + 0x7c]
cmp ebx, eax
je 0x5c05d8
mov eax, dword [esp + 0xb0]
mov ebx, edx
lea ecx, [ebx + 0x3e8]
mov dword [eax + ebx*4], ecx
mov eax, dword [0x8bde48]
mov eax, dword [eax*4 + 0x8bd700]
lea eax, [eax + ebx*4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
cmp dword [eax], 0xfffffffe
je 0x5c069a
mov edi, dword [esp + 0x1a0]
mov eax, dword [0x8bdcdc]
add eax, dword [edi + 0x7c]
lea edi, [esi + 1]
cmp dword [esp + 0x54], esi
jne 0x5c0510
mov edx, dword [esp + 0x1a0]
mov ebp, dword [edx + 0x88]
test ebp, ebp
jg 0x5c0510
mov ebp, edx
mov edx, dword [esp + 0x98]
sub edx, dword [ebp + 0x80]
jmp 0x5c051c
mov eax, dword [0x8bde48]
mov ebp, dword [esp + 0x1a0]
xor ecx, ecx
mov edi, dword [esp + 0x1a8]
mov esi, dword [esp + 0x58]
lea edx, [eax + 1]
mov dword [eax*4 + 0x8bdd20], ebp
mov dword [0x8bde48], edx
mov edx, dword [ebp + 0x144]
mov dword [eax*4 + 0x8bdd60], edi
mov edi, ecx
test edx, edx
mov dword [eax*4 + 0x8bde20], esi
mov dword [eax*4 + 0x8bdce0], 0
cmovns edi, edx
cmp edi, esi
cmovge edi, dword [esp + 0x7c]
cmp dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x84], edi
je 0x5bf30c
mov eax, dword [eax*4 + 0x8bd700]
test eax, eax
je 0x5bf30c
mov eax, dword [ebp]
sub eax, 4
and eax, 0xfffffffb
je 0x5bf30c
lea eax, [edi + 1]
mov ebx, edi
mov edi, dword [esp + 0x1a8]
imul edx, eax, 0xb0
cmp dword [edi + edx], 0xfffffffe
jne 0x5c0680
mov eax, dword [esp + 0x88]
lea ebx, [eax - 1]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Set_Selected_Register_Member]
mov eax, dword [0x8bde48]
mov dword [eax*4 + 0x8bdcdc], ebx
jmp 0x5bf30c
mov edi, dword [esp + 0x1a0]
mov eax, dword [esp + 0x98]
sub eax, dword [edi + 0x80]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], 0
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Add_Member_to_Register]
jmp 0x5c0548
mov esi, dword [esp + 0x70]
sub eax, 1
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
sub esi, 1
mov dword [esp], 0
mov dword [esp + 8], esi
call dword [sym.imp.libpcaewin.dll_Init_Mouse_Move_Restriction]
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_Y]
mov eax, dword [eax]
sub eax, 0xa
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_X]
mov eax, dword [eax]
mov dword [esp + 4], 2
mov dword [esp], 2
mov dword [esp + 0x40], eax
sub eax, 0xa
mov dword [esp + 8], eax
call dword [sym.imp.libpcaewin.dll_Set_Prop_Sheet_Screen_Base]
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_X]
mov dword [0x8bdcdc], 0
mov dword [0x8bdcd8], 0
mov eax, dword [eax]
sub eax, 1
mov dword [esp + 0x98], eax
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_Y]
mov eax, dword [eax]
sub eax, 1
mov dword [esp + 0x9c], eax
call dword [sym.imp.libpcaewin.dll_Set_NoFrameFlag_to_Next_PropSheet]
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x38]
add eax, dword [ebp + 4]
mov dword [esp + 0x18], 0x794ac9
add eax, 0x64
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 8], eax
mov eax, dword [0x8bdcd8]
mov dword [esp + 4], eax
mov eax, dword [0x8bdcdc]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Define_Prop_Sheet]
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
jmp 0x5bf01c
sub eax, 1
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp], 0
sub eax, 1
mov dword [esp + 8], eax
call dword [sym.imp.libpcaewin.dll_Init_Mouse_Move_Restriction]
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_Y]
mov eax, dword [eax]
sub eax, 0xa
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_X]
mov eax, dword [eax]
mov dword [esp + 4], 2
mov dword [esp], 2
mov dword [esp + 0x40], eax
sub eax, 0xa
mov dword [esp + 8], eax
call dword [sym.imp.libpcaewin.dll_Set_Prop_Sheet_Screen_Base]
mov esi, dword [sym.imp.libpcaewin.dll_NPIXEL_X]
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_Y]
mov edx, dword [esi]
mov eax, dword [eax]
mov dword [esp + 8], edx
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], eax
call dword [sym.imp.libpcaewin.dll_DTESetMinMaxSize]
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_X]
mov dword [0x8bdcdc], 0
mov dword [0x8bdcd8], 0
mov eax, dword [eax]
sub eax, 1
mov dword [esp + 0x98], eax
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_Y]
mov eax, dword [eax]
sub eax, 1
mov dword [esp + 0x9c], eax
call dword [sym.imp.libpcaewin.dll_Set_NoFrameFlag_to_Next_PropSheet]
mov eax, dword [sym.imp.libpcaewin.dll_MENUE_CI]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_pxBgc]
call dword [sym.imp.libpcaewin.dll_pxCls]
jmp 0x5c076c
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], 0xc0
mov dword [esp + 0x20], 0xc0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x1c], 0xc0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 4], eax
lea eax, [ebp + 0x8c]
mov dword [esp + 0x14], 0xc9
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_pxDrawTransparentDIB]
jmp 0x5c0453
mov dword [esp + 0x84], 0x28
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0x1e
mov dword [esp + 0x5c], 0xa
mov dword [esp + 0x74], 0
jmp 0x5bedee
mov dword [esp + 0x84], 0x28
mov dword [esp + 0x4c], 0x1e
mov dword [esp + 0x5c], 0xa
jmp 0x5bf252
mov eax, dword [sym.imp.libpcaewin.dll_SYMBOLIC_OK_RASTER]
mov dword [esp + 4], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xc8
mov dword [esp + 8], 1
mov dword [esp], eax
call edi
mov dword [esp + 4], 0x794ae7
mov dword [esp], eax
mov ebx, eax
call esi
mov eax, dword [esp + 0x60]
not eax
shr eax, 0x1f
cmp dword [ebp], 5
mov edi, eax
jne 0x5bf7ee
mov eax, ebx
mov dword [esp + 0x60], ebx
not eax
shr eax, 0x1f
mov edi, eax
jmp 0x5bf7ee
lea eax, [ebp + 0xf0]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Add_Help_to_PS]
mov dword [esp + 4], 0x794ae1
mov dword [esp], eax
call esi
jmp 0x5bfe9a