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

Disassembly:
push 0xffffffffffffffff
push 0x629e06
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x682d00]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc8]
mov eax, dword [esi]
mov ebp, dword [esp + 0xcc]
mov edx, dword [eax + 0x5c]
mov ecx, esi
mov dword [esp + 0x30], ebp
xor edi, edi
call edx
dec eax
cmp eax, 0x31
ja case.0x5ae249.2
movzx eax, byte [eax + 0x5ae584]
jmp dword [eax*4 + 0x5ae570]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x28]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
test word [esi + 0x20], 0xfff9
mov edx, dword [esi + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x10]
mov ecx, edi
sete cl
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x24]
cmp dword [esp + 0xd0], edi
je 0x5ae2cb
push ebp
push ecx
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00600680
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
add esp, 0x18
mov ecx, esi
call eax
mov edi, eax
jmp case.0x5ae249.2
push ecx
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00600450
add esp, 0x14
mov edi, eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
mov dword [esp + 0x30], edi
call fcn.0053bfc0
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x5ae33d
mov ebx, dword [esp + 0xc4]
mov eax, dword [ebp + 4]
xor edi, edi
call fcn.005adb30
push 8
mov edi, eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x5ae326
mov dword [eax], 0
mov dword [eax + 4], edi
jmp 0x5ae328
xor eax, eax
mov ecx, dword [esp + 0x30]
push eax
call fcn.0053bbb0
mov ebp, dword [ebp]
test ebp, ebp
jne 0x5ae301
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x5ae351
mov ecx, edi
call fcn.0053c150
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov ecx, esi
call eax
mov edi, eax
jmp case.0x5ae249.2
mov edx, dword [esi + 0xc]
mov ebx, dword [esi + 4]
cmp ebx, edx
jne 0x5ae377
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 0x10]
je case.0x5ae249.2
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
push eax
push edx
mov edx, dword [esp + 0xcc]
push ecx
push ebx
push 0
push edx
call fcn.005ada00
push 8
mov edi, eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x1c
test eax, eax
je 0x5ae3ab
mov dword [eax], 0
mov dword [eax + 4], edi
jmp 0x5ae3ad
xor eax, eax
push eax
mov ecx, ebp
call fcn.0053bbb0
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
mov ecx, esi
call edx
mov edi, eax
jmp case.0x5ae249.2
lea ecx, [esp + 0x68]
mov edi, 1
call fcn.0051a860
lea eax, [esp + 0x68]
push eax
mov ecx, esi
mov dword [esp + 0xc0], 0
call fcn.005c93d0
mov ebx, dword [esp + 0xd4]
test ebx, ebx
je 0x5ae466
cmp dword [esp + 0xd8], 0
je 0x5ae410
mov ecx, dword [esp + 0x88]
and ecx, 0xfffffff9
test cx, cx
je 0x5ae420
jmp 0x5ae466
mov edx, dword [esp + 0x88]
and edx, 0xfffffff9
cmp dx, 1
jne 0x5ae466
push esi
lea ecx, [esp + 0x40]
call fcn.005c9350
add dword [esp + 0x58], ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 1
call fcn.005c8250
test eax, eax
je 0x5ae453
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x40]
call fcn.005c93d0
jmp 0x5ae455
xor edi, edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], 0
call fcn.005c7e90
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xc4]
push 0
push 0
push ecx
push ebp
lea edx, [esp + 0x78]
push edx
push eax
call fcn.005ae1e0
add esp, 0x18
test eax, eax
jne 0x5ae497
xor edi, edi
lea ecx, [esp + 0x68]
jmp 0x5ae536
neg edi
sbb edi, edi
and edi, 0x30
inc edi
lea ecx, [esp + 0x68]
jmp 0x5ae536
lea ecx, [esp + 0x8c]
call fcn.0051a860
lea ecx, [esp + 0x8c]
push ecx
mov ebx, 2
mov ecx, esi
mov dword [esp + 0xc0], ebx
call fcn.005c93d0
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x44]
call fcn.0051fde0
mov edx, dword [esp + 0xc4]
push 0
push 0
push 0
push ebp
lea ecx, [esp + 0x4c]
push ecx
push edx
mov byte [esp + 0xd4], 3
call fcn.005ae1e0
add esp, 0x18
test eax, eax
jne 0x5ae514
xor edi, edi
jmp 0x5ae51f
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
mov ecx, esi
call edx
mov edi, eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0xbc], bl
call fcn.0051fe50
lea ecx, [esp + 0x8c]
mov dword [esp + 0xbc], 0xffffffff
call fcn.0051b350
mov eax, edi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.005f9aee
add esp, 0xac
ret