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

Disassembly:
sub esp, 0x3c
push ebx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x48]
push esi
mov esi, ecx
push edi
xor ebx, ebx
xor edi, edi
xor ecx, ecx
cmp dword [esi + 0x2c], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x11], al
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
jbe 0x57bd91
mov edi, edi
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esi + 0x28]
call fcn.00579f50
mov eax, dword [eax]
cmp eax, 5
ja case.default.0x57bb98
jmp dword [eax*4 + 0x57be4c]
cmp ebx, dword [esi + 0x3c]
lea ecx, [esi + 0x38]
jae case.default.0x57bb98
push ebx
call fcn.00579a20
mov eax, dword [eax]
add ebx, 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], eax
jmp 0x57bd4e
mov ebx, dword [esp + 0x28]
cmp ebx, dword [esi + 0x4c]
lea ecx, [esi + 0x48]
jae 0x57bdb5
push ebx
call fcn.00579a20
mov edi, dword [eax]
add ebx, 1
mov dword [esp + 0x28], ebx
xor ebx, ebx
test edi, edi
jbe 0x57bc33
lea ebp, [esi + 0x58]
jmp 0x57bbf0
mov eax, dword [esp + 0x18]
cmp eax, dword [ebp + 4]
jae case.default.0x57bb98
push eax
mov ecx, ebp
call fcn.00579b20
mov cl, byte [eax]
add dword [esp + 0x18], 1
push 1
lea edx, [esp + 0x16]
mov byte [esp + 0x16], cl
mov ecx, dword [esp + 0x20]
push edx
call fcn.00578f40
test al, al
je 0x57bdb5
add ebx, 1
cmp ebx, edi
jb 0x57bbf0
mov ebp, dword [esp + 0x1c]
add dword [esp + 0x14], edi
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
jmp 0x57bd4e
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x5c]
lea ecx, [esi + 0x58]
jae case.default.0x57bb98
push eax
call fcn.00579b20
mov al, byte [eax]
add dword [esp + 0x18], 1
push 1
lea ecx, [esp + 0x17]
push ecx
mov ecx, ebp
mov byte [esp + 0x1b], al
call fcn.00578f40
test al, al
je 0x57bdd8
add dword [esp + 0x14], 1
jmp 0x57bd4e
mov eax, dword [esp + 0x20]
cmp eax, dword [esi + 0x6c]
lea ecx, [esi + 0x68]
jae 0x57bdb5
push eax
call fcn.00579a20
mov eax, dword [eax]
add dword [esp + 0x20], 1
cmp eax, dword [esi + 0xc]
lea ecx, [esi + 8]
jae 0x57bdd8
push eax
call fcn.00579a20
mov eax, dword [eax]
sub eax, dword [esp + 0x14]
push 4
sub eax, 4
lea edx, [esp + 0x38]
mov dword [esp + 0x38], eax
push edx
mov ecx, ebp
call fcn.00578f40
test al, al
je 0x57bdd8
add dword [esp + 0x14], 4
jmp 0x57bd4e
cmp edi, dword [esi + 0x7c]
lea ecx, [esi + 0x78]
jae case.default.0x57bb98
push edi
call fcn.00579a20
mov eax, dword [eax]
add edi, 1
cmp eax, dword [esi + 0x1c]
lea ecx, [esi + 0x18]
mov dword [esp + 0x30], edi
jae 0x57bdd8
push eax
call fcn.00579a20
mov eax, dword [eax]
mov ecx, dword [esi]
add ecx, eax
push 1
lea edx, [esp + 0x18]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esi + 0x88]
call fcn.0057a920
test al, al
je 0x57bdd8
push 4
lea eax, [esp + 0x3c]
push eax
jmp 0x57bcc8
cmp byte [esp + 0x11], 0
jne 0x57bdb5
lea ecx, [esp + 0x3c]
mov byte [esp + 0x11], 1
mov dword [esp + 0x1c], ecx
mov ebp, ecx
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esi + 0x2c]
mov dword [esp + 0x24], eax
jb 0x57bb80
cmp byte [esp + 0x11], 0
je 0x57bd89
mov ebx, dword [esp + 0x50]
push ebx
mov ecx, esi
call fcn.0057b4c0
test al, al
je 0x57bdb5
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call fcn.005790d0
test al, al
je 0x57bdb5
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
cmp edx, dword [esi + 0x4c]
je 0x57be10
test eax, eax
je 0x57bdcc
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.00470b00
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x3c
ret 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x57bdcc
mov ecx, dword [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.00470b00
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x3c
ret 4
lea ecx, [esp + 0x3c]
call fcn.00471b40
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x3c
ret 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x57be04
mov edx, dword [esp + 0x44]
push edx
push eax
lea ecx, [esp + 0x50]
call fcn.00470b00
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x3c
ret 4
mov edx, dword [esp + 0x18]
cmp edx, dword [esi + 0x5c]
jne 0x57bd9a
cmp edi, dword [esi + 0x7c]
jne 0x57bd9a
mov edx, dword [esp + 0x20]
cmp edx, dword [esi + 0x6c]
jne 0x57bd9a
test eax, eax
je 0x57be3e
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.00470b00
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x3c
ret 4