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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x14
mov dword [ebp + 0xc], eax
mov ebx, ecx
push dword [eax + 0xbc]
mov dword [ebp - 4], ebx
push dword [eax + 0xb8]
push dword [eax + 0xb4]
push dword [eax + 0xb0]
push 0
push ebx
call dword [0x101472c8]
push 0x21c
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.0060e171
add esp, 0xc
push 0x10
call fcn.0060c453
add esp, 4
mov dword [eax], 0xffffffff
push 0
push 0
mov dword [eax + 4], 8
mov dword [eax + 8], 0x44b
mov dword [eax + 0xc], 0x7e3
mov eax, dword [ebp + 0xc]
push dword [eax + 0x3c]
push dword [eax + 4]
push 0
push 0x1ff
push 1
push 0xff
push dword [eax + 0x40]
push dword [eax + 0x10]
push dword [eax + 0xc4]
push dword [eax + 0xc0]
push dword [eax]
push eax
push dword [eax + 0x28]
push 0
push 0
push 0xff
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call fcn.00601b11
mov edx, dword [ebp + 0xc]
mov ebx, eax
push 0
push 0
push 0
push dword [edx + 0x100]
movzx eax, byte [edx + 0xf8]
mov ecx, dword [edx + 0x4c]
push 0
push dword [edx + 0x6c]
mov esi, dword [edx + 0x84]
push dword [edx + 0x68]
mov edi, dword [edx + 0x80]
push dword [edx + 0x64]
mov dword [ebp - 8], ebx
push 1
push dword [edx + 0xfc]
push eax
push dword [edx + 0x5c]
push dword [edx + 0x58]
push ecx
push dword [edx + 0x50]
push ecx
push dword [edx + 0x48]
lea eax, [ebp + 0xc]
push dword [edx + 0x44]
push dword [edx + 0x20]
push dword [edx + 0x1c]
push dword [edx + 0x18]
push dword [edx + 0x14]
push dword [edx + 0xec]
push dword [edx + 0xf4]
push dword [edx + 0xf0]
push dword [edx + 8]
push eax
push dword [edx + 0x30]
mov eax, dword [edx + 0xbc]
sub eax, dword [edx + 0x8c]
push 0
push 0
push 0xff
push 0
push 1
push 0
push 0x1004f8a0
sub eax, esi
push eax
mov eax, dword [edx + 0xb8]
sub eax, dword [edx + 0x88]
sub eax, edi
push eax
push esi
push edi
push 0
push ebx
call fcn.00500f51
mov ecx, dword [ebp + 0xc]
push 0
push 0
push 0
push dword [ebp - 4]
mov dword [ecx + 0xe4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xbc]
sub eax, dword [ecx + 0x8c]
mov edx, dword [ecx + 0x84]
sub eax, edx
mov esi, dword [ecx + 0x80]
push eax
mov eax, dword [ecx + 0xb8]
sub eax, dword [ecx + 0x88]
sub eax, esi
push eax
push edx
push esi
push 0x50010005
push 0x10152be4
push 0x10152bf0
push 0
call dword [0x10147288]
push dword [ebp - 4]
mov edi, eax
push 0x10152bcc
push edi
call dword [0x10147214]
mov esi, dword [0x1014730c]
push 0x100b3ed0
push 0xfffffffffffffffc
push edi
call esi
push eax
push 0xffffffffffffffeb
push edi
call esi
push 0
push edi
call dword [0x101472d4]
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x5a7818
mov ebx, dword [esi + 0xb8]
xor edi, edi
sub ebx, dword [esi + 0x88]
sub ebx, dword [esi + 0x7c]
test eax, eax
jle 0x5a7815
mov ecx, dword [esi + 0x74]
sub eax, edi
push 0
push 0
push dword [esi + 0x3c]
mov edx, dword [esi + 0x94]
add eax, 0x10000
push dword [esi + 0x60]
push dword [esi + 0x24]
push dword [ecx + edi*4]
push dword [esi + 0xc]
push edi
push dword [esi + 0x2c]
push eax
mov eax, dword [esi + 0x78]
push 0
push 0xff
push 0
push 1
push 0
push 0x100bd6b0
push edx
push dword [eax + edi*4]
mov eax, dword [esi + 0xbc]
sub eax, dword [esi + 0x90]
sub eax, edx
push eax
push ebx
push 0
push dword [ebp - 8]
call fcn.004ff0e1
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x34]
mov dword [ecx + edi*4], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + edi*4]
inc edi
add eax, dword [esi + 0xa0]
add ebx, eax
mov eax, dword [esi + 0x70]
cmp edi, eax
jl 0x5a7798
mov ebx, dword [ebp - 8]
mov eax, dword [esi + 0x104]
test eax, eax
je 0x5a7836
push dword [esi + 0x108]
push 0
push 0
push 0
push 1
push ebx
call eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x38]
movzx ecx, ax
test eax, eax
je 0x5a785d
push 0
push 1
push 1
push 0x46
push 0xffffff01
push 0x22
push ecx
push 0x3e8
push ebx
call fcn.00554ad1
jmp 0x5a7882
push 0x43
push dword [esi + 0xbc]
push dword [esi + 0xb8]
push dword [esi + 0xb4]
push dword [esi + 0xb0]
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [0x101472c8]
call dword [0x101472bc]
mov ecx, dword [ebp - 4]
cmp eax, ecx
je 0x5a7896
push ecx
call dword [0x101472f0]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xcc]
test ecx, ecx
js 0x5a78a8
cmp ecx, dword [eax + 0x70]
jl 0x5a78b5
mov dword [eax + 0xcc], 0
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x70], 0
je 0x5a78cc
mov ecx, dword [eax + 0xcc]
mov eax, dword [eax + 0x34]
push dword [eax + ecx*4]
call fcn.005361a1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8