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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x2c]
push edi
mov edi, dword [ebp + 0x28]
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0xffffffff
mov dword [ecx], 0
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0x78]
test eax, eax
jne 0x5784ad
push dword [esi + 0x18]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [eax + 0x70]
mov dword [ebp + 0x28], eax
test eax, eax
jne 0x5784ad
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x18]
call dword [eax + 0x38]
test eax, eax
je 0x57849e
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x18]
call dword [eax]
mov dword [esi + 0x1c], eax
cmp eax, ebx
jb 0x57849e
cmp eax, 8
jae 0x57849e
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x1c]
mov dword [esi + eax*8 + 0x24], ecx
mov ecx, dword [esi + 0x1c]
mov eax, dword [ebp + 0xc]
mov dword [esi + ecx*8 + 0x28], eax
inc dword [esi + 0x20]
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x2c]
cmovne ebx, dword [ebp + 0x18]
mov ecx, dword [eax]
cmp ecx, 0xfffffffd
jne 0x578378
mov dword [eax], 0
mov ecx, esi
mov eax, dword [esi]
push dword [esi + 0x18]
call dword [eax + 0x24]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
cmp dword [esi + 0x1c], 0
je 0x5783c0
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x18]
call dword [eax + 0x2c]
mov dword [edi], eax
jmp 0x5783c0
mov edx, dword [esi + 0x18]
cmp ecx, 0xfffffffe
mov ecx, esi
jne 0x5783b1
mov eax, dword [esi]
push edx
call dword [eax + 0x1c]
mov ecx, dword [ebp + 0x2c]
dec eax
mov dword [ecx], eax
mov ecx, esi
mov eax, dword [esi]
push dword [esi + 0x18]
call dword [eax + 0x28]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
cmp dword [esi + 0x1c], 0
je 0x5783c0
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x18]
call dword [eax + 0x30]
mov dword [edi], eax
jmp 0x5783c0
push ebx
push eax
push edi
push dword [ebp + 0x24]
push dword [ebp + 0x10]
push edx
call fcn.00578100
mov edx, dword [ebp + 0x2c]
mov eax, dword [esi + 0x1c]
mov ecx, dword [edx]
cmp ecx, 0xfffffffd
jne 0x5783ef
mov ebx, dword [ebp + 0x14]
cmp eax, ebx
jne 0x5783de
cmp dword [ebp + 0x20], 0
je 0x5784aa
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x18]
call dword [eax + 0x14]
mov dword [edi], eax
jmp 0x578488
cmp ecx, 0xfffffffe
jne 0x578413
mov ebx, dword [ebp + 0x14]
cmp eax, ebx
jne 0x578405
cmp dword [ebp + 0x20], 0
je 0x5784aa
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x18]
call dword [eax + 0x10]
mov dword [edi], eax
jmp 0x578488
cmp ecx, 0xffffffff
jne 0x578481
cmp eax, dword [ebp + 0x14]
je 0x5784aa
test bl, 2
je 0x57844c
mov dword [edx], 0
mov ecx, esi
mov eax, dword [esi]
push dword [esi + 0x18]
call dword [eax + 0x24]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov ecx, esi
mov eax, dword [esi]
push dword [esi + 0x18]
call dword [eax + 0x2c]
mov ebx, dword [ebp + 0x14]
mov dword [edi], eax
jmp 0x578488
test bl, 4
je 0x5784aa
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x18]
call dword [eax + 0x1c]
mov ecx, dword [ebp + 0x2c]
dec eax
mov dword [ecx], eax
mov ecx, esi
mov eax, dword [esi]
push dword [esi + 0x18]
call dword [eax + 0x28]
mov ecx, dword [ebp + 0x24]
mov dword [ecx], eax
mov ecx, esi
mov eax, dword [esi]
push dword [esi + 0x18]
call dword [eax + 0x30]
mov ebx, dword [ebp + 0x14]
mov dword [edi], eax
jmp 0x578488
mov ebx, dword [ebp + 0x14]
cmp eax, ebx
je 0x5784aa
mov eax, dword [esi]
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
push dword [edi]
mov ecx, esi
call dword [eax + 0x3c]
jmp 0x5782c5
pop edi
pop esi
mov eax, 0xf
pop ebx
pop ebp
ret 0x28
mov eax, dword [ebp + 0x28]
pop edi
pop esi
pop ebx
pop ebp
ret 0x28