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

Disassembly:
push 0xffffffffffffffff
push 0x563771
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
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 [0x576324]
push eax
push edi
push 0x5839e8
lea ecx, [esp + 0x24]
call fcn.0045fb60
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x18]
push ecx
push 0x20001840
push 0x5ebc78
push 0x5ebc80
push edx
push 0xffffffffffffffff
push eax
mov ecx, esi
mov dword [esp + 0x84], edi
call fcn.0041e6b0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 2
cmp eax, 0xffffffff
je 0x4c8409
dec eax
mov dword [ecx], eax
cmp eax, edi
jne 0x4c8409
call fcn.0045ea90
lea ebx, [esi + 0x1a0]
push edi
mov ecx, ebx
mov dword [esi], vtable.wxLogDialog.0
call fcn.0045ece0
lea ebp, [esi + 0x1b0]
mov ecx, ebp
mov byte [esp + 0x68], 3
call fcn.00461400
lea ecx, [esi + 0x1bc]
mov byte [esp + 0x68], 4
call fcn.00461400
mov ecx, dword [0x5fd260]
mov eax, dword [ecx - 8]
mov byte [esp + 0x68], 5
cmp eax, edi
jne 0x4c848a
push str.Details
mov ecx, 0x5fd260
call fcn.0045fc90
mov edi, dword [0x5fd260]
call fcn.00469590
test eax, eax
je 0x4c847d
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push edi
call eax
jmp 0x4c847f
mov eax, edi
push eax
mov ecx, 0x5fd260
call fcn.0045fc90
mov ecx, dword [esp + 0x74]
mov edi, dword [ecx + 4]
push edi
mov ecx, ebx
mov dword [esp + 0x34], edi
call fcn.0045edc0
cmp edi, dword [ebp]
jbe 0x4c84aa
push edi
mov ecx, ebp
call fcn.004614a0
cmp edi, dword [esi + 0x1bc]
lea ecx, [esi + 0x1bc]
jbe 0x4c84be
push edi
call fcn.004614a0
xor eax, eax
mov dword [esp + 0x70], eax
cmp edi, eax
jbe 0x4c8598
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 0x4c84f3
mov eax, dword [0x5e9844]
mov dword [esp + 0x80], eax
jmp 0x4c8506
mov dword [esp + 0x80], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x4c8506
inc ecx
mov dword [eax - 0xc], ecx
push 1
push 0x5bf130
push 0x579348
lea ecx, [esp + 0x8c]
mov byte [esp + 0x74], 6
call fcn.00460ed0
push 1
lea ecx, [esp + 0x84]
push ecx
mov ecx, ebx
call fcn.0045fec0
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 8]
mov eax, dword [edi + eax]
push 1
push eax
mov ecx, ebp
call fcn.004615b0
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.004615b0
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 5
cmp eax, 0xffffffff
je 0x4c8583
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c8583
call fcn.0045ea90
mov eax, dword [esp + 0x70]
inc eax
mov dword [esp + 0x70], eax
cmp eax, dword [esp + 0x30]
jb 0x4c84cc
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.004e6fe0
cmp eax, 2
setle bl
push 0x64
mov byte [esp + 0x84], bl
call fcn.005047e7
add esp, 4
mov dword [esp + 0x70], eax
xor edi, edi
mov byte [esp + 0x68], 7
cmp eax, edi
je 0x4c85eb
push 8
mov ecx, eax
call fcn.004bbc20
mov dword [esp + 0x30], eax
jmp 0x4c85ef
mov dword [esp + 0x30], edi
push 0x64
mov byte [esp + 0x6c], 5
call fcn.005047e7
add esp, 4
mov dword [esp + 0x70], eax
mov byte [esp + 0x68], 8
cmp eax, edi
je 0x4c8627
xor ecx, ecx
test bl, bl
sete cl
lea ecx, [ecx*4 + 4]
push ecx
mov ecx, eax
call fcn.004bbc20
mov dword [esp + 0x70], eax
jmp 0x4c862b
mov dword [esp + 0x70], edi
push 0x64
mov byte [esp + 0x6c], 5
call fcn.005047e7
add esp, 4
mov dword [esp + 0x78], eax
mov byte [esp + 0x68], 9
cmp eax, edi
je 0x4c8663
xor edx, edx
test bl, bl
setne dl
mov ecx, eax
lea edx, [edx*4 + 4]
push edx
call fcn.004bbc20
mov dword [esp + 0x7c], eax
jmp 0x4c8667
mov dword [esp + 0x7c], edi
push 0x150
mov byte [esp + 0x6c], 5
call fcn.005047e7
mov edi, eax
add esp, 4
mov dword [esp + 0x78], edi
mov byte [esp + 0x68], 0xa
test edi, edi
je 0x4c8742
mov eax, dword [0x576324]
push eax
push 0
push 0x5839b8
lea ecx, [esp + 0x28]
call fcn.0045fb60
mov eax, dword [0x5e9844]
mov byte [esp + 0x68], 0xb
mov dword [esp + 0x14], 1
test eax, eax
jne 0x4c86bd
mov eax, 0x5bb970
mov ecx, dword [0x576324]
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.0045fb60
mov ebx, 3
mov ecx, edi
mov dword [esp + 0x68], 0xc
mov dword [esp + 0x14], ebx
call fcn.0040d3f5
lea ecx, [edi + 0x144]
mov dword [esp + 0x68], 0xd
mov dword [edi], vtable.wxControl.0
call fcn.00461400
lea edx, [esp + 0x1c]
push edx
push 0x5fd17c
push 0
push 0x5ebc78
push 0x5ebc80
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.004bed60
mov ebp, edi
mov dword [esp + 0x78], ebp
jmp 0x4c8752
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x78], 0
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x68], 0xf
test bl, 2
je 0x4c8781
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 0x4c8781
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c8781
call fcn.0045ea90
mov dword [esp + 0x68], 5
test bl, 1
je 0x4c87b0
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 0x4c87b0
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c87b0
call fcn.0045ea90
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.0041e7ff
push 0x150
call fcn.005047e7
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
mov byte [esp + 0x68], 0x11
test edi, edi
je 0x4c889c
mov edx, dword [0x576324]
push edx
push 0
push 0x5839b8
lea ecx, [esp + 0x2c]
call fcn.0045fb60
push 0x59001c
lea eax, [esp + 0x30]
push 0x5fd260
or ebx, 4
push eax
mov byte [esp + 0x74], 0x12
mov dword [esp + 0x20], ebx
call fcn.00460ad0
add esp, 0xc
mov ebp, eax
or ebx, 8
mov ecx, edi
mov dword [esp + 0x68], 0x13
mov dword [esp + 0x14], ebx
call fcn.0040d3f5
lea ecx, [edi + 0x144]
mov dword [esp + 0x68], 0x14
mov dword [edi], vtable.wxControl.0
call fcn.00461400
lea ecx, [esp + 0x20]
push ecx
push 0x5fd17c
push 0
push 0x5ebc78
push 0x5ebc80
push ebp
push 0x13f5
push esi
mov ecx, edi
mov dword [esp + 0x88], 0x15
mov dword [edi], vtable.wxButton.0
call fcn.004bed60
mov ebp, dword [esp + 0x78]
jmp 0x4c889e
xor edi, edi
mov dword [esi + 0x1c8], edi
mov dword [esp + 0x68], 0x16
test bl, 8
je 0x4c88d3
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 0x4c88d3
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c88d3
call fcn.0045ea90
mov dword [esp + 0x68], 5
test bl, 4
je 0x4c8902
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 0x4c8902
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c8902
call fcn.0045ea90
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.0041e7ff
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 0x4c8ab7
cmp eax, 0x200
je 0x4c8a1a
cmp eax, 0x800
jne 0x4c8b6b
mov ecx, dword [0x576324]
push ecx
push 0
push str.wxART_MESSAGE_BOX_C
lea ecx, [esp + 0x90]
call fcn.0045fb60
mov edx, dword [0x576324]
push edx
push 0
push str.wxART_INFORMATION
lea ecx, [esp + 0x84]
mov byte [esp + 0x74], 0x1c
call fcn.0045fb60
push 0x5ebc78
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.004f7380
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0x1e
cmp ecx, eax
je 0x4c89e0
push eax
call fcn.00461760
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x1d
call fcn.00493df0
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 0x1c
cmp eax, 0xffffffff
je 0x4c8a0e
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c8a0e
call fcn.0045ea90
mov ecx, dword [esp + 0x84]
jmp 0x4c8b4f
mov edx, dword [0x576324]
push edx
push 0
push str.wxART_MESSAGE_BOX_C
lea ecx, [esp + 0x30]
call fcn.0045fb60
mov eax, dword [0x576324]
push eax
push 0
push str.wxART_ERROR
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0x19
call fcn.0045fb60
push 0x5ebc78
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.004f7380
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0x1b
cmp ecx, eax
je 0x4c8a80
push eax
call fcn.00461760
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x1a
call fcn.00493df0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 0x19
cmp eax, 0xffffffff
je 0x4c8aae
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c8aae
call fcn.0045ea90
mov ecx, dword [esp + 0x24]
jmp 0x4c8b4f
mov edx, dword [0x576324]
push edx
push 0
push str.wxART_MESSAGE_BOX_C
lea ecx, [esp + 0x38]
call fcn.0045fb60
mov eax, dword [0x576324]
push eax
push 0
push str.wxART_WARNING
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0x1f
call fcn.0045fb60
push 0x5ebc78
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.004f7380
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0x21
cmp ecx, eax
je 0x4c8b1d
push eax
call fcn.00461760
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], 0x20
call fcn.00493df0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 0x1f
cmp eax, 0xffffffff
je 0x4c8b4b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c8b4b
call fcn.0045ea90
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov byte [esp + 0x68], 0x18
cmp eax, 0xffffffff
je 0x4c8b6b
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c8b6b
call fcn.0045ea90
cmp byte [esp + 0x80], 0
jne 0x4c8c2e
push 0x15c
call fcn.005047e7
mov edi, eax
add esp, 4
mov dword [esp + 0x84], edi
mov byte [esp + 0x68], 0x22
test edi, edi
je 0x4c8be3
mov edx, dword [0x576324]
push edx
push 0
push str.staticBitmap
lea ecx, [esp + 0x84]
call fcn.0045fb60
lea eax, [esp + 0x78]
push eax
push 0
push 0x5ebc78
push 0x5ebc80
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.004c7fb0
jmp 0x4c8be5
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.0041e7ff
mov dword [esp + 0x68], 0x18
test bl, 0x10
je 0x4c8c32
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
je 0x4c8c32
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c8c32
call fcn.0045ea90
jmp 0x4c8c32
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.004bdee0
push eax
mov ecx, edi
call fcn.0041e74e
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.0041e74e
push 0
push 0xa
push 0x20f0
push 0
push edi
mov edi, dword [esp + 0x44]
mov ecx, edi
call fcn.0041e74e
push 1
push edi
mov ecx, esi
call fcn.004a88b0
push esi
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call fcn.004bc420
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 0x4c8d47
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.00493df0
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