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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ae482
sub esp, 0x60
xor eax, eax
lea edi, [esp + 0x48]
call fcn.0044a0ca
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
movzx ecx, byte [ecx + 0x44]
mov byte [esp + 0x13], cl
mov byte [eax + 0x50], 0
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0
call fcn.005adca0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
test edx, edx
jle 0x5ae472
lea ebp, [edx - 1]
cmp ebp, edx
jae 0x5ae46b
lea edx, [edx + edx*2]
mov esi, eax
mov eax, dword [ecx + edx*4 - 0xc]
mov edi, eax
mov eax, dword [ecx + edx*4 - 4]
mov ecx, dword [ecx + edx*4 - 8]
cmp ebp, ebx
ja 0x5ae464
mov dword [esi + 0x18], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov edx, dword [esi]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
cmp edi, edx
jae 0x5ae45d
lea edx, [edi + edi*2]
lea edx, [ebx + edx*8]
mov ebx, edi
lea edi, [esp + 0x48]
mov ebp, esi
mov esi, edx
call fcn.0044a5a4
movzx ecx, byte [esp + 0x48]
cmp cl, 4
ja 0x5ae26e
cmp cl, 1
ja 0x5ae06a
test cl, cl
jne 0x5adfdd
mov edx, dword [esp + 0x20]
test edx, edx
je 0x5adfb0
cmp edx, 1
jne 0x5adf72
mov edx, dword [esp + 0x50]
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov ebx, dword [ebp + 4]
inc ebx
imul ebx, edx
add ebx, eax
mov dword [esp + 0x24], ebx
mov esi, eax
mov eax, dword [ebp + 0x20]
mov edi, ebp
mov ebp, dword [ebp + 0x24]
shr ebx, 5
cmp ebx, ebp
jae 0x5adf6b
mov ebp, dword [eax + ebx*4]
mov ecx, dword [esp + 0x24]
mov edx, 1
shl edx, cl
test edx, ebp
je 0x5adf5f
xor eax, eax
test al, al
je 0x5ade6a
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, esi
mov esi, dword [esp + 0x68]
jmp 0x5adea8
or ebp, edx
mov dword [eax + ebx*4], ebp
mov eax, 1
jmp 0x5adf44
call fcn.00424660
ud2
lea eax, [0x64f21c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x12
lea eax, [0x60cc40]
mov dword [esp], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0040a860
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004254c0
ud2
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.005adca0
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
jmp 0x5adf0a
mov ecx, dword [ebp]
mov edx, dword [esp + 0x4c]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
cmp edx, ecx
jae 0x5ae063
lea ecx, [edx + edx*2]
shl ecx, 3
movzx ecx, byte [ebx + ecx]
add ecx, 0xfffffff9
cmp cl, 3
ja 0x5ae02f
mov dword [esp], ebp
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.005adca0
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x68]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x20]
jmp 0x5adf0a
mov ecx, dword [ebp + 4]
mov dword [esp + 8], ecx
mov dword [esp], ebp
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0
call fcn.005adca0
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
jmp 0x5adf0a
call fcn.00424660
ud2
cmp cl, 2
jne 0x5ae152
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x5ae0f0
mov ecx, ebx
mov ebx, dword [esp + 0x50]
test ebx, ebx
jb 0x5ae0ea
mov esi, eax
mov eax, dword [ebp + 0xc]
mov edi, ebp
mov ebp, dword [ebp + 8]
cmp ebx, eax
jb 0x5ae0a6
mov ebx, dword [esp + 0x4c]
mov ebp, edi
mov edx, ebx
mov eax, esi
mov ecx, dword [esp + 0x20]
jmp 0x5adf0a
mov eax, dword [ebp + ebx*4]
mov dword [esp + 8], eax
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 1
call fcn.005adca0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
cmp eax, edx
jae 0x5ae0e3
mov esi, dword [esp + 0x18]
mov dword [ebx + eax*4], esi
mov edx, dword [esp + 0x20]
mov edi, ecx
jmp 0x5ae093
call fcn.00424660
ud2
mov esi, eax
mov edi, ebp
jmp 0x5ae093
cmp edx, 1
jne 0x5ae114
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ebx, dword [esp + 0x50]
cmp ebx, ecx
jae 0x5ae10d
mov dword [edx + ebx*4], eax
mov edi, ebp
jmp 0x5ade6a
call fcn.00424660
ud2
lea eax, [0x650cd8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0x16
lea eax, [0x60cc40]
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004254c0
ud2
cmp cl, 3
jne 0x5ae198
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x18]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
call edx
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x50]
not eax
test al, cl
jne 0x5ae18f
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
jmp 0x5adf0a
mov edi, dword [esp + 0x68]
jmp 0x5ade6a
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x5ae25d
cmp edx, 1
jle 0x5ae1ae
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x64]
movzx edx, byte [ecx + 0x50]
test dl, dl
je 0x5ae254
movzx edx, byte [esp + 0x13]
test dl, dl
je 0x5ae250
test eax, eax
jle 0x5ae24c
mov ebx, dword [ecx + 0x58]
mov esi, ebp
mov ebp, dword [ecx + 0x54]
cmp ebx, 1
jbe 0x5ae245
mov ebx, dword [ebp + 4]
cmp eax, ebx
jg 0x5ae20b
mov byte [ecx + 0x50], 1
test dl, dl
je 0x5ae202
mov ebx, dword [esi + 4]
cmp ebx, eax
je 0x5ae1f9
mov edi, esi
jmp 0x5ade6a
mov byte [esp + 0x7c], 1
add esp, 0x60
ret
mov byte [esp + 0x7c], 1
add esp, 0x60
ret
mov ebx, dword [esi + 0xc]
mov ebp, dword [esi + 8]
mov edi, dword [ecx + 0x58]
mov eax, dword [ecx + 0x54]
cmp edi, ebx
jle 0x5ae241
mov dword [esp], eax
mov dword [esp + 4], ebp
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
movzx edx, byte [esp + 0x13]
mov esi, dword [esp + 0x68]
jmp 0x5ae1e3
mov ebx, edi
jmp 0x5ae21b
call fcn.00424660
ud2
mov esi, ebp
jmp 0x5ae1e3
mov esi, ebp
jmp 0x5ae1e3
movzx edx, byte [esp + 0x13]
mov esi, ebp
jmp 0x5ae20b
mov eax, dword [esp + 0x64]
mov byte [eax + 0x50], 1
mov byte [esp + 0x7c], 1
add esp, 0x60
ret
cmp cl, 7
ja 0x5ae329
cmp cl, 5
je 0x5ae2eb
cmp cl, 6
jne 0x5ae28e
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
jmp 0x5adf0a
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x24]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005a9030
movzx eax, byte [esp + 8]
test al, al
je 0x5ae2e2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, ebx
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
jmp 0x5adf0a
mov edi, dword [esp + 0x68]
jmp 0x5ade6a
lea eax, [0x64fc20]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x13
lea eax, [0x60cc40]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040a860
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004254c0
ud2
cmp cl, 8
je 0x5ae407
cmp cl, 9
je 0x5ae3c5
cmp cl, 0xa
jne 0x5ae387
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x24]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
cmp eax, 0xa
je 0x5ae37e
cmp eax, 0xffffffff
je 0x5ae37e
mov ebx, dword [esp + 0x18]
lea eax, [ecx + ebx]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
jmp 0x5adf0a
mov edi, dword [esp + 0x68]
jmp 0x5ade6a
lea eax, [0x64bf95]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 8
lea eax, [0x60cc40]
mov dword [esp], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
call fcn.0040a860
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004254c0
ud2
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x24]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x5ae3fe
mov ebx, dword [esp + 0x18]
lea eax, [ecx + ebx]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
jmp 0x5adf0a
mov edi, dword [esp + 0x68]
jmp 0x5ade6a
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x24]
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
test ebx, ebx
jbe 0x5ae456
mov edx, dword [edx]
cmp eax, edx
jne 0x5ae44d
mov ebx, dword [esp + 0x18]
lea eax, [ecx + ebx]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x20]
jmp 0x5adf0a
mov edi, dword [esp + 0x68]
jmp 0x5ade6a
call fcn.00424660
ud2
call fcn.00424660
ud2
call fcn.004246c0
ud2
call fcn.00424660
ud2
mov eax, dword [esp + 0x64]
movzx eax, byte [eax + 0x50]
mov byte [esp + 0x7c], al
add esp, 0x60
ret
call fcn.00448420
jmp fcn.005ade10