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

Disassembly:
push 0xffffffffffffffff
push 0x5d7dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
mov ebp, ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004e81c0
xor ebx, ebx
push ebx
push 0xa
lea eax, [esp + 0x3c]
push esi
push eax
mov dword [esp + 0xb0], ebx
call fcn.0041fcf0
add esp, 0x10
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*4]
mov byte [esp + 0xa0], 1
mov esi, eax
mov dword [esp + 0x20], eax
cmp eax, edx
je 0x4d5e28
push 0xffffffffffffffff
push ebx
xor eax, eax
mov edi, 7
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], ax
call fcn.00402610
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0xa0], 2
cmp esi, dword [esp + 0x40]
je 0x4d5b94
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
cmp dword [esp + 0xb0], ebx
jge 0x4d5be9
mov edx, dword [ebp]
mov edx, dword [edx + 4]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call edx
mov eax, dword [esp + 0x68]
push eax
mov byte [ebp + 4], 1
mov byte [esp + 0xa4], 1
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x60], 8
jb 0x4d5bd9
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov dword [esp + 0x60], edi
mov word [esp + 0x4c], dx
jmp 0x4d5e07
xor al, al
cmp dword [esp + 0x5c], ebx
je 0x4d5dcb
cmp al, bl
je 0x4d5c03
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc0]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0xa8], 3
call eax
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea ecx, [edi + ecx*4]
sub ecx, edi
sar ecx, 2
mov esi, edi
cmp ecx, ebx
jle 0x4d5c6b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0xb0]
sar eax, 1
cmp dword [esi + eax*4], edx
jge 0x4d5c65
or edx, 0xffffffff
sub edx, eax
lea esi, [esi + eax*4 + 4]
add ecx, edx
jmp 0x4d5c67
mov ecx, eax
cmp ecx, ebx
jg 0x4d5c45
sub esi, edi
sar esi, 2
cmp esi, dword [esp + 0x5c]
je 0x4d5d9f
mov eax, 0x20
push 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
call fcn.00420440
mov esi, eax
cmp esi, dword [0x5fcc58]
je 0x4d5d9f
push esi
push ebx
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x58]
call fcn.00428570
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 4]
mov ecx, ebp
mov byte [esp + 0xa4], 4
call eax
mov ecx, dword [esp + 0x8c]
push ecx
mov byte [ebp + 4], 1
mov byte [esp + 0xa4], 3
call fcn.005844d1
mov edi, 8
add esp, 4
cmp dword [esp + 0x84], edi
jb 0x4d5d00
mov edx, dword [esp + 0x70]
push edx
call fcn.00584768
add esp, 4
mov eax, dword [0x5fcc58]
push eax
inc esi
push esi
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x58]
call fcn.00428570
lea edx, [esp + 0x4c]
mov byte [esp + 0xa0], 5
cmp edx, eax
je 0x4d5d31
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edx
call fcn.00402610
mov eax, dword [esp + 0x8c]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x84], edi
jb 0x4d5d57
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x1c]
xor edx, edx
push eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], dx
mov byte [esp + 0xa4], 2
call fcn.005844d1
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov al, 1
cmp dword [esp + 0x5c], ebx
jne 0x4d5bf5
jmp 0x4d5dcb
mov edx, dword [ebp]
mov edx, dword [edx + 4]
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call edx
mov eax, dword [esp + 0x1c]
push eax
mov byte [ebp + 4], 1
call fcn.005844d1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
add esp, 4
mov ecx, dword [esp + 0x68]
push ecx
mov byte [esp + 0xa4], 1
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x60], 8
jb 0x4d5df4
mov edx, dword [esp + 0x4c]
push edx
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x60], 7
mov word [esp + 0x4c], ax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
lea ecx, [eax + eax*8]
add esi, 0x24
lea eax, [edx + ecx*4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x20], esi
cmp esi, eax
jne 0x4d5b53
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], bl
call fcn.0041e1d0
mov dword [esp + 0x24], vtable.wxDC.0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa0], 6
cmp ecx, ebx
je 0x4d5e5b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x24], vtable.wxObject.0
call fcn.00423980
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00585b7b
add esp, 0x90
ret 0xc