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

Disassembly:
push 0xffffffffffffffff
push 0x5e5941
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov edi, dword [esp + 0xec]
mov eax, dword [esp + 0xf0]
mov ebp, dword [esp + 0xe8]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
cmp edi, ebx
je 0x5629ab
mov edx, dword [esi]
mov eax, dword [edx + 0x3b8]
call eax
cmp ebp, eax
jb 0x5625aa
mov edx, dword [esi]
mov eax, dword [edx + 0x3b8]
mov ecx, esi
call eax
cmp ebp, eax
jne 0x5629ab
mov ecx, dword [esp + 0xf8]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
cmp ecx, 0xffffffff
je 0x5625df
or eax, 2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x10], ebx
je 0x5625fb
or eax, 1
cmp dword [ecx + 0x14], 8
mov dword [esp + 0x3c], eax
jb 0x5625f7
mov ecx, dword [ecx]
mov dword [esp + 0x48], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0xe4]
push ebx
mov ecx, edi
call eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00560680
mov eax, dword [esp + 0x30]
cmp eax, ebx
jle 0x56263e
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
jle 0x56263e
mov edx, dword [edi]
mov edx, dword [edx + 0x2b8]
push 3
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
mov ecx, edi
call edx
mov eax, dword [esi + 0x138]
lea ecx, [esp + 0x3c]
push ecx
push ebp
push 0x133e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x5628fc
xor al, al
cmp al, bl
jne 0x5626bd
lea edx, [esp + 0x58]
push 0x5fcf00
push edx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov dword [esp + 0xe0], ebx
cmp dword [0x695aa8], ebx
je 0x5626a1
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x5626a1
call fcn.004443b0
jmp 0x5626a6
mov al, byte [0x68a580]
cmp al, bl
je 0x5626bd
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x5626c1
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0xe0], 0xffffffff
je 0x5626ff
mov eax, dword [esp + 0x74]
and dword [esp + 0x18], 0xfffffffe
push eax
call fcn.005844d1
mov ebp, 8
add esp, 4
cmp dword [esp + 0x6c], ebp
jb 0x562704
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00584768
add esp, 4
jmp 0x562704
mov ebp, 8
cmp byte [esp + 0x17], bl
je 0x5629ab
call fcn.00420510
mov dword [esp + 0x28], eax
mov dword [esp + 0xe0], 1
call fcn.00420510
mov dword [esp + 0x2c], eax
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push str.Cant_create_the_notebook_page__s.
push edx
mov byte [esp + 0xec], 2
call fcn.00402340
add esp, 0xc
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebx
xor eax, eax
push ecx
mov edi, 7
lea ecx, [esp + 0x64]
mov dword [esp + 0xec], 3
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
call fcn.00402610
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0xe0], 4
mov dword [esp + 0x7c], 1
mov dword [esp + 0x84], str....._srcmsw_notebook.cpp
mov dword [esp + 0x8c], str.wxNotebook::InsertPage
mov dword [esp + 0x88], 0x29d
mov dword [esp + 0x90], 0x5fcf00
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor edx, edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], dx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x28]
mov byte [esp + 0xe0], 7
mov dword [esp + 0x20], eax
call fcn.0041de00
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.0041d2a0
push eax
lea ecx, [esp + 0x80]
push esi
push ecx
call fcn.0040b680
mov edx, dword [esp + 0x80]
push edx
call fcn.005844d1
add esp, 0x10
cmp dword [esp + 0x6c], ebp
jb 0x56286e
mov eax, dword [esp + 0x58]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0xc8]
xor ecx, ecx
push edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], cx
mov byte [esp + 0xe4], 3
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xc0], ebp
jb 0x5628ae
mov eax, dword [esp + 0xac]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0xac], cx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebx
mov esi, ecx
cmp ecx, ebx
je 0x5628e1
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0xe0], 0xffffffff
call fcn.004020c0
mov al, 1
jmp 0x562661
cmp dword [esi + 0x1a8], ebx
jne 0x56290b
mov ecx, esi
call fcn.00561470
mov eax, dword [esi + 0x1b0]
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
lea edx, [eax + ecx*4]
push 1
push edx
lea ecx, [esi + 0x1a8]
call fcn.0046a570
cmp dword [esi + 0x1a8], 1
je 0x56293f
mov eax, dword [esi + 0xdc]
shr eax, 9
test al, 1
je 0x56297d
push edi
mov ecx, esi
call fcn.005608d0
mov edx, dword [esi]
mov edx, dword [edx + 0x2a0]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call edx
movzx eax, word [esp + 0x24]
movzx ecx, word [esp + 0x1c]
mov edx, dword [esi + 0x138]
shl eax, 0x10
or eax, ecx
push eax
push ebx
push 5
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0x1c4]
mov ecx, ebp
cmp ecx, eax
jg 0x562990
inc eax
mov dword [esi + 0x1c4], eax
mov eax, dword [esp + 0xf4]
push eax
push ecx
mov ecx, esi
call fcn.004e4180
mov ecx, esi
call fcn.0049bc30
mov al, 1
jmp 0x5629ad
xor al, al
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.00585b7b
add esp, 0xd0
ret 0x14