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

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
push ebx
sub esp, 0x16c
mov dword [esp + 0x40], edx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.005b18d0
mov ecx, dword [0x8bd73c]
mov ebx, dword [sym.imp.libpcaewin.dll_NPIXEL_X]
mov edi, dword [sym.imp.libpcaewin.dll_NPIXEL_Y]
test ecx, ecx
jne 0x5b3477
mov edx, dword [ebx]
mov edi, dword [sym.imp.libpcaewin.dll_NPIXEL_Y]
mov dword [0x8bd73c], 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [edi]
sar eax, 1
mov dword [0x8bd738], eax
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [0x8bd734], eax
mov eax, dword [sym.imp.libpcaewin.dll_pxBuff]
mov dword [esp], 0xffffffff
mov dword [esp + 0x3c], eax
call eax
mov edx, dword [ebp]
mov dword [esp + 0x64], eax
lea eax, [edx - 4]
and eax, 0xfffffffb
mov dword [esp + 0x48], eax
je 0x5b3968
cmp edx, 8
jbe 0x5b3f26
mov esi, dword [ebp + 0x74]
mov eax, dword [edi]
mov dword [esp + 0x58], 0x21
mov dword [esp + 0x5c], 0x1b
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x4c], esi
mov esi, dword [ebp + 0x78]
mov dword [esp + 0x50], esi
mov esi, dword [ebx]
mov dword [esp + 0x44], esi
mov esi, dword [ebp + 0x7c]
mov dword [esp + 0x54], esi
mov esi, dword [ebp + 0x80]
mov dword [esp + 0x60], esi
mov esi, dword [ebp + 0x70]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x4c]
mov dword [esp + 4], 0x8bdcd8
mov ebx, dword [esp + 0x50]
mov dword [esp], 0x8bdcdc
sub eax, esi
mov esi, dword [esp + 0x5c]
sub eax, edi
sub eax, ebx
sub eax, esi
sub eax, 0x1e
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x58]
lea edx, [ecx + edi]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
add eax, edx
mov edx, esi
add eax, ebx
mov ebx, dword [esp + 0x60]
add edx, eax
mov eax, dword [esp + 0x44]
sub eax, edi
sub eax, ebx
sub eax, 0xf
cmp eax, ecx
cmovg eax, ecx
add eax, edi
add eax, ebx
mov ebx, dword [0x8bd738]
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
sub ebx, ecx
mov ecx, dword [0x8bd734]
lea eax, [eax + ebx - 1]
mov dword [0x8bdcdc], ebx
mov dword [esp + 0x78], eax
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
sub ecx, eax
lea eax, [edx + ecx - 1]
mov dword [0x8bdcd8], ecx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call dword [sym.imp.libpcaewin.dll_Check_Prop_Sheet_Frames]
mov dword [esp + 0x20], 1
mov eax, dword [ebp + 4]
mov edi, dword [0x8bdcdc]
mov ebx, dword [0x8bdcd8]
mov dword [esp + 0x14], 0
add eax, 0x69
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], eax
lea eax, [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x48], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x4c], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call dword [sym.imp.libpcaewin.dll_Define_Prop_Sheet]
mov eax, dword [0x8bde48]
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov edi, dword [esp + 0x40]
mov dword [esp], 0
lea edx, [eax + 1]
mov dword [0x8bde48], edx
mov dword [eax*4 + 0x8bd700], 0
mov dword [eax*4 + 0x8bde20], 1
mov dword [eax*4 + 0x8bdd20], ebp
mov dword [eax*4 + 0x8bdd60], edi
mov dword [eax*4 + 0x8bdce0], 0
call fcn.005854c0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0
mov dword [esp + 0x94], eax
call fcn.005854c0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0
mov dword [esp + 0x88], eax
call fcn.005854c0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0
mov dword [esp + 0x8c], eax
mov eax, dword [0x8bde48]
lea ebx, [eax - 1]
call fcn.005854c0
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 0
mov dword [ebx*4 + 0x8bdde0], eax
mov eax, dword [0x8bde48]
lea ebx, [eax - 1]
call fcn.005854c0
cmp dword [edi], 0xfffffffe
mov dword [ebx*4 + 0x8bdda0], eax
je 0x5b3adb
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x94]
mov edi, dword [esp + 0x88]
mov esi, dword [ebx + 0xa8]
test esi, esi
je 0x5b3aa0
mov dword [eax], 0x7d0
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x84]
mov edx, dword [ebp + 0x7c]
neg eax
sbb eax, eax
and eax, 0x11
neg ecx
sbb ecx, ecx
add edx, dword [0x8bdcdc]
and ecx, 0x11
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x78]
sub ecx, dword [ebp + 0x80]
mov dword [esp + 0x50], ecx
mov esi, ecx
mov ecx, dword [ebx + 0x70]
test ecx, ecx
js 0x5b3781
mov edx, dword [ebx + 0x78]
test edx, edx
jle 0x5b3781
add dword [esp + 0x44], ecx
mov ebx, dword [esp + 0x44]
add edx, ebx
cmp esi, edx
cmovle edx, esi
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x7c]
sub ebx, dword [ebp + 0x78]
sub ebx, ecx
mov ecx, dword [edx + 0x74]
mov esi, dword [esp + 0x58]
add esi, dword [0x8bdcd8]
add esi, dword [ebp + 0x74]
test ecx, ecx
js 0x5b37b6
mov edx, dword [edx + 0x7c]
test edx, edx
jle 0x5b37b6
add esi, ecx
add edx, esi
cmp ebx, edx
cmovg ebx, edx
mov edx, ebx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], esi
sub edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], 0x7d0
mov dword [esp + 0xc], edx
sub eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov dword [esp], ecx
call dword [sym.imp.libpcaewin.dll_Add_Escape_Area_to_PS]
mov dword [edi], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], 1
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Set_Escape_Area_to_MouseMoveEvent]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x8c]
mov eax, dword [edx + 0x84]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x80]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], ecx
call fcn.00665710
mov dword [edi], eax
mov eax, dword [ebp]
and eax, 0xfffffffd
cmp eax, 1
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x58], eax
jne 0x5b3b20
lea eax, [esp + 0x80]
lea esi, [esp + 0x84]
mov dword [esp + 0x60], eax
mov eax, dword [0x8bde48]
mov ebx, dword [esp + 0x40]
sub eax, 1
mov edx, dword [eax*4 + 0x8bdda0]
mov dword [edx], 1
mov edx, dword [ebx + 0x94]
test edx, edx
jle 0x5b3af8
mov ecx, dword [ebx + 0x98]
mov edi, ebx
add edx, ecx
mov ebx, dword [eax*4 + 0x8bdde0]
mov eax, dword [edi + 0xa0]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x90]
mov dword [esp + 0x10], 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov eax, dword [edi + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0065b520
mov dword [ebx], eax
fnstcw word [esp + 0x6e]
mov eax, dword [0x8bdcdc]
mov edx, dword [esp + 0x78]
lea ecx, [eax + edx]
mov dword [esp + 0x44], ecx
movzx ecx, word [esp + 0x6e]
fild dword [esp + 0x44]
fmul dword [0x794f18]
or ch, 0xc
mov word [esp + 0x6c], cx
mov ecx, dword [ebp + 0x124]
fldcw word [esp + 0x6c]
fistp dword [esp + 0x44]
fldcw word [esp + 0x6e]
add eax, dword [ebp + 0x7c]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x50], edi
sub edi, 0x17
mov dword [esp + 0x54], edi
test ecx, ecx
je 0x5b3942
lea edi, [eax + 0x20]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x7c]
cmp dword [ebp], 8
mov dword [esp + 0x5c], edi
lea ebx, [edi - 0x1d]
ja case.0x5b395a.0
mov ecx, dword [ebp]
jmp dword [ecx*4 + 0x794af4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov esi, dword [ebx]
mov ecx, dword [ebp + 0x74]
mov eax, dword [edi]
mov dword [esp + 0x44], esi
mov esi, dword [ebp + 0x7c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x78]
mov dword [esp + 0x54], esi
mov esi, dword [ebp + 0x80]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x60], esi
mov esi, dword [ebp + 0x70]
mov dword [esp + 0x68], esi
cmp edx, 8
je 0x5b4492
mov edx, dword [esp + 0x48]
test edx, edx
jne 0x5b34ea
sub eax, 1
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
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 [edi]
sub eax, 0xa
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov dword [esp + 4], 2
sub eax, 0xa
mov dword [esp], 2
mov dword [esp + 8], eax
call dword [sym.imp.libpcaewin.dll_Set_Prop_Sheet_Screen_Base]
mov eax, dword [ebx]
mov dword [0x8bdcdc], 0
mov dword [0x8bdcd8], 0
sub eax, 1
mov dword [esp + 0x78], eax
mov eax, dword [edi]
sub eax, 1
mov dword [esp + 0x7c], eax
call dword [sym.imp.libpcaewin.dll_Set_NoFrameFlag_to_Next_PropSheet]
mov dword [esp + 0x20], 1
mov eax, dword [ebp + 4]
mov dword [esp + 0x18], 0x794ac9
add eax, 0x69
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
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 + 0x4c], 0
mov dword [esp + 0x48], 0
jmp 0x5b35f6
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x8c]
mov dword [edi], 0xffffffff
mov dword [eax], 0xffffffff
mov eax, dword [0x8bde48]
sub eax, 1
mov edx, dword [eax*4 + 0x8bdda0]
mov eax, dword [eax*4 + 0x8bdde0]
mov dword [edx], 1
mov dword [eax], 0xffffffff
lea eax, [esp + 0x80]
lea esi, [esp + 0x84]
mov dword [esp + 0x60], eax
jmp 0x5b38e8
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
mov edi, ebx
sub edx, ecx
mov ecx, dword [esp + 0x54]
sub edx, 0xa
sub edx, ecx
mov ecx, dword [ebx + 0x98]
jmp 0x5b38a3
mov eax, dword [eax]
mov edx, dword [0x8cdec0]
mov dword [esp + 0x5c], eax
mov ecx, edx
mov eax, dword [esp + 0x88]
shl ecx, 5
mov edi, dword [eax]
lea eax, [ecx + 0x8cdc40]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x50]
mov dword [ecx + 0x8cdc40], edi
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x10], esi
mov edi, dword [esp + 0x44]
lea esi, [esp + 0x80]
mov dword [esp + 0x60], esi
mov dword [eax + 0x18], esi
lea esi, [esp + 0x84]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], esi
cmp edx, 0x13
jg 0x5b3872
add edx, 1
mov dword [0x8cdec0], edx
cmp edx, 1
jne 0x5b3872
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, dword [esp + 0x8c]
mov dword [0x8bde70], 1
mov dword [esp + 0x58], eax
jmp 0x5b3872
mov dword [esp + 0x44], 0xffffffff
xor ebx, ebx
mov eax, dword [ebp + 0x128]
test eax, eax
je 0x5b3c01
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x78]
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 + 0x40]
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x5b3c23
mov edx, dword [0x8bde48]
mov edx, dword [edx*4 + 0x8bdddc]
mov edx, dword [edx]
mov dword [esp], edx
call eax
mov eax, dword [0x755e7c]
test eax, eax
je 0x5b3c4d
test bl, bl
je 0x5b3c4d
mov eax, dword [esp + 0x44]
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 + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
call eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], esi
xor esi, esi
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Prop_Sheet_Displacement]
mov eax, ebp
mov ebp, esi
mov esi, eax
lea esi, [esi]
mov dword [0x8bdcd4], 0
mov dword [0x8bdcd0], 0
mov edx, dword [esi + 0x124]
test edx, edx
je 0x5b3d30
xor eax, eax
lea edi, [esp + 0x98]
mov ecx, 0x32
rep stosd dword es:[edi], eax
lea ebx, [esp + 0x98]
mov dword [esp], ebx
call edx
mov edi, dword [sym.imp.libpcaewin.dll_BUTTON_CI]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ecx, dword [edi]
mov edi, dword [sym.imp.libpcaewin.dll_BLACK_CI]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x20], ecx
lea ecx, [edi + edx - 9]
lea edx, [edi + edx - 0x1a]
mov dword [esp + 0x1c], 0x1000
mov dword [esp + 0xc], ecx
lea ecx, [ebx + eax - 0x14]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x18], 1
lea eax, [ebx + eax + 0x1e]
mov dword [esp + 0x14], 0xd1
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006e0e90
mov eax, dword [esp + 0x44]
test eax, eax
js 0x5b3d49
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 + 0x3c]
call eax
mov edi, eax
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x5b3d74
mov edx, dword [0x8bde48]
mov edx, dword [edx*4 + 0x8bdcdc]
mov dword [esp], edx
call eax
mov eax, dword [0x8bde48]
sub eax, 1
mov edx, dword [eax*4 + 0x8bdce0]
cmp edx, ebp
je 0x5b3e46
test ebp, ebp
js 0x5b3e18
mov ecx, dword [esp + 0x8c]
lea ebx, [ebp*4]
mov dword [esp + 0x60], ebx
mov ebx, dword [ecx + ebp*4]
mov dword [esp + 0x58], ebx
test ebx, ebx
js 0x5b3e18
mov ebx, dword [eax*4 + 0x8bdde0]
mov ebx, dword [ebx + ebp*4]
test ebx, ebx
js 0x5b3e18
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x60]
mov ecx, dword [ebx + ecx]
test ecx, ecx
js 0x5b3e18
mov eax, dword [esp + 0x58]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00667da0
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x60]
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 edx, dword [eax*4 + 0x8bdce0]
lea esi, [esi]
mov ecx, dword [esi + 0x138]
test ecx, ecx
je 0x5b4220
mov dword [esp + 4], edx
mov dword [esp], ebp
call ecx
test eax, eax
mov eax, dword [0x8bde48]
jne 0x5b4210
sub eax, 1
mov ebp, dword [eax*4 + 0x8bdce0]
test ebp, ebp
js 0x5b3e80
mov ecx, dword [esp + 0x8c]
lea ebx, [ebp*4]
mov ecx, dword [ecx + ebp*4]
test ecx, ecx
js 0x5b3e80
mov eax, dword [eax*4 + 0x8bdde0]
mov eax, dword [eax + ebp*4]
test eax, eax
js 0x5b3e80
mov eax, dword [esp + 0x88]
mov eax, dword [eax + ebx]
test eax, eax
jns 0x5b4250
nop
mov dword [esp], edi
mov eax, dword [esp + 0x3c]
call eax
mov ebx, dword [esi + 0x148]
test ebx, ebx
js 0x5b4200
mov dword [esi + 0x148], 0xffffffff
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
add eax, edx
mov dword [0x8bdcdc], eax
mov eax, dword [esp + 0x84]
lea ecx, [eax + edi]
mov dword [0x8bdcd8], ecx
cmp ebx, 0x64
je 0x5b3f60
cmp ebx, 0xc8
jne 0x5b4150
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 0x5b3c80
mov eax, dword [esi + 0x130]
test eax, eax
je 0x5b3f16
call eax
test eax, eax
jne 0x5b3c80
mov eax, esi
mov dword [esp + 0x3c], 1
mov esi, ebp
mov ebp, eax
jmp 0x5b3f8e
mov eax, 0x114
mov dword [esp + 0x58], 0x21
bt eax, edx
setb al
cmp al, 1
sbb eax, eax
and eax, 0x1b
mov dword [esp + 0x5c], eax
jmp 0x5b3978
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
lea esi, [esi]
nop
add dword [0x8bd734], eax
mov eax, dword [esi + 0x134]
add dword [0x8bd738], edx
test eax, eax
je 0x5b3f80
call eax
test eax, eax
jne 0x5b3c80
mov dword [esp + 0x3c], 0
mov eax, esi
mov esi, ebp
mov ebp, eax
mov eax, dword [0x8bde48]
mov ebx, dword [0x8bf4b4]
mov edi, ebx
sub edi, dword [eax*4 + 0x8bf49c]
lea ecx, [eax - 1]
cmp ebx, edi
jle 0x5b3fd0
mov eax, edi
shl ebx, 4
shl eax, 4
add ebx, 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 ebx, eax
jne 0x5b3fc0
mov edx, dword [0x8be4d4]
mov dword [0x8bf4b4], edi
mov dword [ecx*4 + 0x8bf4a0], 0
mov edi, edx
sub edi, dword [ecx*4 + 0x8be4c0]
cmp edx, edi
jle 0x5b4048
fnstcw word [esp + 0x6e]
mov eax, edi
shl edx, 4
shl eax, 4
add edx, 0x8bde80
movzx ebx, word [esp + 0x6e]
add eax, 0x8bde80
or bh, 0xc
mov word [esp + 0x6c], bx
lea esi, [esi]
nop
fldz
fld qword [eax + 8]
mov ebx, dword [eax]
fcomi st(1)
fstp st(1)
jb 0x5b4230
fadd dword [0x794f18]
add eax, 0x10
fldcw word [esp + 0x6c]
fistp dword [ebx]
fldcw word [esp + 0x6e]
cmp edx, eax
jne 0x5b4020
mov eax, dword [0x755e80]
test eax, eax
je 0x5b4062
mov dword [0x8be4d4], edi
mov dword [ecx*4 + 0x8be4c0], 0
mov edi, dword [esp + 0x40]
mov eax, dword [ecx*4 + 0x8bee40]
mov dword [ecx*4 + 0x8bee40], 0
sub dword [0x8bee54], eax
cmp dword [edi], 0xfffffffe
je 0x5b4094
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
test eax, eax
jns 0x5b4410
mov eax, dword [ebp + 0x140]
test eax, eax
je 0x5b40a0
call eax
mov dword [ebp + 0x144], esi
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 + 0x90]
mov dword [esp], eax
call fcn.005858a0
lea eax, [esp + 0x94]
mov dword [esp], eax
call fcn.005858a0
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.005858a0
lea eax, [esp + 0x8c]
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
mov eax, dword [esp + 0x3c]
sub dword [0x8bde48], 1
mov dword [0x8bdcd4], 0
mov dword [0x8bdcd0], 0
add esp, 0x16c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esi + 0x12c]
test ecx, ecx
je 0x5b4197
mov edx, dword [sym.imp.libpcaewin.dll_Activate_Call_Allways_Function]
mov dword [esp], 0
mov dword [esp + 0x58], edx
call edx
mov dword [esp], ebx
call dword [esi + 0x12c]
mov edx, dword [0x8bde70]
mov edi, eax
test edx, edx
mov edx, dword [esp + 0x58]
jne 0x5b43a8
mov dword [esp], 0
call edx
test edi, edi
jne 0x5b41c0
sub ebx, 0x7d0
cmp ebx, 0x3e7
ja 0x5b41c0
mov eax, dword [0x8bde48]
mov eax, dword [eax*4 + 0x8bdddc]
mov eax, dword [eax + ebx*4]
test eax, eax
jns 0x5b43e0
lea esi, [esi]
mov eax, dword [0x8bdcd4]
test eax, eax
jne 0x5b3f49
mov edi, dword [0x8bdcd0]
test edi, edi
je 0x5b3c94
mov eax, dword [esp + 0x80]
add dword [0x8bd738], eax
mov eax, dword [0x8bd734]
add eax, dword [esp + 0x84]
jmp 0x5b3ee8
call dword [sym.imp.libpcaewin.dll_Edit_Prop_Sheet]
mov ebx, eax
jmp 0x5b3ea1
sub eax, 1
mov dword [eax*4 + 0x8bdce0], ebp
jmp 0x5b3e46
mov ebp, edx
jmp 0x5b3e46
fsub dword [0x794f18]
add eax, 0x10
fldcw word [esp + 0x6c]
fistp dword [ebx]
fldcw word [esp + 0x6e]
cmp eax, edx
jne 0x5b4020
jmp 0x5b4048
imul eax, ebp, 0xb0
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], esi
mov esi, ebx
add eax, edx
mov ebx, eax
mov dword [esp], ecx
call fcn.00667c70
mov edx, dword [esp + 0x8c]
mov edx, dword [edx + esi]
mov dword [esp], edx
call fcn.005b32e0
mov edx, dword [0x8bde48]
mov edx, dword [edx*4 + 0x8bdddc]
mov edx, dword [edx + esi]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x8c]
mov edx, dword [edx + esi]
mov dword [esp], edx
call dword [ebx + 0xa8]
mov eax, dword [0x8bde48]
lea edx, [eax - 1]
mov ecx, dword [edx*4 + 0x8bdda0]
mov eax, dword [ecx + esi]
test eax, eax
jne 0x5b43c0
mov edx, dword [ebx + 0x88]
mov ecx, dword [ebx + 0x8c]
test edx, edx
jg 0x5b42db
test ecx, ecx
jle 0x5b4319
mov dword [esp + 0x60], ecx
fild dword [esp + 0x60]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x8c]
fstp qword [esp + 0xc]
fild dword [esp + 0x60]
fstp qword [esp + 4]
mov edx, dword [edx + esi]
mov dword [esp], edx
call fcn.0066a0b0
mov dword [ebx + 0x8c], 0xffffffff
mov dword [ebx + 0x88], 0xffffffff
mov edx, dword [esp + 0x8c]
mov dword [esp + 4], 1
mov edx, dword [edx + esi]
mov dword [esp], edx
call fcn.00667da0
mov edx, dword [esp + 0x8c]
mov edx, dword [edx + esi]
mov dword [esp], edx
call fcn.00667a80
mov edx, dword [esp + 0x88]
mov dword [esp + 4], 1
mov edx, dword [edx + esi]
mov dword [esp], edx
call dword [sym.imp.libpcaewin.dll_Change_Activity_PS]
mov eax, dword [0x8bdccc]
test eax, eax
je 0x5b4398
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x5b4398
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x58], 1
mov dword [0x8bdccc], 0
mov ecx, dword [edx + esi]
jmp 0x5b426c
mov esi, dword [esp + 0x64]
jmp 0x5b3e80
mov dword [esp], 1
call edx
jmp 0x5b4193
mov edx, dword [edx*4 + 0x8bdde0]
mov edx, dword [edx + esi]
mov dword [esp], edx
call fcn.0065b960
jmp 0x5b42c7
mov dword [esp], eax
call fcn.0065bf00
test eax, eax
jne 0x5b41c0
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + ebx*4]
mov dword [esp], eax
call fcn.00667e50
jmp 0x5b41c0
lea edx, [edi + 0x8c]
mov dword [esp], eax
mov dword [esp + 8], edx
lea edx, [edi + 0x88]
mov dword [esp + 4], edx
call fcn.0066a390
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0065c860
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00667c10
mov eax, dword [ebp]
and eax, 0xfffffffd
cmp eax, 1
je 0x5b4094
mov eax, dword [0x8cdec0]
test eax, eax
jle 0x5b446e
sub eax, 1
mov dword [0x8cdec0], eax
test eax, eax
jne 0x5b4094
mov dword [esp], 0
call dword [sym.imp.libpcaewin.dll_Activate_Call_Allways_Function]
mov dword [0x8bde70], 0
jmp 0x5b4094
sub eax, 1
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
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 [edi]
sub eax, 0xa
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov dword [esp + 4], 2
sub eax, 0xa
mov dword [esp], 2
mov dword [esp + 8], eax
call dword [sym.imp.libpcaewin.dll_Set_Prop_Sheet_Screen_Base]
mov edx, dword [edi]
mov eax, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_DTESetMinMaxSize]
mov eax, dword [ebx]
mov dword [0x8bdcdc], 0
mov dword [0x8bdcd8], 0
sub eax, 1
mov dword [esp + 0x78], eax
mov eax, dword [edi]
sub eax, 1
mov dword [esp + 0x7c], 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 0x5b3a38
mov edx, dword [sym.imp.libpcaewin.dll_SYMBOLIC_BREAK_RASTER]
sub eax, 3
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
mov edx, dword [sym.imp.libpcaewin.dll_Add_Single_Button_to_PS]
mov dword [esp + 0xc], 0x64
mov dword [esp + 0x58], edx
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], eax
call edx
mov dword [esp + 4], 0x794ad7
mov edi, dword [sym.imp.libpcaewin.dll_Set_Comment_to_Button_PS]
mov dword [esp + 0x44], eax
mov dword [esp], eax
call edi
mov eax, dword [esp + 0x78]
sub eax, dword [ebp + 0x80]
sub eax, 0x17
cmp byte [ebp + 0xf0], 0
mov edx, dword [esp + 0x58]
mov dword [esp + 0x50], eax
jne 0x5b4748
cmp dword [ebp], 7
jne 0x5b46d6
mov eax, dword [esp + 0x44]
not eax
shr eax, 0x1f
mov ebx, eax
jmp 0x5b3bd2
mov eax, dword [esp + 0x50]
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 + 0x44], eax
not eax
shr eax, 0x1f
mov ebx, eax
jmp 0x5b3bd2
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 + 0x50], 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 0x5b4606
mov eax, dword [esp + 0x5c]
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 + 0x50]
mov dword [esp + 0xc], 0xc8
mov dword [esp + 8], 1
sub eax, 0x32
jmp 0x5b4606
mov eax, dword [esp + 0x50]
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 0x5b4606
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 + 0x50]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xc8
mov dword [esp + 8], 1
mov dword [esp], eax
call edx
mov dword [esp + 4], 0x794ae7
mov dword [esp], eax
mov dword [esp + 0x58], eax
call edi
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
not eax
shr eax, 0x1f
cmp dword [ebp], 5
mov ebx, eax
jne 0x5b3bd2
mov eax, edx
mov dword [esp + 0x44], edx
not eax
shr eax, 0x1f
mov ebx, eax
jmp 0x5b3bd2
lea eax, [ebp + 0xf0]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
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 edi
mov edx, dword [esp + 0x58]
jmp 0x5b45b9