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

Disassembly:
push 0xffffffffffffffff
push 0x5d9830
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x98]
push 0
lea ebp, [esp + 0x40]
push ebp
mov ebx, ecx
mov ecx, dword [esp + 0xac]
lea ebp, [esp + 0x3c]
push ebp
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
lea ebp, [esp + 0x34]
push ebp
mov dword [esp + 0x3c], eax
push eax
mov eax, dword [edx + 0xbc]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
test al, al
je 0x4eb062
mov eax, dword [esi + 4]
test eax, eax
jne 0x4eb042
xor ecx, ecx
jmp 0x4eb045
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x28]
add edx, ecx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x4eb059
mov dword [esp + 0x1c], eax
jmp 0x4eb074
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
jmp 0x4eb074
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov edx, ecx
mov ebp, dword [esp + 0x9c]
mov eax, ebp
and eax, 0x200
mov dword [esp + 0x40], eax
je 0x4eb091
mov eax, dword [edi + 8]
sub eax, edx
add eax, dword [edi]
jmp 0x4eb0b1
test ebp, 0x100
je 0x4eb0af
mov eax, dword [edi + 8]
mov ecx, dword [edi]
sub eax, edx
add eax, ecx
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
jmp 0x4eb0b5
mov eax, dword [edi]
mov dword [esp + 0x14], eax
test ebp, 0x400
je 0x4eb0c9
mov ebp, dword [edi + 0xc]
add ebp, dword [edi + 4]
sub ebp, dword [esp + 0x1c]
jmp 0x4eb0ef
test ebp, 0x800
je 0x4eb0ec
mov eax, dword [edi + 0xc]
sub eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
add eax, ecx
add eax, ecx
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x14]
sar ebp, 1
jmp 0x4eb0ef
mov ebp, dword [edi + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x50], ecx
mov ecx, esi
mov dword [esp + 0x54], ebp
call eax
test al, al
je 0x4eb14e
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x188]
push 1
push ebp
push eax
push esi
call edx
mov esi, dword [esi + 4]
xor ecx, ecx
cmp esi, ecx
jne 0x4eb12f
xor esi, esi
jmp 0x4eb132
mov esi, dword [esi + 8]
lea eax, [esi + 4]
add dword [esp + 0x14], eax
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
add ebp, eax
jmp 0x4eb150
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ecx
mov word [esp + 0x58], ax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x14], 8
mov dword [esp + 0x88], ecx
jb 0x4eb18c
mov eax, dword [esi]
jmp 0x4eb18e
mov eax, esi
mov edi, eax
mov edx, dword [esi + 0x14]
cmp edx, 8
jb 0x4eb19c
mov eax, dword [esi]
jmp 0x4eb19e
mov eax, esi
mov ecx, dword [esi + 0x10]
lea eax, [eax + ecx*2]
cmp edi, eax
je 0x4eb241
movzx ecx, word [edi]
cmp ecx, 0xa
je 0x4eb241
cmp edx, 8
jb 0x4eb1c1
mov eax, dword [esi]
jmp 0x4eb1c3
mov eax, esi
mov edx, edi
sub edx, eax
sar edx, 1
cmp edx, dword [esp + 0xa0]
jne 0x4eb22f
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0xb8]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x6c]
push edx
call eax
movzx eax, word [edi]
push eax
lea ecx, [esp + 0x5c]
call fcn.00414690
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0xb8]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x6c]
push eax
call edx
mov ecx, dword [esp + 0x3c]
add ecx, ebp
mov dword [esp + 0x30], ecx
add edi, 2
jmp 0x4eb190
push ecx
lea ecx, [esp + 0x5c]
call fcn.00414690
add edi, 2
jmp 0x4eb190
cmp dword [esp + 0x68], 0
mov esi, dword [esp + 0x14]
je 0x4eb2b0
test dword [esp + 0x9c], 0x300
je 0x4eb29c
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0xb8]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x6c]
push eax
call edx
cmp dword [esp + 0x40], 0
je 0x4eb289
sub esi, dword [esp + 0x38]
add esi, dword [esp + 0x18]
jmp 0x4eb29c
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x38]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18c]
push ebp
push esi
lea edx, [esp + 0x60]
push edx
call eax
add ebp, dword [esp + 0x3c]
cmp ebp, dword [esp + 0x30]
jne 0x4eb2c2
add dword [esp + 0x24], esi
add dword [esp + 0x20], esi
mov ecx, dword [esp + 0x2c]
mov edx, 8
cmp dword [ecx + 0x14], edx
jb 0x4eb2d4
mov eax, dword [ecx]
jmp 0x4eb2d6
mov eax, ecx
mov ecx, dword [ecx + 0x10]
lea eax, [eax + ecx*2]
cmp edi, eax
je 0x4eb307
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], 0
cmp dword [esp + 0x6c], edx
jae 0x4eb2f6
lea eax, [esp + 0x58]
mov esi, dword [esp + 0x2c]
xor edx, edx
mov word [eax], dx
add edi, 2
jmp 0x4eb190
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x24], eax
je 0x4eb378
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
call eax
push 0x64
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.00508e60
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x6c]
mov byte [esp + 0x8c], 1
call eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], 0
mov dword [esp + 0x40], vtable.wxObject.0
call fcn.00423980
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x164]
sub eax, 2
push eax
push esi
push eax
mov eax, dword [esp + 0x30]
push eax
call edx
mov edx, dword [esp + 0x4c]
test edx, edx
je 0x4eb399
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [edx], esi
sub ebp, eax
mov dword [edx + 4], ebp
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov esi, dword [ebx + 8]
mov ebx, dword [esp + 0x54]
mov eax, dword [esi]
mov edi, dword [esp + 0x48]
mov edx, dword [eax + 0x60]
push ebx
push edi
mov ecx, esi
call edx
add ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov eax, dword [esi]
mov eax, dword [eax + 0x60]
push ebx
add edx, edi
push edx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x74]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x6c], 8
jb 0x4eb3e5
mov edx, dword [esp + 0x58]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00585b7b
add esp, 0x78
ret 0x18