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

Disassembly:
push 0xffffffffffffffff
push 0x616ab1
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x34], esi
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [0x63dcd0]
push eax
push edi
push 0x64b398
lea ecx, [esp + 0x24]
call fcn.0050fcd0
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x18]
push ecx
push 0x20001840
push 0x6ddd74
push 0x6ddd7c
push edx
push 0xffffffffffffffff
push eax
mov ecx, esi
mov dword [esp + 0x84], edi
call fcn.00420829
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 2
cmp eax, 0xffffffff
je 0x578719
dec eax
mov dword [ecx], eax
cmp eax, edi
jne 0x578719
call fcn.0050ec00
lea ebx, [esi + 0x1a0]
push edi
mov ecx, ebx
mov dword [esi], vtable.wxLogDialog.0
call fcn.0050ee50
lea ebp, [esi + 0x1b0]
mov ecx, ebp
mov byte [esp + 0x68], 3
call fcn.00511750
lea ecx, [esi + 0x1bc]
mov byte [esp + 0x68], 4
call fcn.00511750
mov ecx, dword [0x6f6a68]
mov eax, dword [ecx - 8]
mov byte [esp + 0x68], 5
cmp eax, edi
jne 0x57879a
push str.Details
mov ecx, 0x6f6a68
call fcn.0050fe00
mov edi, dword [0x6f6a68]
call fcn.00519760
test eax, eax
je 0x57878d
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push edi
call eax
jmp 0x57878f
mov eax, edi
push eax
mov ecx, 0x6f6a68
call fcn.0050fe00
mov ecx, dword [esp + 0x74]
mov edi, dword [ecx + 4]
push edi
mov ecx, ebx
mov dword [esp + 0x34], edi
call fcn.0050ef30
cmp edi, dword [ebp]
jbe 0x5787ba
push edi
mov ecx, ebp
call fcn.00511380
cmp edi, dword [esi + 0x1bc]
lea ecx, [esi + 0x1bc]
jbe 0x5787ce
push edi
call fcn.00511380
xor eax, eax
mov dword [esp + 0x70], eax
cmp edi, eax
jbe 0x5788a8
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 8]
add edi, edi
add edi, edi
add eax, edi
mov eax, dword [eax]
cmp dword [eax - 8], 0
jne 0x578803
mov eax, dword [0x6db93c]
mov dword [esp + 0x80], eax
jmp 0x578816
mov dword [esp + 0x80], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x578816
inc ecx
mov dword [eax - 0xc], ecx
push 1
push 0x687038
push 0x640cf8
lea ecx, [esp + 0x8c]
mov byte [esp + 0x74], 6
call fcn.00511040
push 1
lea ecx, [esp + 0x84]
push ecx
mov ecx, ebx
call fcn.00510030
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 8]
mov eax, dword [edi + eax]
push 1
push eax
mov ecx, ebp
call fcn.00511500
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 8]
mov edi, dword [edi + edx]
push 1
push edi
lea ecx, [esi + 0x1bc]
call fcn.00511500
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 5
cmp eax, 0xffffffff
je 0x578893
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x578893
call fcn.0050ec00
mov eax, dword [esp + 0x70]
inc eax
mov dword [esp + 0x70], eax
cmp eax, dword [esp + 0x30]
jb 0x5787dc
xor eax, eax
mov byte [esi + 0x1cc], 0
mov dword [esi + 0x1d0], eax
mov dword [esi + 0x1d4], eax
mov dword [esi + 0x1d8], eax
call fcn.00597170
cmp eax, 2
setle bl
push 0x64
mov byte [esp + 0x84], bl
call fcn.005b4e59
add esp, 4
mov dword [esp + 0x70], eax
xor edi, edi
mov byte [esp + 0x68], 7
cmp eax, edi
je 0x5788fb
push 8
mov ecx, eax
call fcn.0056be70
mov dword [esp + 0x30], eax
jmp 0x5788ff
mov dword [esp + 0x30], edi
push 0x64
mov byte [esp + 0x6c], 5
call fcn.005b4e59
add esp, 4
mov dword [esp + 0x70], eax
mov byte [esp + 0x68], 8
cmp eax, edi
je 0x578937
xor ecx, ecx
test bl, bl
sete cl
lea ecx, [ecx*4 + 4]
push ecx
mov ecx, eax
call fcn.0056be70
mov dword [esp + 0x70], eax
jmp 0x57893b
mov dword [esp + 0x70], edi
push 0x64
mov byte [esp + 0x6c], 5
call fcn.005b4e59
add esp, 4
mov dword [esp + 0x78], eax
mov byte [esp + 0x68], 9
cmp eax, edi
je 0x578973
xor edx, edx
test bl, bl
setne dl
mov ecx, eax
lea edx, [edx*4 + 4]
push edx
call fcn.0056be70
mov dword [esp + 0x7c], eax
jmp 0x578977
mov dword [esp + 0x7c], edi
push 0x150
mov byte [esp + 0x6c], 5
call fcn.005b4e59
mov edi, eax
add esp, 4
mov dword [esp + 0x78], edi
mov byte [esp + 0x68], 0xa
test edi, edi
je 0x578a52
mov eax, dword [0x63dcd0]
push eax
push 0
push 0x64b368
lea ecx, [esp + 0x28]
call fcn.0050fcd0
mov eax, dword [0x6db93c]
mov byte [esp + 0x68], 0xb
mov dword [esp + 0x14], 1
test eax, eax
jne 0x5789cd
mov eax, 0x683698
mov ecx, dword [0x63dcd0]
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.0050fcd0
mov ebx, 3
mov ecx, edi
mov dword [esp + 0x68], 0xc
mov dword [esp + 0x14], ebx
call fcn.0040d07b
lea ecx, [edi + 0x144]
mov dword [esp + 0x68], 0xd
mov dword [edi], vtable.wxControl.0
call fcn.00511750
lea edx, [esp + 0x1c]
push edx
push 0x6f6984
push 0
push 0x6ddd74
push 0x6ddd7c
lea eax, [esp + 0x2c]
push eax
push 0x13ec
push esi
mov ecx, edi
mov dword [esp + 0x88], 0xe
mov dword [edi], vtable.wxButton.0
call fcn.0056f210
mov ebp, edi
mov dword [esp + 0x78], ebp
jmp 0x578a62
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x78], 0
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x68], 0xf
test bl, 2
je 0x578a91
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
cmp eax, 0xffffffff
je 0x578a91
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x578a91
call fcn.0050ec00
mov dword [esp + 0x68], 5
test bl, 1
je 0x578ac0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
cmp eax, 0xffffffff
je 0x578ac0
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x578ac0
call fcn.0050ec00
movzx ecx, byte [esp + 0x80]
neg ecx
sbb ecx, ecx
push 0
and ecx, 0xffffff80
push 5
add ecx, 0x81
push ecx
mov ecx, dword [esp + 0x7c]
push 0
push ebp
call fcn.00420978
push 0x150
call fcn.005b4e59
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov byte [esp + 0x68], 0x11
test edi, edi
je 0x578bac
mov edx, dword [0x63dcd0]
push edx
push 0
push 0x64b368
lea ecx, [esp + 0x2c]
call fcn.0050fcd0
push 0x6579c4
lea eax, [esp + 0x30]
push 0x6f6a68
or ebx, 4
push eax
mov byte [esp + 0x74], 0x12
mov dword [esp + 0x20], ebx
call fcn.00510c40
add esp, 0xc
mov ebp, eax
or ebx, 8
mov ecx, edi
mov dword [esp + 0x68], 0x13
mov dword [esp + 0x14], ebx
call fcn.0040d07b
lea ecx, [edi + 0x144]
mov dword [esp + 0x68], 0x14
mov dword [edi], vtable.wxControl.0
call fcn.00511750
lea ecx, [esp + 0x20]
push ecx
push 0x6f6984
push 0
push 0x6ddd74
push 0x6ddd7c
push ebp
push 0x13f5
push esi
mov ecx, edi
mov dword [esp + 0x88], 0x15
mov dword [edi], vtable.wxButton.0
call fcn.0056f210
mov ebp, dword [esp + 0x78]
jmp 0x578bae
xor edi, edi
mov dword [esi + 0x1c8], edi
mov dword [esp + 0x68], 0x16
test bl, 8
je 0x578be3
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and ebx, 0xfffffff7
mov dword [esp + 0x14], ebx
cmp eax, 0xffffffff
je 0x578be3
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x578be3
call fcn.0050ec00
mov dword [esp + 0x68], 5
test bl, 4
je 0x578c12
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and ebx, 0xfffffffb
mov dword [esp + 0x14], ebx
cmp eax, 0xffffffff
je 0x578c12
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x578c12
call fcn.0050ec00
movzx edx, byte [esp + 0x80]
mov eax, dword [esi + 0x1c8]
mov ecx, dword [esp + 0x70]
neg edx
push 0
sbb edx, edx
push 4
and edx, 0xffffffd0
add edx, 0x41
push edx
push 0
push eax
call fcn.00420978
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], vtable.wxBitmap.0
mov eax, dword [esp + 0x84]
and eax, 0xf00
mov byte [esp + 0x68], 0x18
cmp eax, 0x100
je 0x578dc7
cmp eax, 0x200
je 0x578d2a
cmp eax, 0x800
jne 0x578e7b
mov ecx, dword [0x63dcd0]
push ecx
push 0
push str.wxART_MESSAGE_BOX_C
lea ecx, [esp + 0x90]
call fcn.0050fcd0
mov edx, dword [0x63dcd0]
push edx
push 0
push str.wxART_INFORMATION
lea ecx, [esp + 0x84]
mov byte [esp + 0x74], 0x1c
call fcn.0050fcd0
push 0x6ddd74
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x78], 0x1d
call fcn.005a73c0
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0x1e
cmp ecx, eax
je 0x578cf0
push eax
call fcn.005118d0
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x1d
call fcn.0055bd20
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 0x1c
cmp eax, 0xffffffff
je 0x578d1e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x578d1e
call fcn.0050ec00
mov ecx, dword [esp + 0x84]
jmp 0x578e5f
mov edx, dword [0x63dcd0]
push edx
push 0
push str.wxART_MESSAGE_BOX_C
lea ecx, [esp + 0x30]
call fcn.0050fcd0
mov eax, dword [0x63dcd0]
push eax
push 0
push str.wxART_ERROR
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0x19
call fcn.0050fcd0
push 0x6ddd74
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x78], 0x1a
call fcn.005a73c0
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0x1b
cmp ecx, eax
je 0x578d90
push eax
call fcn.005118d0
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x1a
call fcn.0055bd20
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 0x19
cmp eax, 0xffffffff
je 0x578dbe
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x578dbe
call fcn.0050ec00
mov ecx, dword [esp + 0x24]
jmp 0x578e5f
mov edx, dword [0x63dcd0]
push edx
push 0
push str.wxART_MESSAGE_BOX_C
lea ecx, [esp + 0x38]
call fcn.0050fcd0
mov eax, dword [0x63dcd0]
push eax
push 0
push str.wxART_WARNING
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0x1f
call fcn.0050fcd0
push 0x6ddd74
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x78], 0x20
call fcn.005a73c0
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0x21
cmp ecx, eax
je 0x578e2d
push eax
call fcn.005118d0
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0x20
call fcn.0055bd20
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 0x1f
cmp eax, 0xffffffff
je 0x578e5b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x578e5b
call fcn.0050ec00
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 0x18
cmp eax, 0xffffffff
je 0x578e7b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x578e7b
call fcn.0050ec00
cmp byte [esp + 0x80], 0
jne 0x578f3e
push 0x15c
call fcn.005b4e59
mov edi, eax
add esp, 4
mov dword [esp + 0x84], edi
mov byte [esp + 0x68], 0x22
test edi, edi
je 0x578ef3
mov edx, dword [0x63dcd0]
push edx
push 0
push str.staticBitmap
lea ecx, [esp + 0x84]
call fcn.0050fcd0
lea eax, [esp + 0x78]
push eax
push 0
push 0x6ddd74
push 0x6ddd7c
lea ecx, [esp + 0x48]
push ecx
push 0xffffffffffffffff
or ebx, 0x10
push esi
mov ecx, edi
mov byte [esp + 0x84], 0x23
mov dword [esp + 0x30], ebx
call fcn.005782c0
jmp 0x578ef5
xor eax, eax
mov edi, dword [esp + 0x7c]
push 0
push 0
push 0x800
push 0
push eax
mov ecx, edi
mov dword [esp + 0x7c], 0x24
call fcn.00420978
mov dword [esp + 0x68], 0x18
test bl, 0x10
je 0x578f42
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
je 0x578f42
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x578f42
call fcn.0050ec00
jmp 0x578f42
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
push 0
push 0xa
push 0x830
lea eax, [edx + eax*4 - 4]
push 1
push eax
mov ecx, esi
call fcn.0056e160
push eax
mov ecx, edi
call fcn.004208c7
mov bl, byte [esp + 0x80]
mov ecx, dword [esp + 0x70]
movzx eax, bl
neg eax
push 0
sbb eax, eax
push 0xa
and eax, 0xfffffeb1
add eax, 0x210
push eax
push 0
push ecx
mov ecx, edi
call fcn.004208c7
push 0
push 0xa
push 0x20f0
push 0
push edi
mov edi, dword [esp + 0x44]
mov ecx, edi
call fcn.004208c7
push 1
push edi
mov ecx, esi
call fcn.00558b90
push esi
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call fcn.0056c660
mov eax, dword [esp + 0x44]
mov ecx, dword [esi + 0x54]
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push ecx
push eax
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x54]
push eax
mov ecx, esi
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0xc8]
mov ecx, ebp
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x234]
push 0xc
mov ecx, esi
call edx
test bl, bl
je 0x579057
mov eax, dword [esi]
mov eax, dword [eax + 0x210]
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x210]
mov edi, dword [esp + 0x74]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, esi
call edx
push 0
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x228]
push 0xffffffffffffffff
sar eax, 1
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x90]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 5
call fcn.0055bd20
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x18