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

Disassembly:
push 0xffffffffffffffff
push 0x6015d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
push ecx
lea eax, [esp + 0x88]
mov esi, 1
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov dword [esp + 0x80], esi
call fcn.005c4e59
call fcn.00543e20
mov ebp, eax
add esp, 4
cmp ebp, 2
mov dword [esp + 0x20], ebp
jl 0x5a8d4c
mov ecx, dword [0x1a14e58]
mov dword [esp + 0x10], ecx
cmp esi, ebp
mov byte [esp + 0x78], 2
jge 0x5a8d3c
mov bl, 3
push esi
push ecx
lea edx, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.005c4e59
lea eax, [esp + 0x1c]
push eax
call fcn.005434f0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], bl
call fcn.005c521d
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call fcn.005c50e4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x88]
push ecx
push edx
call fcn.004ae584
add esp, 8
test eax, eax
je 0x5a8d3a
inc esi
cmp esi, ebp
jl 0x5a8cde
cmp esi, ebp
jne 0x5a8d78
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 1
call fcn.005c50e4
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 0
call fcn.005c50e4
lea ecx, [esp + 0x88]
mov dword [esp + 0x78], 0xffffffff
call fcn.005c50e4
xor eax, eax
jmp 0x5a9010
mov ecx, dword [edi + 4]
lea eax, [esp + 0x30]
push eax
inc esi
call fcn.004d4a60
mov ebp, dword [eax]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 4]
mov ebx, dword [eax + 4]
mov dword [esp + 0x1c], ebx
call fcn.004d4ad0
mov edx, dword [eax]
mov ecx, dword [edi + 4]
push ebx
push ebp
mov eax, dword [eax + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.004c3760
test eax, eax
je 0x5a8fd8
push 0xa
lea ecx, [esp + 0x58]
call fcn.005c3efd
mov dword [esp + 0x54], 0x19b48d8
push 0xa
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 4
call fcn.005c3efd
mov dword [esp + 0x38], 0x19b48d8
mov eax, dword [esp + 0x30]
mov byte [esp + 0x78], 5
cmp ebp, eax
jne 0x5a8ecf
mov eax, dword [esp + 0x34]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jg 0x5a8f9c
jmp 0x5a8e0e
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
push ebx
push ebp
call fcn.004c3760
mov edi, eax
test edi, edi
je 0x5a8eb9
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x80]
mov ebx, eax
test ebx, ebx
je 0x5a8f9c
push edi
lea ecx, [esp + 0x3c]
call fcn.005c3f8f
push ebx
lea ecx, [esp + 0x58]
call fcn.005c3f8f
cmp esi, dword [esp + 0x20]
jl 0x5a8e55
mov esi, 1
push esi
push ecx
lea eax, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.005c4e59
lea ecx, [esp + 0x2c]
push ecx
call fcn.005434f0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 6
call fcn.005c521d
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 5
call fcn.005c50e4
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
inc esi
call fcn.005c4e59
mov eax, dword [esp + 0x84]
mov ecx, edi
push eax
call fcn.004be2e0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jle 0x5a8e0a
jmp 0x5a8f9c
mov eax, dword [esp + 0x30]
lea ebx, [ebp + 1]
cmp ebx, eax
jg 0x5a8f9c
jmp 0x5a8ee4
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push edx
push ebx
call fcn.004c3760
mov edi, eax
test edi, edi
je 0x5a8f8f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
mov ebp, eax
test ebp, ebp
je 0x5a8f9c
push edi
lea ecx, [esp + 0x3c]
call fcn.005c3f8f
push ebp
lea ecx, [esp + 0x58]
call fcn.005c3f8f
cmp esi, dword [esp + 0x20]
jl 0x5a8f2f
mov esi, 1
push esi
push ecx
lea edx, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.005c4e59
lea eax, [esp + 0x2c]
push eax
call fcn.005434f0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 7
call fcn.005c521d
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 5
call fcn.005c50e4
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
inc esi
call fcn.005c4e59
mov eax, dword [esp + 0x84]
mov ecx, edi
push eax
call fcn.004be2e0
mov eax, dword [esp + 0x30]
inc ebx
cmp ebx, eax
jle 0x5a8ee0
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x54]
push 1
lea edx, [esp + 0x3c]
push ecx
push edx
push 2
lea ecx, [eax + 0xb8]
call fcn.00521f30
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], 4
call fcn.005c3f3c
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 2
call fcn.005c3f3c
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 1
call fcn.005c50e4
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 0
call fcn.005c50e4
lea ecx, [esp + 0x88]
mov dword [esp + 0x78], 0xffffffff
call fcn.005c50e4
mov eax, 1
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 0xc