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

Disassembly:
push 0xffffffffffffffff
push 0x5e6fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x8c]
mov eax, dword [ebp + 0x138]
push str.EDIT
push eax
call dword [sym.imp.UxTheme.dll_OpenThemeData]
mov ebx, eax
mov dword [esp + 0x14], ebx
xor esi, esi
mov dword [esp + 0x84], esi
cmp ebx, esi
jne 0x57001d
mov edx, dword [esp + 0x98]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x54]
push edx
mov edx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push edx
push ebp
call eax
jmp 0x57033f
mov dword [esp + 0x58], esi
mov edi, vtable.wxColour.0
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 1
mov dword [esp + 0x54], edi
call fcn.004e68e0
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 3
mov dword [esp + 0x40], edi
call fcn.004e68e0
mov ebp, dword [sym.imp.UxTheme.dll_GetThemeColor]
lea ecx, [esp + 0x8c]
push ecx
push 0xeda
push 1
push 1
push ebx
mov byte [esp + 0x98], 4
call ebp
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.004a1fe0
add esp, 8
mov esi, eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 5
cmp ecx, esi
je 0x5700a3
push esi
call fcn.00423b20
mov edx, dword [esi + 8]
mov dword [esp + 0x5c], edx
movzx eax, byte [esi + 0xc]
mov byte [esp + 0x60], al
movzx ecx, byte [esi + 0xd]
mov byte [esp + 0x61], cl
movzx edx, byte [esi + 0xe]
mov byte [esp + 0x62], dl
movzx eax, byte [esi + 0xf]
mov byte [esp + 0x63], al
movzx ecx, byte [esi + 0x10]
mov byte [esp + 0x64], cl
mov edi, vtable.wxObject.0
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 4
mov dword [esp + 0x68], edi
call fcn.00423980
mov dl, byte [esp + 0x98]
and dl, 1
movsx eax, dl
neg eax
sbb eax, eax
lea ecx, [esp + 0x8c]
push ecx
and eax, 3
push 0xed9
inc eax
push eax
push 1
push ebx
call ebp
mov edx, dword [esp + 0x8c]
push edx
lea eax, [esp + 0x6c]
push eax
call fcn.004a1fe0
add esp, 8
mov esi, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 6
cmp ecx, esi
je 0x570141
push esi
call fcn.00423b20
mov edx, dword [esi + 8]
mov dword [esp + 0x48], edx
movzx eax, byte [esi + 0xc]
mov byte [esp + 0x4c], al
movzx ecx, byte [esi + 0xd]
mov byte [esp + 0x4d], cl
mov dl, byte [esi + 0xe]
mov byte [esp + 0x4e], dl
movzx eax, byte [esi + 0xf]
mov byte [esp + 0x4f], al
movzx ecx, byte [esi + 0x10]
mov byte [esp + 0x50], cl
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 4
mov dword [esp + 0x68], edi
call fcn.00423980
push 0x64
mov ebp, 1
push ebp
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x24]
call fcn.00508e60
mov esi, dword [esp + 0x90]
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], esi
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
mov byte [esp + 0x84], 7
call edx
mov dword [esp + 0x2c], edi
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
test eax, eax
je 0x5701c9
add dword [eax + 4], ebp
mov dword [esp + 0x2c], vtable.wxPen.0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x88], 8
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 0xa
mov dword [esp + 0x18], edi
call fcn.00423980
push 0x64
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x28]
call fcn.004f2fb0
mov ecx, dword [esi + 8]
mov dword [esp + 0x34], esi
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
mov byte [esp + 0x84], 0xb
call eax
mov dword [esp + 0x38], edi
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x570239
add dword [eax + 4], ebp
mov dword [esp + 0x38], vtable.wxBrush.0
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x88], 0xc
call edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 0xe
call fcn.00506650
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x94]
mov esi, dword [eax + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x174]
push esi
mov esi, dword [eax + 8]
push esi
mov esi, dword [eax + 4]
mov eax, dword [eax]
push esi
push eax
call edx
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 0xf
call edx
test al, al
je 0x5702bc
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x74]
lea eax, [esp + 0x38]
push eax
call edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 0xa
call fcn.00506650
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 0x10
call edx
test al, al
je 0x5702f9
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
lea eax, [esp + 0x2c]
push eax
call edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 4
mov dword [esp + 0x2c], edi
call fcn.00423980
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 2
mov dword [esp + 0x40], edi
call fcn.00423980
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 0
mov dword [esp + 0x54], edi
call fcn.00423980
push ebx
call dword [sym.imp.UxTheme.dll_CloseThemeData]
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x10