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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cc758
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67ff88]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
push 0x150
mov dword [esp + 0x1c], ebx
call fcn.005740d0
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x58], ebx
test esi, esi
je 0x53877e
mov eax, dword [0x5f09fc]
push eax
push ebx
push 0x5fe0a8
lea ecx, [esp + 0x34]
call fcn.004cf3b0
mov eax, dword [section..data]
mov byte [esp + 0x58], 1
mov dword [esp + 0x18], 1
test eax, eax
jne 0x538730
mov eax, 0x63141c
mov ecx, dword [0x5f09fc]
push ecx
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.004cf3b0
lea edx, [esp + 0x28]
push edx
push 0x6907ac
push 0
push 0x67a43c
push 0x67a444
lea eax, [esp + 0x38]
push eax
push 0x138b
mov ebx, 3
push ebp
mov ecx, esi
mov dword [esp + 0x78], 2
mov dword [esp + 0x38], ebx
call fcn.0041e530
jmp 0x538780
xor eax, eax
or esi, 0xffffffff
mov dword [ebp + 0x1d8], eax
mov dword [esp + 0x58], 3
test bl, 2
je 0x5387b6
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and ebx, 0xfffffffd
mov dword [esp + 0x18], ebx
cmp eax, esi
je 0x5387b6
add eax, esi
mov dword [ecx], eax
jne 0x5387b6
call fcn.004ce2e0
mov dword [esp + 0x58], esi
test bl, 1
je 0x5387dc
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and ebx, 0xfffffffe
cmp eax, esi
je 0x5387dc
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5387dc
call fcn.004ce2e0
push 0x150
call fcn.005740d0
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], 5
test edi, edi
je 0x53883a
mov ecx, dword [0x5f09fc]
push ecx
push 0
push str.staticLine
lea ecx, [esp + 0x34]
call fcn.004cf3b0
lea edx, [esp + 0x28]
push edx
push 4
push 0x67a43c
push 0x67a444
push esi
or ebx, 4
push ebp
mov ecx, edi
mov byte [esp + 0x70], 6
mov dword [esp + 0x30], ebx
call fcn.0052cad0
jmp 0x53883c
xor eax, eax
mov dword [ebp + 0x1d4], eax
mov dword [esp + 0x58], esi
test bl, 4
je 0x538868
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and ebx, 0xfffffffb
cmp eax, esi
je 0x538868
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x538868
call fcn.004ce2e0
push 0x170
call fcn.005740d0
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x58], 8
test edi, edi
je 0x5388cd
mov eax, dword [0x5f09fc]
push eax
push 0
push str.listCtrl
lea ecx, [esp + 0x34]
call fcn.004cf3b0
lea ecx, [esp + 0x28]
push ecx
push 0x6907ac
push 0x8002820
push 0x67a43c
push 0x67a444
push esi
or ebx, 8
push ebp
mov ecx, edi
mov byte [esp + 0x74], 9
mov dword [esp + 0x34], ebx
call fcn.005370b0
jmp 0x5388cf
xor eax, eax
mov dword [ebp + 0x1d0], eax
mov dword [esp + 0x58], esi
test bl, 8
je 0x5388f8
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, esi
je 0x5388f8
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5388f8
call fcn.004ce2e0
mov edx, dword [0x5f09fc]
push edx
push 0
push str.Message
lea ecx, [esp + 0x34]
call fcn.004cf3b0
mov ecx, dword [ebp + 0x1d0]
push esi
push 0
lea eax, [esp + 0x30]
push eax
push 0
mov dword [esp + 0x68], 0xb
call fcn.0055c990
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x58], esi
cmp eax, esi
je 0x53894a
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x53894a
call fcn.004ce2e0
mov ecx, dword [0x5f09fc]
push ecx
push 0
push str.Time
lea ecx, [esp + 0x34]
call fcn.004cf3b0
mov ecx, dword [ebp + 0x1d0]
push esi
push 0
lea edx, [esp + 0x30]
push edx
push 1
mov dword [esp + 0x68], 0xc
call fcn.0055c990
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x58], esi
cmp eax, esi
je 0x53899c
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x53899c
call fcn.004ce2e0
push 0xc
call fcn.005740d0
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], 0xd
mov esi, 0x10
test eax, eax
je 0x5389cc
push 1
push 1
push esi
push esi
mov ecx, eax
call fcn.00537020
mov ebx, eax
jmp 0x5389ce
xor ebx, ebx
mov dword [esp + 0x58], 0xffffffff
mov byte [esp + 0x17], 1
xor edi, edi
lea ecx, [ecx]
mov eax, dword [0x5f09fc]
push eax
push 0
push str.wxART_MESSAGE_BOX_C
lea ecx, [esp + 0x30]
call fcn.004cf3b0
mov eax, dword [edi + 0x67c178]
mov dword [esp + 0x58], 0xe
test eax, eax
jne 0x538a0d
mov eax, 0x63141c
mov ecx, dword [0x5f09fc]
push ecx
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.004cf3b0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x68], 0xf
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.00566b80
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x58], 0x11
cmp eax, 0xffffffff
je 0x538a69
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x538a69
call fcn.004ce2e0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x58], 0x12
cmp eax, 0xffffffff
je 0x538a89
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x538a89
call fcn.004ce2e0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x538ac7
cmp dword [eax + 0x14], 0
je 0x538ac7
push 0x67a410
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00565460
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.00525080
add edi, 4
cmp edi, 0xc
jb 0x5389e0
jmp 0x538add
lea ecx, [esp + 0x18]
mov byte [esp + 0x17], 0
mov dword [esp + 0x58], 0xffffffff
call fcn.00525080
mov ecx, dword [ebp + 0x1d0]
push 1
push ebx
call fcn.0055b6e0
mov eax, dword [0x678764]
test eax, eax
jne 0x538af9
mov eax, 0x63141c
mov ecx, dword [0x5f09fc]
push ecx
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.004cf3b0
mov edx, dword [esp + 0x20]
cmp dword [edx - 8], 0
mov dword [esp + 0x58], 0x13
jne 0x538b2c
push 0x5f3a5c
lea ecx, [esp + 0x24]
call fcn.004cf4e0
mov edi, dword [ebp + 0x1a4]
xor ebx, ebx
mov dword [esp + 0x28], edi
test edi, edi
jbe 0x538bee
cmp byte [esp + 0x17], 0
je 0x538b6c
mov eax, dword [ebp + 0x1b8]
mov eax, dword [eax + ebx*4]
sub eax, 1
je 0x538b68
sub eax, 1
je 0x538b61
mov eax, 2
jmp 0x538b6f
mov eax, 1
jmp 0x538b6f
xor eax, eax
jmp 0x538b6f
or eax, 0xffffffff
mov ecx, dword [ebp + 0x1a8]
lea esi, [ebx*4]
push eax
add ecx, esi
push ecx
mov ecx, dword [ebp + 0x1d0]
push ebx
call fcn.0055c830
mov eax, dword [ebp + 0x1c4]
mov edi, dword [esp + 0x20]
add eax, esi
mov eax, dword [eax]
cdq
push edx
push eax
lea esi, [esp + 0x2c]
call fcn.00537190
add esp, 8
mov ecx, dword [ebp + 0x1d0]
push 0xffffffffffffffff
push eax
push 1
push ebx
mov byte [esp + 0x68], 0x14
call fcn.0055d6b0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x58], 0x13
cmp eax, 0xffffffff
je 0x538bdf
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x538bdf
call fcn.004ce2e0
inc ebx
cmp ebx, dword [esp + 0x28]
jb 0x538b40
mov edi, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1d0]
push 0xffffffffffffffff
push 0
call fcn.0055b4c0
mov ecx, dword [ebp + 0x1d0]
push 0xffffffffffffffff
push 1
call fcn.0055b4c0
mov edx, dword [ebp]
mov eax, dword [edx + 0x160]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov edx, dword [edx + 0x210]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
add edi, 4
mov ecx, ebp
imul esi, edi
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x80]
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call edx
mov edi, dword [eax + 4]
lea eax, [esp + 0x44]
push eax
call fcn.00509d50
mov eax, dword [eax + 4]
lea ecx, [edi + edi]
sub eax, ecx
sub eax, ebx
lea ecx, [eax + eax*8]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
cmp esi, eax
jge 0x538c82
mov eax, esi
mov ebp, dword [ebp + 0x1d0]
mov edx, dword [ebp]
push 0
push eax
mov eax, dword [edx + 0x228]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x58], 0xffffffff
cmp eax, 0xffffffff
je 0x538cc1
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x538cc1
call fcn.004ce2e0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret