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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5af09d
sub esp, 0x4c
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x44], ecx
mov dword [esp], eax
call fcn.005ad540
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5aed27
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0xc]
movzx ebx, byte [edx + 0x2a]
test bl, bl
jne 0x5aecde
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx + 0x2c]
test ebp, ebp
jne 0x5aeb78
movzx edx, byte [edx + 0x2d]
test dl, dl
je 0x5aeb78
mov byte [ebx + 0x78], 1
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + 0x34]
test edx, edx
je 0x5aeb78
mov dword [esp], ebx
mov byte [esp + 4], 0x28
call fcn.005a6cb0
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3c
lea ecx, [0x6cb78d]
mov dword [eax], ecx
mov byte [esp + 0x54], 0
lea ecx, [0x895484]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
mov edx, dword [ebx + 0x2c]
test edx, edx
jle 0x5aec6c
movzx edx, byte [ebx + 0x78]
test dl, dl
je 0x5aec6c
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0045f76a
lea ecx, [ebx + 0xa5]
lea edx, [esp + 0x20]
cmp edx, ecx
je 0x5aebc4
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
call fcn.0045fe60
lea edx, [esp + 0x20]
mov ebx, dword [esp + 0x44]
lea eax, [ebx + 0xb1]
lea ecx, [esp + 0x2c]
cmp ecx, eax
je 0x5aebee
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call fcn.0045fe60
lea edx, [esp + 0x20]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0xc]
mov ebp, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x30]
cmp ebp, 0x18
jne 0x5aec27
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x5aec23
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
jmp 0x5aec6c
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov byte [esp + 4], 0x28
call fcn.005a6cb0
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2f
lea ecx, [0x6c902d]
mov dword [eax], ecx
mov byte [esp + 0x54], 0
lea ecx, [0x895484]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
mov edx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0xc]
mov esi, dword [edx + 0xa0]
mov edx, dword [edx + 0x9c]
mov eax, ebx
mov ebx, dword [ebp + 0x40]
mov ebp, dword [ebp + 0x3c]
test ebx, ebx
je 0x5aecd8
test esi, esi
je 0x5aeca5
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], edx
xor edi, edi
jmp 0x5af015
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0x6c999a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
lea edx, [0x895484]
mov ebx, eax
mov eax, dword [esp + 0x44]
jmp 0x5aed38
xor edx, edx
xor ebx, ebx
jmp 0x5aed38
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005a6cb0
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x33
lea ecx, [0x6ca075]
mov dword [eax], ecx
mov byte [esp + 0x54], 0
lea ecx, [0x895484]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
add esp, 0x4c
ret
test edx, edx
jne 0x5aefde
mov edx, dword [ecx + 0xc]
mov ebx, dword [edx + 0x3c]
mov edx, dword [edx + 0x40]
mov dword [eax + 0xc4], edx
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5aed61
mov dword [eax + 0xc0], ebx
jmp 0x5aed72
lea edi, [eax + 0xc0]
mov edx, eax
mov eax, ebx
call fcn.0045f670
mov eax, edx
mov edx, dword [ecx + 0xc]
mov ebx, dword [edx + 0x44]
mov ebp, dword [edx + 0x48]
mov edx, dword [edx + 0x4c]
mov dword [eax + 0x44], ebp
mov dword [eax + 0x48], edx
lea edi, [eax + 0x40]
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5aed96
mov dword [eax + 0x40], ebx
jmp 0x5aeda1
mov edx, eax
mov eax, ebx
call fcn.0045f670
mov eax, edx
mov edx, dword [ecx + 0x58]
test edx, edx
je 0x5aedf3
mov edx, dword [ecx + 0x10]
mov ebx, dword [edx + 0x1c]
mov edx, dword [edx + 0x20]
test ebx, ebx
je 0x5aedef
mov ebp, dword [ecx + 0xc]
mov esi, dword [ebp + 0x20]
mov ebp, dword [ebp + 0x1c]
cmp esi, edx
je 0x5aedc6
xor edx, edx
jmp 0x5aedf5
mov dword [esp + 0x48], edi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00402870
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x48]
mov edx, eax
mov eax, dword [esp + 0x44]
jmp 0x5aedf5
xor edx, edx
jmp 0x5aedf5
xor edx, edx
test dl, dl
je 0x5aefc5
mov edx, dword [ecx + 0x58]
movzx ebx, word [edx + 0xc]
cmp word [eax + 0x24], bx
jne 0x5aef80
mov ebx, dword [ecx + 0x14]
movzx ebp, word [edx + 0xe]
cmp word [ebx], bp
jne 0x5aef3b
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [ecx + 0x50], ebp
mov dword [ecx + 0x54], edx
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5aee3c
mov dword [ecx + 0x4c], ebx
jmp 0x5aee50
lea edx, [ecx + 0x4c]
mov ebp, edi
mov edi, edx
mov esi, eax
mov eax, ebx
call fcn.0045f670
mov eax, esi
mov edi, ebp
mov edx, dword [ecx + 0x58]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov dword [eax + 0x50], ebp
mov dword [eax + 0x54], edx
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5aee71
mov dword [eax + 0x4c], ebx
jmp 0x5aee85
lea edx, [eax + 0x4c]
mov ebp, edi
mov edi, edx
mov esi, eax
mov eax, ebx
call fcn.0045f670
mov eax, esi
mov edi, ebp
mov edx, dword [ecx + 0x58]
mov ebx, dword [edx + 0x28]
mov ebp, dword [edx + 0x2c]
mov edx, dword [edx + 0x30]
mov dword [eax + 0x68], ebp
mov dword [eax + 0x6c], edx
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5aeea6
mov dword [eax + 0x64], ebx
jmp 0x5aeeba
lea edx, [eax + 0x64]
mov ebp, edi
mov edi, edx
mov esi, eax
mov eax, ebx
call fcn.0045f670
mov eax, esi
mov edi, ebp
mov edx, dword [ecx + 0x58]
mov ebx, dword [edx + 0x48]
mov ebp, dword [edx + 0x4c]
mov edx, dword [edx + 0x50]
mov dword [eax + 0x38], ebp
mov dword [eax + 0x3c], edx
mov edx, dword [0xa43e50]
test edx, edx
jne 0x5aeedb
mov dword [eax + 0x34], ebx
jmp 0x5aeeef
lea edx, [eax + 0x34]
mov ebp, edi
mov edi, edx
mov esi, eax
mov eax, ebx
call fcn.0045f670
mov eax, esi
mov edi, ebp
mov edx, dword [eax + 0x44]
test edx, edx
jne 0x5aef22
mov ecx, dword [ecx + 0x58]
mov edx, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x5c]
test edx, edx
je 0x5aef22
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x5aef1b
mov dword [eax + 0x40], ebx
jmp 0x5aef22
mov eax, ebx
call fcn.0045f670
mov byte [esp + 0x54], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x4c
ret
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.005a6cb0
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3b
lea ecx, [0x6cb4fc]
mov dword [eax], ecx
mov byte [esp + 0x54], 0
lea ecx, [0x895484]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
mov dword [esp], eax
mov byte [esp + 4], 0x28
call fcn.005a6cb0
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6ca954]
mov dword [eax], ecx
mov byte [esp + 0x54], 0
lea ecx, [0x895484]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
add esp, 0x4c
ret
mov dword [esp + 0x10], edx
mov dword [esp + 0x38], ebx
mov dword [esp], eax
mov byte [esp + 4], 0x6e
call fcn.005a6cb0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
add esp, 0x4c
ret
inc edi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
cmp edi, esi
jge 0x5af069
lea eax, [edx + edi*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
cmp ecx, ebx
jne 0x5af00c
mov dword [esp + 0x1c], edi
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5af058
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x5af00c
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
xor edx, edx
xor ebx, ebx
jmp 0x5aed38
lea eax, [0x687ca0]
mov dword [esp], eax
call fcn.0040af90
mov ebx, dword [esp + 4]
mov dword [ebx + 4], 0x2f
lea eax, [0x6c90ba]
mov dword [ebx], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
lea edx, [0x895484]
jmp 0x5aed38
call fcn.0045e260
jmp fcn.005aeac0