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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 8], edx
xor esi, esi
mov edx, dword [ebp + 8]
push edi
mov edi, ecx
mov ecx, dword [ebx]
mov dword [ebp - 0x24], ecx
mov eax, dword [edx]
mov dword [edx], esi
mov dword [ebx], esi
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x18], esi
je 0x57d81c
mov eax, dword [edi + 0x1c]
jmp 0x57d9f3
cmp dword [edi + 0xc], 0
lea esi, [edi + 0x20]
mov dword [ebp - 0x34], esi
mov dword [esi], 2
je 0x57d8e2
push esi
push dword [ebp + 0x1c]
mov dword [ebp + 0x14], ecx
xor edx, edx
push dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
mov dword [ebp - 0xc], eax
push ecx
push dword [ebp + 0x10]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [edi + 0x78]
call dword [edi + 0x88]
mov esi, dword [esi]
mov edx, eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x1c], edx
mov dword [ebx], eax
xor ebx, ebx
mov eax, dword [edi + 0x14]
inc ebx
add eax, ecx
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x1c], esi
mov dword [edi + 0x14], eax
test edx, edx
jne 0x57d882
cmp dword [ebp + 0x18], edx
jne 0x57d882
cmp esi, ebx
jne 0x57d885
mov dword [edi + 0x18], ebx
cmp dword [edi + 8], ebx
jne 0x57d891
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x57d8db
cmp dword [edi + 0x18], 0
je 0x57d8db
mov dword [ebp + 0x18], ebx
cmp dword [edi + 8], ebx
jbe 0x57d8d6
lea esi, [edi + 0x90]
mov edx, dword [edi + 0xc]
mov ecx, dword [esi]
push eax
call dword [esi + 0x14]
cmp dword [ebp + 0x1c], ebx
je 0x57d8c1
cmp dword [ebp + 0xc], 0
je 0x57d8c4
mov ecx, dword [ebp - 0x10]
cmp dword [edi + 0x14], ecx
jne 0x57d8c4
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + 0x18]
add esi, 0x18
inc ecx
mov dword [ebp + 0x18], ecx
cmp ecx, dword [edi + 8]
jb 0x57d8a5
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, edx
jmp 0x57d9f3
xor ebx, ebx
inc ebx
cmp dword [edi + 8], ebx
je 0x57d913
cmp dword [edi + 4], 0
jne 0x57d90d
mov esi, dword [edi]
mov edx, 0x60000
mov ecx, esi
call dword [esi]
mov dword [edi + 4], eax
test eax, eax
jne 0x57d90a
push 2
pop eax
jmp 0x57d9f3
lea esi, [edi + 0x20]
and dword [ebp - 0x14], 0
jmp 0x57d919
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
jmp 0x57d924
lea esi, [edi + 0x20]
and dword [ebp + 0x10], 0
xor ecx, ecx
mov dword [esi], 2
xor esi, esi
mov dword [ebp - 0x20], ebx
mov dword [ebp + 0x1c], ecx
cmp dword [edi + 8], ecx
jbe 0x57d9ec
lea eax, [esi + 5]
mov dword [ebp - 0x28], ecx
imul eax, eax, 0x18
add eax, edi
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x57d969
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [edx]
jmp 0x57d98d
lea edx, [esi - 1]
shl edx, 0x11
add edx, dword [edi + 4]
add edx, dword [edi + esi*4 + 0x2c]
mov dword [ebp - 0x1c], edx
mov edx, dword [edi + esi*4 + 0x20]
mov dword [ebp - 0x18], edx
mov edx, dword [edi + esi*4 + 0x38]
sub edx, dword [edi + esi*4 + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 8]
dec eax
cmp esi, eax
jne 0x57d9a5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
sub ecx, dword [edx]
jmp 0x57d9bc
mov eax, dword [edi + esi*4 + 0x30]
cmp eax, dword [edi + esi*4 + 0x3c]
jne 0x57d9d2
mov eax, esi
mov ecx, 0x20000
shl eax, 0x11
add eax, dword [edi + 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + esi*4 + 0x68]
test ecx, ecx
je 0x57d9fa
mov eax, dword [ebp - 0x28]
test eax, eax
cmovne ecx, eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [ebp + 0x10]
inc esi
cmp esi, dword [edi + 8]
jb 0x57d941
test eax, eax
jne 0x57d921
cmp dword [ebp - 0x20], eax
je 0x57d9f1
mov eax, dword [ebp - 0x34]
mov dword [eax], ebx
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret 0x18
lea ecx, [ebp - 0x30]
mov edx, eax
mov eax, dword [ebp - 0x2c]
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 4]
push dword [ebp - 0x18]
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [eax]
call dword [eax + 0x10]
mov edx, eax
test edx, edx
je 0x57da2e
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
mov dword [edi + esi*4 + 0x68], edx
cmove ecx, edx
mov dword [ebp + 0x1c], ecx
mov eax, dword [ebp - 0x30]
cmp eax, ebx
push 0
pop ecx
sete cl
mov dword [ebp - 0x2c], ecx
je 0x57da4e
and dword [ebp - 0x20], 0
cmp dword [edi + 8], ebx
jne 0x57da4e
test edx, edx
jne 0x57da4e
mov dword [edi + 0x20], eax
mov edx, dword [ebp - 4]
test esi, esi
jne 0x57da5f
mov eax, dword [ebp + 0x14]
add dword [eax], edx
add dword [ebp + 0xc], edx
jmp 0x57da63
add dword [edi + esi*4 + 0x2c], edx
mov eax, dword [edi + 8]
dec eax
cmp esi, eax
mov eax, dword [ebp - 0xc]
jne 0x57da78
mov ecx, dword [ebp + 8]
add dword [ecx], eax
add dword [ebp - 8], eax
jmp 0x57da88
mov ecx, dword [ebp - 0x2c]
and dword [edi + esi*4 + 0x30], 0
mov dword [edi + esi*4 + 0x3c], eax
mov dword [edi + esi*4 + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
test eax, eax
jne 0x57da97
test edx, edx
je 0x57d9d2
mov eax, ebx
mov dword [ebp + 0x10], eax
jmp 0x57d9d5