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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5a5568
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00426d04
dec eax
test eax, eax
jl 0x5a52bb
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.005a4020
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x5a527d
sub esi, 4
mov esi, dword [esi]
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.005a4020
cmp esi, dword [eax + 0x20]
jle 0x5a52b5
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.005a4020
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x5a52a8
sub esi, 4
mov esi, dword [esi]
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.005a4020
mov dword [eax + 0x20], esi
inc ebx
dec dword [ebp - 0x14]
jne 0x5a5261
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x30]
call fcn.00587b98
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5a554b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x30]
call fcn.00587cdc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
dec eax
test eax, eax
jl 0x5a536e
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 8]
add eax, 0x28
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x30]
call fcn.00587d94
dec dword [ebp - 0x14]
jne 0x5a5335
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x28], edx
jmp 0x5a547d
mov eax, dword [ebp - 8]
call fcn.00426d04
dec eax
test eax, eax
jl 0x5a5423
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0x24]
push dword [eax + 0x20]
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x30]
call fcn.00588204
mov esi, dword [ebp - 4]
test esi, esi
je 0x5a53f4
sub esi, 4
mov esi, dword [esi]
mov dword [ebp - 0xc], esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.005a4020
mov eax, dword [eax + 0x20]
cmp eax, dword [ebp - 0xc]
jge 0x5a5419
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.005a4020
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x20], edx
inc ebx
dec dword [ebp - 0x14]
jne 0x5a5392
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 8]
add eax, 0x28
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x30]
call fcn.00587d94
mov eax, dword [ebp - 8]
cmp word [eax + 0x7a], 0
je 0x5a5476
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x18]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x7c]
call dword [ebx + 0x78]
push 0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x30]
call fcn.00587e54
test al, al
jne 0x5a54e2
mov eax, dword [ebp - 8]
cmp dword [eax + 0x68], 0
je 0x5a537b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x28]
jg 0x5a537b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x30]
call fcn.00587c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a5552
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x30]
call fcn.00587ca0
ret