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

Disassembly:
sub esp, 0x78
push ebx
push ebp
mov ebp, dword [esp + 0x84]
xor ebx, ebx
mov dword [esp + 8], ebx
mov eax, dword [ebp + 8]
dec eax
test eax, eax
jle 0x57b7b5
push esi
push edi
mov edi, dword [esp + 0x94]
mov eax, dword [ebp + 4]
mov ecx, dword [eax + ebx*8]
mov edx, dword [eax + ebx*8 + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + ebx*8 + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + ebx*8 + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ecx, edx
mov edx, dword [eax + ebx*8 + 8]
push ecx
mov ecx, dword [eax + ebx*8 + 4]
push edx
mov edx, dword [eax + ebx*8]
push ecx
lea eax, [esp + 0x74]
push edx
push eax
call fcn.005181e0
mov ecx, dword [eax]
add esp, 0x14
mov dword [esp + 0x48], ecx
xor esi, esi
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
dec ecx
test ecx, ecx
jle 0x57b7a2
mov edx, dword [esp + 0x90]
mov eax, dword [edx + 4]
mov ecx, dword [eax + esi*8 + 8]
mov edx, dword [eax + esi*8 + 0xc]
mov ebx, dword [eax + esi*8 + 4]
mov ebp, dword [eax + esi*8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x28]
cmp ecx, edx
mov dword [esp + 0x44], ebx
jge 0x57b53a
mov edx, ecx
mov ecx, dword [esp + 0x30]
cmp ebp, ecx
jle 0x57b544
mov ecx, ebp
cmp edx, ecx
jg 0x57b783
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jle 0x57b55a
mov edx, ecx
mov ecx, dword [esp + 0x30]
cmp ebp, ecx
jge 0x57b564
mov ecx, ebp
cmp edx, ecx
jl 0x57b783
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jge 0x57b57a
mov edx, ecx
mov ecx, dword [esp + 0x34]
cmp ebx, ecx
jle 0x57b584
mov ecx, ebx
cmp edx, ecx
jg 0x57b783
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jle 0x57b59a
mov edx, ecx
mov ecx, dword [esp + 0x34]
cmp ebx, ecx
jge 0x57b5a4
mov ecx, ebx
cmp edx, ecx
jl 0x57b783
mov ecx, dword [eax + esi*8 + 0xc]
mov edx, dword [eax + esi*8 + 8]
push ecx
mov ecx, dword [eax + esi*8 + 4]
push edx
mov edx, dword [eax + esi*8]
push ecx
lea eax, [esp + 0x84]
push edx
push eax
call fcn.005181e0
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x70], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x2c]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x28]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
call fcn.00541dd0
add esp, 0x3c
test eax, eax
je 0x57b682
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x48]
push edx
push eax
push ecx
call fcn.005183f0
add esp, 0xc
test eax, eax
je 0x57b682
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x58]
push edx
push eax
push ecx
call fcn.005183f0
add esp, 0xc
test eax, eax
je 0x57b682
mov ebx, dword [edi + 8]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
push 0xffffffffffffffff
lea eax, [ebx + 1]
mov ecx, edi
push eax
mov dword [esp + 0x44], edx
call fcn.005fc3f0
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x3c]
mov dword [ecx + ebx*8], ebp
mov dword [ecx + ebx*8 + 4], edx
jmp 0x57b783
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.0057b440
add esp, 0x10
test eax, eax
je 0x57b6c5
mov ebx, dword [edi + 8]
push 0xffffffffffffffff
lea ecx, [ebx + 1]
push ecx
mov ecx, edi
call fcn.005fc3f0
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [edx + ebx*8], eax
jmp 0x57b77f
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.0057b440
add esp, 0x10
test eax, eax
je 0x57b709
mov ebx, dword [edi + 8]
push 0xffffffffffffffff
mov ecx, edi
lea eax, [ebx + 1]
push eax
call fcn.005fc3f0
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [ecx + ebx*8], edx
mov dword [ecx + ebx*8 + 4], eax
jmp 0x57b783
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
push ebp
push ecx
push edx
call fcn.0057b440
add esp, 0x10
test eax, eax
je 0x57b741
mov ebx, dword [edi + 8]
push 0xffffffffffffffff
mov ecx, edi
lea eax, [ebx + 1]
push eax
call fcn.005fc3f0
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x44]
mov dword [ecx + ebx*8], ebp
mov dword [ecx + ebx*8 + 4], edx
jmp 0x57b783
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.0057b440
add esp, 0x10
test eax, eax
je 0x57b783
mov ebx, dword [edi + 8]
push 0xffffffffffffffff
lea ecx, [ebx + 1]
push ecx
mov ecx, edi
call fcn.005fc3f0
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [edx + ebx*8], eax
mov dword [edx + ebx*8 + 4], ecx
mov edx, dword [esp + 0x90]
inc esi
mov eax, dword [edx + 8]
dec eax
cmp esi, eax
jl 0x57b507
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x8c]
mov ecx, dword [ebp + 8]
inc ebx
dec ecx
mov dword [esp + 0x10], ebx
cmp ebx, ecx
jl 0x57b497
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret