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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov eax, dword [0x8ce2e4]
test eax, eax
jne 0x5d34f7
mov eax, dword [sym.imp.libpcaewin.dll_NPIXEL_X]
mov dword [0x8ce2e4], 1
mov edx, dword [eax]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [0x8ce2e0], 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 [0x8ce2dc], eax
mov eax, dword [0x8ce064]
test eax, eax
je 0x5d3f60
xor edx, edx
lea esi, [esi]
lea esi, [esi]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0xdc]
cmp edx, ecx
cmovl edx, ecx
test eax, eax
jne 0x5d3510
add edx, 1
mov dword [esp + 0x3c], edx
fild dword [esp + 0x3c]
lea ebx, [esp + 0x8d]
mov dword [esp + 8], 0x798c90
mov dword [esp + 4], str.__30.30s
mov dword [esp], ebx
fstp qword [esp + 0x80]
call fcn.005c5170
mov eax, dword [0x8cea3c]
mov dword [esp + 0x6c], 0
test eax, eax
je 0x5d3880
call fcn.005dbd00
mov esi, eax
test eax, eax
je 0x5d3873
call fcn.005cabd0
mov edi, eax
test eax, eax
je 0x5d3873
mov ebp, dword [0x8cea3c]
test ebp, ebp
je 0x5d3ea0
mov dword [esp], ebx
call fcn.0066c820
test eax, eax
je 0x5d3e88
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.msvcrt.dll_strcpy
fld qword [esp + 0x80]
fnstcw word [esp + 0x4e]
movzx eax, word [esp + 0x4e]
or ah, 0xc
mov word [esp + 0x4c], ax
fldcw word [esp + 0x4c]
fistp dword [esp + 0x3c]
fldcw word [esp + 0x4e]
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x38], eax
test eax, eax
jle 0x5d3f30
mov dword [edi + 0xb8], esi
lea eax, [esi + 0x188]
lea edx, [edi + 0x58]
lea ebx, [esi + 0x958]
lea esi, [esi]
nop
mov ecx, dword [eax]
add eax, 0x64
add edx, 4
mov dword [edx - 4], ecx
cmp eax, ebx
jne 0x5d3600
mov eax, dword [esi + 0xe4]
mov dword [edi + 0x3c], 1
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0xe8]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0xec]
mov dword [edi + 0x54], 0
mov esi, dword [sym.imp.libpcaewin.dll_pxBuff]
mov dword [edi + 0x48], eax
mov dword [edi + 0x50], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xac], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xc4], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xb4], 2
mov dword [edi + 0xd4], 0
mov dword [esp], 0xffffffff
call esi
mov dword [esp], 1
mov ebp, eax
call fcn.005cbac0
call fcn.005c4e80
mov dword [esp], 1
call fcn.005cbac0
mov eax, dword [edi + 0xb8]
mov edx, dword [0x8ce06c]
mov ecx, dword [eax + 0xa0]
bt ecx, edx
jae 0x5d3dc8
test byte [0x757390], 0x20
je 0x5d3713
cmp dword [eax + 0xac], 1
je 0x5d3f9f
mov dword [esp], 0x6c
call sub.msvcrt.dll_malloc
mov ebx, eax
test eax, eax
je 0x5d4007
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x5d3ffc
mov eax, dword [edi + 0xc0]
mov dword [eax + 0x68], ebx
mov dword [ebx + 0x64], eax
mov dword [edi + 0xc0], ebx
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x58], edi
mov dword [ebx], 0x6e617453
mov dword [ebx + 4], 0x64726164
mov dword [ebx + 8], 0x626d6f6b
mov dword [ebx + 0xc], 0x74616e69
mov dword [ebx + 0x10], 0x6e6f69
jmp 0x5d3791
mov edx, 0x20
mov word [ebx + eax], dx
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
cmp eax, 0x1d
jbe 0x5d3788
lea eax, [esp + 0x7c]
mov dword [ebx + 0x20], 1
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x58], edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x74]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
lea eax, [ebx + 0x24]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.005fab40
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x5c], eax
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x78]
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x48], eax
add dword [edi + 0xa8], 1
mov dword [ebx + 0x60], 0
lea esi, [esi]
mov dword [esp], 0
call fcn.005cb1d0
mov ecx, dword [0x8ce0a4]
test ecx, ecx
jne 0x5d3f70
mov eax, dword [edi + 0xd4]
test eax, eax
je 0x5d3866
mov dword [esp + 4], eax
mov eax, dword [0x8ce050]
mov dword [esp + 8], 1
mov dword [esp], eax
call dword [sym.imp.libpcaegrft.dll_showTreeViewElement]
mov dword [esp], edi
call fcn.005cce30
mov dword [esp], ebp
call esi
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0xffffffff
mov esi, dword [sym.imp.libpcaewin.dll_pxBuff]
call esi
mov dword [esp + 0x44], eax
mov eax, dword [0x8ce2e0]
lea edx, [eax - 0xac]
add eax, 0xac
mov dword [esp + 0x5c], eax
mov eax, dword [0x8ce2dc]
mov dword [esp + 0x54], edx
lea edx, [eax - 0xb9]
add eax, 0xb8
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x58], edx
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Check_Prop_Sheet_Frames]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 7
lea eax, [edi + 0xac]
mov dword [esp + 0x40], ecx
mov dword [0x8ce2e0], eax
lea eax, [ecx + 0xb9]
mov dword [0x8ce2dc], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], edi
mov dword [esp], edi
mov dword [esp + 0x18], 0x798c9c
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 1
mov dword [esp + 8], eax
call dword [sym.imp.libpcaewin.dll_Define_Prop_Sheet]
mov eax, dword [esp + 0x58]
mov edi, dword [sym.imp.libpcaewin.dll_Draw_Funny_Text_to_PS]
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x1000
add eax, 0x6d
mov dword [esp + 8], str.Nummer_und_Bezeichung_des_neuen_Nachweises
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
add eax, 0x11
mov dword [esp], eax
call edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x1000
add eax, 0x3a
mov dword [esp + 8], str.Zuordnung_zum_Nachweistyp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
add eax, 0x11
mov dword [esp], eax
call edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x1000
add eax, 0x3a
mov dword [esp + 8], str.Zuordnung_zum_Nachweistyp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
add eax, 0x12
mov dword [esp], eax
call edi
lea eax, [esp + 0x80]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], 1
add eax, 0x74
mov dword [esp + 0xc], 0x7965b8
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], 4
add eax, 0x12
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Add_Float_to_PS]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0
add eax, 0x74
mov dword [esp + 0xc], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], 0x1e
add eax, 0x4a
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Add_Text_to_PS]
mov dword [esp + 4], 0x32
mov dword [esp + 0x48], eax
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Set_Text_Button_to_ScrollMode]
lea eax, [esp + 0x6c]
mov dword [esp + 0x14], 0x12
mov dword [esp + 0x1c], eax
mov eax, dword [0x8cea30]
mov dword [esp + 0x10], 0x23
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], 1
add eax, 0x41
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
add eax, 0x12
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Add_Stringlist_to_PS]
mov edi, dword [sym.imp.libpcaewin.dll_Add_Single_Button_to_PS]
mov dword [esp + 0x18], 0
mov ebp, eax
mov eax, dword [sym.imp.libpcaewin.dll_SYMBOLIC_OK_RASTER]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xb
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], 1
sub eax, 0x1c
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
add eax, 0x131
mov dword [esp], eax
call edi
mov eax, dword [sym.imp.libpcaewin.dll_SYMBOLIC_BREAK_RASTER]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], 0xc
sub eax, 0x1c
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
add eax, 0xf
mov dword [esp], eax
call edi
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], str.XNCHW_NEWNCHW
mov dword [esp + 0x10], 0
sub eax, 0x1c
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], 1
add eax, 0xa1
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Add_Help_to_PS]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x75600c
add eax, 0x63
mov dword [esp + 0x10], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], 2
add eax, 0x12b
mov dword [esp + 8], 1
mov dword [esp], eax
call edi
mov dword [esp + 8], str.Bezeichnung_des_nNachweistyps_als_nNachweisbezeichnung_n
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0066cae0
mov edi, dword [0x8ce068]
test edi, edi
je 0x5d3c46
nop
mov eax, dword [0x8cea40]
test eax, eax
je 0x5d3c08
mov edx, dword [edi + 0x98]
mov dword [esp], edx
call eax
test eax, eax
je 0x5d3c3c
mov eax, dword [edi + 0xd0]
mov dword [esp + 8], eax
mov eax, dword [edi + 0xcc]
mov dword [esp + 4], eax
mov eax, dword [edi + 0xc8]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Nearest_Color_Index]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebp
call dword [sym.imp.libpcaewin.dll_Fill_Stringlist_of_PS]
mov edi, dword [edi + 0x94c]
test edi, edi
jne 0x5d3bf0
mov eax, dword [esp + 0x58]
add eax, 0x4b
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
add eax, 0x64
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_msStCu]
call dword [sym.imp.libpcaewin.dll_Activate_Prop_Sheet]
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call esi
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
lea eax, [esp + 0x64]
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Prop_Sheet_Displacement]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x54]
lea esi, [edx + 0x93]
add edx, 0x146
mov dword [esp + 4], edi
mov dword [esp], edx
lea ecx, [eax + 0x14a]
mov edx, esi
add eax, 0x12
xor esi, esi
call fcn.005c93e0
call dword [sym.imp.libpcaewin.dll_Edit_Prop_Sheet]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
lea ebp, [edi + ecx]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x54], ebp
add edx, edi
mov dword [esp + 0x58], edx
cmp eax, 0xb
je 0x5d3e30
jg 0x5d3d70
cmp eax, 1
je 0x5d3e58
cmp eax, 2
jne 0x5d3cb6
mov esi, dword [0x8ce068]
mov ebp, dword [esp + 0x6c]
test esi, esi
je 0x5d3d43
mov edi, 0xffffffff
lea esi, [esi]
mov eax, dword [0x8cea40]
test eax, eax
je 0x5d3da8
mov edx, dword [esi + 0x98]
mov dword [esp], edx
call eax
test eax, eax
je 0x5d3d33
add edi, 1
cmp ebp, edi
je 0x5d3d43
mov esi, dword [esi + 0x94c]
test esi, esi
jne 0x5d3d10
mov esi, dword [0x8ce068]
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_strcpy
mov eax, dword [esp + 0x48]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.libpcaewin.dll_Change_Activity_PS]
jmp 0x5d3cb6
cmp eax, 0xc
jne 0x5d3cb6
add dword [0x8ce2e0], ecx
add dword [0x8ce2dc], edi
call dword [sym.imp.libpcaewin.dll_Undefine_Prop_Sheet]
mov eax, dword [0x8cea3c]
test eax, eax
jne 0x5d3568
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edi + 1]
cmp ebp, eax
je 0x5d3d43
mov esi, dword [esi + 0x94c]
test esi, esi
je 0x5d3d3d
add eax, 1
cmp ebp, eax
jne 0x5d3daf
jmp 0x5d3d43
mov ebx, dword [0x8cea38]
test ebx, ebx
je 0x5d3828
mov dword [esp], edi
call fcn.00609810
mov ebx, eax
test eax, eax
je 0x5d3828
mov dword [esp], eax
call fcn.00601fc0
call fcn.006024b0
mov dword [esp], ebx
call fcn.00603530
call fcn.00604310
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.00602900
call fcn.00601de0
add dword [edi + 0xb0], 1
mov dword [ebx + 0x74], 0
jmp 0x5d3828
add dword [0x8ce2e0], ecx
add dword [0x8ce2dc], edi
call dword [sym.imp.libpcaewin.dll_Undefine_Prop_Sheet]
mov eax, dword [0x8cea3c]
test eax, eax
je 0x5d3577
jmp 0x5d3568
lea ecx, [ebp + 0x14a]
lea eax, [ebp + 0x12]
mov ebp, dword [esp + 0x6c]
lea edi, [edx + 0x93]
add edx, 0x146
mov dword [esp], edx
mov edx, edi
mov dword [esp + 4], ebp
call fcn.005c93e0
jmp 0x5d3cb6
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_strcpy
jmp 0x5d35a4
mov esi, dword [0x8ce068]
mov edx, dword [esp + 0x6c]
test esi, esi
je 0x5d3594
mov dword [esp + 0x3c], eax
mov edi, esi
mov ebp, 0xffffffff
mov esi, edx
nop
mov eax, dword [0x8cea40]
test eax, eax
je 0x5d3f00
mov ecx, dword [edi + 0x98]
mov dword [esp], ecx
call eax
test eax, eax
je 0x5d3ee3
add ebp, 1
cmp esi, ebp
je 0x5d4011
mov edi, dword [edi + 0x94c]
test edi, edi
jne 0x5d3ec0
mov edi, dword [esp + 0x3c]
mov esi, dword [0x8ce068]
jmp 0x5d3594
mov edx, esi
lea eax, [ebp + 1]
mov esi, edi
mov edi, dword [esp + 0x3c]
cmp edx, eax
jne 0x5d3f23
jmp 0x5d3594
add eax, 1
cmp edx, eax
je 0x5d3594
mov esi, dword [esi + 0x94c]
test esi, esi
jne 0x5d3f18
jmp 0x5d3ef1
call dword [sym.imp.libpcaewin.dll_Init_Message]
mov ebx, dword [sym.imp.libpcaewin.dll_Fill_Message]
mov dword [esp], str.Nachweisnummer_mu
call ebx
mov dword [esp], 0x798d63
call ebx
call dword [sym.imp.libpcaewin.dll_Draw_Message]
mov dword [edi + 0x38], 1
jmp 0x5d35e3
fld1
jmp 0x5d352d
mov eax, dword [0x8ce050]
mov dword [esp], eax
call dword [sym.imp.libpcaegrft.dll_redrawTreeView]
mov edx, dword [0x8ce0a4]
test edx, edx
je 0x5d3842
mov eax, dword [0x8ce050]
mov dword [esp], eax
call dword [sym.imp.libpcaegrft.dll_redrawTreeView]
jmp 0x5d3842
cmp dword [eax + 0xbc], 2
jne 0x5d3713
test byte [eax + 0xc4], 1
je 0x5d3713
mov eax, dword [eax + 0x98]
lea edx, [eax - 0x51]
cmp edx, 1
setbe dl
cmp eax, 0x2b
sete cl
or dl, cl
jne 0x5d3713
cmp eax, 0xe0
je 0x5d3713
mov ecx, dword [0x8ce09c]
test ecx, ecx
je 0x5d3713
mov dword [esp], edi
call fcn.005d2c70
jmp 0x5d3828
mov dword [edi + 0xbc], ebx
jmp 0x5d3740
call fcn.005c7180
jmp 0x5d3f7e
mov esi, edi
mov edi, dword [esp + 0x3c]
jmp 0x5d3594