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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5af570
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
movzx ecx, byte [ecx + 0x44]
mov byte [esp + 0x2b], cl
xor edx, edx
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
cmp edx, ebp
jge 0x5af565
jae 0x5af55e
mov ebp, edx
shl edx, 3
mov dword [esp + 0x38], edx
mov esi, dword [esi + edx + 4]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x5af0a5
test cl, cl
je 0x5af138
movzx edi, byte [eax + 0x50]
xchg edi, eax
test al, al
xchg edi, eax
je 0x5af138
mov edi, dword [esi + 4]
mov edx, dword [esi + 8]
test edx, edx
jle 0x5af138
mov edx, dword [eax + 0x58]
mov ebx, dword [eax + 0x54]
test edx, edx
jbe 0x5af557
mov edx, dword [ebx]
mov ebx, dword [edi]
cmp edx, ebx
jge 0x5af138
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x48]
mov edi, dword [eax + 0x4c]
lea ecx, [eax + 0x44]
mov dword [esp + 0x50], ecx
lea ecx, [ebx + 1]
cmp ecx, edi
jg 0x5af0c8
lea ecx, [ebx + 1]
mov dword [eax + 0x48], ecx
lea ecx, [edx + ebx*4]
mov edi, dword [0x77c810]
test edi, edi
jne 0x5af0b2
mov dword [edx + ebx*4], esi
lea edx, [ebp + 1]
movzx ecx, byte [esp + 0x2b]
jmp 0x5af009
mov dword [esp], ecx
mov dword [esp + 4], esi
call fcn.0040d580
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
jmp 0x5af0a5
lea ebp, [0x5f8640]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x4c], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x5af11e
mov dword [ebx + 0x44], eax
mov edx, dword [ebx + 0x44]
mov eax, ebx
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov ebx, ecx
jmp 0x5af08f
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x60]
jmp 0x5af10a
mov edx, dword [esi]
mov dword [esp + 0x40], edx
movzx ebx, byte [edx]
cmp bl, 7
ja 0x5af4f8
cmp bl, 4
jne 0x5af486
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
mov dword [esp + 0x4c], edi
test ebx, ebx
jle 0x5af47b
test cl, cl
je 0x5af475
movzx edx, byte [eax + 0x50]
test dl, dl
je 0x5af46f
mov edx, dword [eax + 0x54]
mov edi, dword [eax + 0x58]
cmp edi, 1
jbe 0x5af468
mov edx, dword [edx + 4]
mov edi, dword [esp + 0x6c]
cmp edx, edi
jl 0x5af412
test cl, cl
je 0x5af2d3
mov byte [eax + 0x50], 1
xor edx, edx
test dl, dl
jne 0x5af274
mov dword [esp + 0x3c], esi
test esi, esi
je 0x5af0a5
mov edx, dword [eax + 0x4c]
mov ebx, dword [eax + 0x48]
mov edi, dword [eax + 0x44]
lea ecx, [eax + 0x44]
mov dword [esp + 0x50], ecx
lea ecx, [ebx + 1]
cmp ecx, edx
jg 0x5af204
lea ecx, [ebx + 1]
mov dword [eax + 0x48], ecx
lea ecx, [edi + ebx*4]
mov edx, dword [0x77c810]
test edx, edx
jne 0x5af1eb
mov dword [edi + ebx*4], esi
jmp 0x5af0a5
mov dword [esp], ecx
mov dword [esp + 4], esi
call fcn.0040d580
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
jmp 0x5af0a5
lea ebp, [0x5f8640]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x4c], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x5af25a
mov dword [ebx + 0x44], eax
mov edi, dword [ebx + 0x44]
mov eax, ebx
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov ebx, ecx
jmp 0x5af1d0
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x60]
jmp 0x5af246
mov edx, dword [esi + 8]
mov ebx, dword [esi + 4]
mov edi, dword [esp + 0x40]
mov edi, dword [edi + 4]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], edx
movzx ebx, byte [esp + 0x78]
mov byte [esp + 0x1c], bl
mov dword [esp + 0x20], esi
call fcn.005af580
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
movzx ecx, byte [esp + 0x2b]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
jmp 0x5af1ad
mov edx, dword [esp + 0x64]
mov ebx, dword [edx + 0xc]
mov edi, dword [edx + 0x14]
mov ecx, dword [edx + 0x10]
inc ebp
cmp ebp, ecx
ja 0x5af40b
sub ecx, ebp
mov dword [esp + 0x34], ecx
sub edi, ebp
mov ebp, dword [esp + 0x38]
add ebp, 8
dec edi
sar edi, 0x1f
xor edi, 0xffffffff
and ebp, edi
lea ebx, [ebx + ebp]
xor ebp, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], ebx
cmp ebp, ecx
jge 0x5af36c
mov edi, dword [ebx + 4]
mov dword [esp + 0x44], edi
test edi, edi
je 0x5af34a
mov esi, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
lea ebp, [eax + 0x44]
mov dword [esp + 0x50], ebp
lea ebp, [edx + 1]
cmp ebp, ecx
jg 0x5af39b
lea ecx, [edx + 1]
mov dword [eax + 0x48], ecx
mov ecx, dword [0x77c810]
lea ebp, [esi + edx*4]
test ecx, ecx
jne 0x5af385
mov dword [esi + edx*4], edi
add ebx, 8
mov edi, dword [esp + 0x38]
lea ebp, [edi + 1]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], ebx
cmp ebp, ecx
jl 0x5af312
mov dword [edx + 0x10], 0
movzx ecx, byte [esp + 0x2b]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
jmp 0x5af19f
mov dword [esp], ebp
mov dword [esp + 4], edi
call fcn.0040d580
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x48]
jmp 0x5af34a
lea ebx, [0x5f8640]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.00437350
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x4c], edx
mov edx, dword [0x77c810]
test edx, edx
jne 0x5af3f1
mov dword [ebx + 0x44], eax
mov esi, dword [ebx + 0x44]
mov eax, ebx
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov edx, ecx
jmp 0x5af334
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040d580
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x60]
jmp 0x5af3dd
call fcn.004246c0
ud2
cmp ebx, 1
jbe 0x5af461
mov edx, dword [esp + 0x4c]
mov dword [edx + 4], edi
mov edx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov edi, dword [eax + 0x54]
mov esi, dword [eax + 0x58]
cmp esi, ebx
jle 0x5af45d
mov dword [esp], edi
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0044a7d0
movzx ecx, byte [esp + 0x2b]
test cl, cl
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x6c]
jmp 0x5af199
mov ebx, esi
jmp 0x5af42e
call fcn.00424660
ud2
call fcn.00424660
ud2
mov edi, dword [esp + 0x6c]
jmp 0x5af412
mov edi, dword [esp + 0x6c]
jmp 0x5af412
test cl, cl
mov edi, dword [esp + 0x6c]
jmp 0x5af199
cmp bl, 7
jne 0x5af4ba
mov dword [esp], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 4], ebx
call fcn.005a9030
movzx edx, byte [esp + 8]
mov eax, dword [esp + 0x60]
movzx ecx, byte [esp + 0x2b]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x6c]
jmp 0x5af1a5
lea eax, [0x64bf95]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 8
lea eax, [0x60cc40]
mov dword [esp], eax
lea eax, [esp + 0x54]
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
cmp bl, 8
jne 0x5af526
mov ebx, dword [edx + 0x10]
mov edi, dword [edx + 0xc]
test ebx, ebx
jbe 0x5af51f
mov ebx, dword [edi]
mov edi, ebx
mov ebx, dword [esp + 0x74]
cmp ebx, edi
sete bl
mov edi, dword [esp + 0x6c]
mov edx, ebx
jmp 0x5af1a5
call fcn.00424660
ud2
cmp bl, 9
jne 0x5af539
mov edi, dword [esp + 0x6c]
mov edx, 1
jmp 0x5af1a5
cmp bl, 0xa
jne 0x5af4ba
mov ebx, dword [esp + 0x74]
cmp ebx, 0xa
setne bl
mov edi, dword [esp + 0x6c]
mov edx, ebx
jmp 0x5af1a5
call fcn.00424660
ud2
call fcn.00424660
ud2
mov dword [ebx + 0x10], 0
add esp, 0x5c
ret
call fcn.00448420
jmp fcn.005aefe0