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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6ba8c9
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
mov ebx, dword [esp + 0x180]
push ebp
push esi
push edi
mov edi, dword [esp + 0x188]
push ebx
mov esi, ecx
push edi
call fcn.006123a0
test al, al
jne 0x612fba
mov eax, dword [esp + 0x19c]
mov ecx, dword [esp + 0x198]
mov edx, dword [esp + 0x194]
push 1
push eax
mov eax, dword [esp + 0x198]
push ecx
push edx
push eax
push ebx
push edi
mov ecx, esi
call fcn.00612d30
jmp 0x61371e
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x612fe4
mov ebp, dword [esi + 4]
xor eax, eax
test ebp, ebp
jbe 0x612fe4
mov edx, dword [esi + 8]
mov ecx, dword [edx]
cmp edi, dword [ecx]
jne 0x612fdc
cmp ebx, dword [ecx + 4]
je 0x613397
inc eax
add edx, 4
cmp eax, ebp
jb 0x612fcd
mov eax, dword [esi + 0x10]
xor edx, edx
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
jbe 0x613110
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + edx*4]
mov ecx, dword [ecx + edx*4]
mov ebp, dword [eax]
mov dword [esp + 0x40], ebp
mov ebp, dword [eax + 4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dword [esp + 0x40], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
jg 0x6130ff
cmp edi, eax
jg 0x6130ff
cmp ebp, ebx
jg 0x6130ff
cmp ebx, ecx
jg 0x6130ff
push 1
push edx
lea ecx, [esi + 0xc]
call fcn.00491160
mov edx, dword [esp + 0x18]
push 1
push edx
lea ecx, [esi + 0x18]
call fcn.00491160
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x40]
dec edx
dec ecx
cmp eax, 2
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
je 0x6130b9
mov eax, dword [esp + 0x40]
cmp eax, edi
jge 0x613095
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
push 0
push 0
lea edx, [edi - 1]
push ecx
push edx
push ebp
push eax
mov ecx, esi
call fcn.00612920
mov eax, dword [esp + 0x38]
cmp eax, edi
jle 0x6130b9
mov ecx, dword [esp + 0x30]
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
lea edx, [edi + 1]
push ebp
push edx
mov ecx, esi
call fcn.00612920
cmp dword [esi + 0x40], 1
je 0x6130fb
cmp ebp, ebx
jge 0x6130db
push 0
push 0
push 0
push 0
lea eax, [ebx - 1]
push 0
push eax
push edi
push ebp
push edi
mov ecx, esi
call fcn.00612920
mov eax, dword [esp + 0x30]
cmp eax, ebx
jle 0x6130fb
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [ebx + 1]
push edi
push ecx
push edi
mov ecx, esi
call fcn.00612920
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc edx
cmp edx, eax
mov dword [esp + 0x18], edx
jb 0x612ff9
cmp dword [esi + 0x40], 2
je 0x61319a
mov eax, dword [esi + 0x28]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x10], eax
jbe 0x61319c
mov edx, dword [esi + 0x2c]
cmp dword [edx + ebp*4], edi
jne 0x613191
push 1
push ebp
lea ecx, [esi + 0x24]
call fcn.00575600
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x40]
dec ebp
dec ecx
test eax, eax
mov dword [esp + 0x10], ecx
jne 0x613191
test ebx, ebx
jle 0x613168
push 0
push 0
push 0
push 0
lea eax, [ebx - 1]
push 0
push eax
push edi
push 0
push edi
mov ecx, esi
call fcn.00612920
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 0x1d0]
lea edx, [eax - 1]
cmp ebx, edx
jge 0x613191
push 0
push 0
push 0
push 0
dec eax
push 0
push eax
lea eax, [ebx + 1]
push edi
push eax
push edi
mov ecx, esi
call fcn.00612920
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jb 0x613127
xor ebp, ebp
cmp dword [esi + 0x40], 1
je 0x613226
mov eax, dword [esi + 0x34]
cmp eax, ebp
mov dword [esp + 0x10], eax
jbe 0x613226
mov ecx, dword [esi + 0x38]
cmp dword [ecx + ebp*4], ebx
jne 0x61321b
push 1
push ebp
lea ecx, [esi + 0x30]
call fcn.00575600
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x40]
dec ebp
dec ecx
test eax, eax
mov dword [esp + 0x10], ecx
jne 0x61321b
test edi, edi
jle 0x6131f2
push 0
push 0
push 0
push 0
push 0
lea edx, [edi - 1]
push ebx
push edx
push ebx
push 0
mov ecx, esi
call fcn.00612920
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 0x1cc]
lea ecx, [eax - 1]
cmp edi, ecx
jge 0x61321b
push 0
push 0
push 0
push 0
push 0
dec eax
push ebx
push eax
lea edx, [edi + 1]
push ebx
push edx
mov ecx, esi
call fcn.00612920
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jb 0x6131b1
xor ebp, ebp
mov eax, dword [esi + 0x40]
mov dword [esp + 0x20], ebp
sub eax, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
je 0x6135ee
dec eax
je 0x6134a6
dec eax
jne 0x61371e
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 0x320]
test eax, eax
jne 0x6132c1
mov eax, dword [ecx + 0x1cc]
lea edx, [esp + 0x10]
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0xf8]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], ebx
call fcn.00610650
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x1b4]
lea eax, [esp + 0x20]
push eax
push 0
mov edx, dword [ecx]
call dword [edx + 0x118]
mov edx, dword [esp + 0x19c]
mov eax, dword [esi + 0x3c]
push edx
mov edx, dword [esp + 0x19c]
mov ecx, dword [eax + 0x1cc]
push edx
mov edx, dword [esp + 0x19c]
dec ecx
push edx
mov edx, dword [esp + 0x19c]
push edx
lea edx, [esp + 0x88]
push 0
push edx
lea edx, [esp + 0x88]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ebx
mov ecx, dword [eax + 0x28]
push edx
push eax
mov eax, dword [0x8e12b4]
push eax
push ecx
lea ecx, [esp + 0x14c]
call fcn.00611220
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0x124]
push eax
mov dword [esp + 0x184], 3
mov ecx, dword [ecx + 0x5c]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esp + 0x148]
mov dword [esp + 0x180], 0xffffffff
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x613380
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x613380
push eax
call dword [0x6c74ac]
add esp, 4
mov dword [esp + method.wxObject.virtual_0], vtable.wxObject.0
lea ecx, [esp + 0x124]
jmp 0x613719
mov ecx, dword [esi + 8]
push 1
push eax
mov ecx, dword [ecx + eax*4]
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], ecx
mov ecx, esi
call fcn.00491160
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 0x320]
test eax, eax
jne 0x6133ed
lea edx, [esp + 0x38]
lea eax, [esp + 0x38]
push edx
lea edx, [esp + 0x44]
push eax
push edx
call fcn.00610650
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x1b4]
lea eax, [esp + 0x40]
push eax
push 0
mov edx, dword [ecx]
call dword [edx + 0x118]
mov edx, dword [esp + 0x19c]
mov eax, dword [esi + 0x3c]
push edx
mov edx, dword [esp + 0x19c]
push edx
mov edx, dword [esp + 0x19c]
push edx
mov edx, dword [esp + 0x19c]
push edx
lea edx, [esp + 0x50]
push 0
push edx
lea edx, [esp + 0x48]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
mov ecx, dword [eax + 0x28]
push edx
push eax
mov eax, dword [0x8e12b4]
push eax
push ecx
lea ecx, [esp + 0xc8]
call fcn.00611220
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0x184], 0
mov ecx, dword [ecx + 0x5c]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x180], 0xffffffff
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x61348f
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x61348f
push eax
call dword [0x6c74ac]
add esp, 4
mov dword [esp + 0xa0], vtable.wxObject.0
lea ecx, [esp + 0xa0]
jmp 0x613719
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx + 0x320]
test eax, eax
jne 0x613521
mov eax, dword [ecx + 0x1d0]
lea edx, [esp + 0x88]
dec eax
push edx
mov dword [esp + 0x90], eax
lea eax, [esp + 0x6c]
lea edx, [esp + 0x108]
push eax
push edx
mov dword [esp + 0x94], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], 0
call fcn.00610650
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x1b4]
lea eax, [esp + 0x20]
push eax
push 0
mov edx, dword [ecx]
call dword [edx + 0x118]
mov edx, dword [esp + 0x19c]
mov eax, dword [esi + 0x3c]
push edx
mov edx, dword [esp + 0x19c]
mov ecx, dword [eax + 0x1d0]
push edx
mov edx, dword [esp + 0x19c]
dec ecx
push edx
mov edx, dword [esp + 0x19c]
push edx
lea edx, [esp + 0x90]
push 0
push edx
lea edx, [esp + 0x68]
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 0
mov ecx, dword [eax + 0x28]
push edx
push eax
mov eax, dword [0x8e12b4]
push eax
push ecx
lea ecx, [esp + 0xc8]
call fcn.00611220
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0x184], 2
mov ecx, dword [ecx + 0x5c]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x180], 0xffffffff
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x6135d7
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x6135d7
push eax
call dword [0x6c74ac]
add esp, 4
mov dword [esp + 0xa0], vtable.wxObject.0
lea ecx, [esp + 0xa0]
jmp 0x613719
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + 0x320], ebp
jne 0x613665
lea edx, [esp + 0x98]
lea eax, [esp + 0x90]
push edx
lea edx, [esp + 0x118]
push eax
push edx
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], ebx
call fcn.00610650
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x1b4]
lea eax, [esp + 0x20]
push eax
push 0
mov edx, dword [ecx]
call dword [edx + 0x118]
mov edx, dword [esp + 0x19c]
mov eax, dword [esi + 0x3c]
push edx
mov edx, dword [esp + 0x19c]
push edx
mov edx, dword [esp + 0x19c]
push edx
mov edx, dword [esp + 0x19c]
push edx
lea edx, [esp + 0x68]
push 0
push edx
lea edx, [esp + 0x78]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebx
mov ecx, dword [eax + 0x28]
push edx
push eax
mov eax, dword [0x8e12b4]
push eax
push ecx
lea ecx, [esp + 0xc8]
call fcn.00611220
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0x184], 1
mov ecx, dword [ecx + 0x5c]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x180], 0xffffffff
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x613707
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x613707
push eax
call dword [0x6c74ac]
add esp, 4
mov dword [esp + 0xa0], vtable.wxObject.0
lea ecx, [esp + 0xa0]
call fcn.0056f8d0
mov ecx, dword [esp + 0x178]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x174
ret 0x18