Function at 0x558f60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5e4ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
mov eax, dword [ebp + 8]
xor edi, edi
push eax
mov dword [esp + 0x1c], edi
call fcn.00505cd0
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov ebx, dword [ebp + 0xc]
mov dword [esi], vtable.wxGDIPlusPenData.0
mov dword [esi + 0x18], edi
fld qword [ebx + 0x30]
push 8
fstp qword [esi + 0x20]
mov dword [esp + 0x84], edi
call fcn.00503bd0
mov edi, eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x559023
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.00557550
fld qword [esi + 0x20]
push eax
fstp dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x88], 2
mov dword [esp + 0x20], 1
call fcn.00553a30
fld dword [esp + 0x24]
add esp, 8
push edi
push 0
push ecx
mov dword [edi], 0
fstp dword [esp]
mov eax, dword [eax]
push eax
call fcn.00504820
mov dword [edi + 4], eax
jmp 0x559025
xor edi, edi
test byte [esp + 0x18], 1
mov dword [esi + 0x18], edi
mov dword [esp + 0x80], 0
je 0x559050
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.wxObject.0
call fcn.00423980
mov eax, dword [ebx + 0x24]
sub eax, 0x82
je 0x559069
dec eax
je 0x559062
dec eax
xor eax, eax
jmp 0x55906e
mov eax, 1
jmp 0x55906e
mov eax, 2
mov edi, dword [esi + 0x18]
push 0
push eax
push eax
mov eax, dword [edi]
push eax
call fcn.005048d0
test eax, eax
je 0x559084
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x20]
sub eax, 0x78
je 0x55909d
dec eax
je 0x559092
dec eax
je 0x559096
xor eax, eax
jmp 0x5590a2
mov eax, 2
jmp 0x5590a2
mov eax, 1
mov edi, dword [esi + 0x18]
mov ecx, dword [edi]
push eax
push ecx
call fcn.00504900
test eax, eax
je 0x5590b5
mov dword [edi + 4], eax
mov edi, dword [esi + 0x18]
mov edx, dword [edi]
push 0
push edx
call fcn.00504960
test eax, eax
je 0x5590c9
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
lea ecx, [eax - 0x64]
cmp ecx, 0xa
ja case.0x5590d8.106
jmp dword [ecx*4 + 0x559424]
mov dword [esp + 0x18], 2
jmp 0x5591dd
mov dword [esp + 0x18], 1
jmp 0x5591dd
mov dword [esp + 0x18], 3
jmp 0x5591dd
mov edi, dword [ebx + 0x2c]
mov ebx, dword [ebx + 0x28]
mov dword [esp + 0x18], 5
test edi, edi
je 0x5591da
test ebx, ebx
jle 0x5591da
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0058229a
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], ecx
cmp ebx, 4
jl 0x5591a0
add ecx, 8
nop
movsx edx, byte [edi + eax]
mov dword [esp + 0x20], edx
add eax, 4
fild dword [esp + 0x20]
add ecx, 0x10
fstp dword [ecx - 0x18]
movsx edx, byte [edi + eax - 3]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fstp dword [ecx - 0x14]
movsx edx, byte [edi + eax - 2]
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fstp dword [ecx - 0x10]
movsx edx, byte [edi + eax - 1]
mov dword [esp + 0x20], edx
lea edx, [ebx - 3]
fild dword [esp + 0x20]
fstp dword [ecx - 0xc]
cmp eax, edx
jl 0x559150
mov ecx, dword [esp + 0x1c]
cmp eax, ebx
jge 0x5591b9
movsx edx, byte [eax + edi]
mov dword [esp + 0x20], edx
inc eax
fild dword [esp + 0x20]
fstp dword [ecx + eax*4 - 4]
cmp eax, ebx
jl 0x5591a4
mov edi, dword [esi + 0x18]
mov eax, dword [edi]
push ebx
push ecx
push eax
call fcn.00504990
test eax, eax
je 0x5591cd
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00585c9e
add esp, 4
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 0x18]
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
push edx
push eax
call fcn.00504960
test eax, eax
je case.0x5590d8.100
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x38]
dec eax
je 0x5593b4
dec eax
jne 0x55940a
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x559214
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
fld qword [ebx + 0x60]
push 0x68fc44
lea ecx, [ebx + 0x68]
push ecx
sub esp, 0x28
fstp qword [esp + 0x20]
mov ecx, esi
fld qword [ebx + 0x58]
fstp qword [esp + 0x18]
fld qword [ebx + 0x50]
fstp qword [esp + 0x10]
fld qword [ebx + 0x48]
fstp qword [esp + 8]
fld qword [ebx + 0x40]
fstp qword [esp]
call fcn.00558d50
jmp 0x5593f1
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.005575b0
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x80], 4
test ecx, ecx
je 0x5592c9
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test al, al
je 0x5592c9
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x559281
xor edi, edi
jmp 0x559284
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x20]
call fcn.004d1af0
mov ecx, eax
call fcn.004f1c90
push eax
push edi
call fcn.005532a0
add esp, 8
push 0xc
mov dword [esi + 0x14], eax
call fcn.00503bd0
test eax, eax
je 0x5592bb
mov ecx, dword [esi + 0x14]
push 0
push ecx
mov ecx, eax
call fcn.00553570
jmp 0x5592bd
xor eax, eax
mov ecx, dword [esi + 0x18]
push eax
mov dword [esi + 0xc], eax
call fcn.00553610
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 0
call fcn.00506650
jmp case.0x5590d8.100
cmp eax, 0x6f
jl case.0x5590d8.100
cmp eax, 0x74
jg case.0x5590d8.100
add eax, 0xffffff91
cmp eax, 5
ja case.0x5592f9.115
jmp dword [eax*4 + 0x559450]
mov edi, 3
jmp 0x559325
mov edi, 5
jmp 0x559325
mov edi, 2
jmp 0x559325
mov edi, 4
jmp 0x559325
mov edi, 1
jmp 0x559325
xor edi, edi
push 0xc
call fcn.00503bd0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x559375
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
mov dword [esp + 0x24], 0xffffff
call fcn.00557550
or dword [esp + 0x18], 2
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x8c], 6
call fcn.00553a30
mov ecx, dword [esp + 0x28]
add esp, 8
push eax
push edi
call fcn.005535c0
jmp 0x559377
xor eax, eax
test byte [esp + 0x18], 2
mov dword [esi + 0xc], eax
mov dword [esp + 0x80], 0
je 0x55939d
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.wxObject.0
call fcn.00423980
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [edi]
push eax
push ecx
call fcn.00504930
jmp 0x5591ed
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x5593c3
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
fld qword [ebx + 0x58]
push 0x68fc44
lea ecx, [ebx + 0x68]
push ecx
sub esp, 0x20
fstp qword [esp + 0x18]
mov ecx, esi
fld qword [ebx + 0x50]
fstp qword [esp + 0x10]
fld qword [ebx + 0x48]
fstp qword [esp + 8]
fld qword [ebx + 0x40]
fstp qword [esp]
call fcn.00558b80
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 4]
mov edi, dword [esi + 0x18]
mov eax, dword [edi]
push edx
push eax
call fcn.00504930
test eax, eax
je 0x55940a
mov dword [edi + 4], eax
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8