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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], 1
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x14], edx
mov edi, dword [ebp + 8]
test eax, eax
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x1c], ecx
je 0x57c590
cmp byte [eax], 0x31
setne al
cmp edx, 0x38
setne cl
or eax, ecx
test al, 1
jne 0x57c590
test edi, edi
mov eax, 0xfffffffe
je 0x57c595
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x20]
test edx, edx
jne 0x57c50b
mov dword [edi + 0x20], 0x57ff40
mov dword [edi + 0x28], 0
mov ebx, dword [edi + 0x24]
test ebx, ebx
jne 0x57c519
mov dword [edi + 0x24], 0x57ff60
cmp dword [ebp - 0x10], 0xffffffff
je 0x57c730
test esi, esi
js 0x57c740
cmp esi, 0xf
jg 0x57c5a0
mov edx, dword [ebp - 0x18]
dec edx
cmp edx, 8
seta cl
cmp dword [ebp - 0x14], 8
setne al
or eax, ecx
test al, 1
jne 0x57c580
cmp esi, 7
setle al
cmp esi, 0xf
setg bl
or eax, ebx
test al, 1
jne 0x57c580
mov edx, dword [ebp - 0x10]
xor ecx, ecx
shr edx, 0x1f
cmp dword [ebp - 0x10], 9
setg cl
or edx, ecx
jne 0x57c580
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
shr eax, 0x1f
cmp dword [ebp - 0x1c], 4
setg bl
or eax, ebx
je 0x57c5ac
nop
add esp, 0x2c
mov eax, 0xfffffffe
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xfffffffa
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x20], 2
sub esi, 0x10
jmp 0x57c530
cmp esi, 8
je 0x57c74e
mov ebx, 0x16c0
mov edx, 1
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov ecx, dword [edi + 0x28]
mov dword [esp], ecx
call dword [edi + 0x20]
mov ebx, eax
test ebx, ebx
mov eax, 0xfffffffc
je 0x57c595
mov dword [ebx + 0x30], esi
mov ecx, esi
mov eax, 1
mov dword [edi + 0x1c], ebx
mov edx, dword [ebp - 0x20]
shl eax, cl
mov dword [ebx + 0x2c], eax
mov ecx, dword [ebp - 0x18]
dec eax
mov dword [ebx + 0x34], eax
mov esi, dword [ebp - 0x18]
mov eax, 0xaaaaaaab
mov dword [ebx + 0x18], edx
add ecx, 7
mov edx, 1
mov dword [ebx + 0x50], ecx
shl edx, cl
add esi, 9
mov dword [ebx + 0x4c], edx
mov ecx, edx
dec ecx
mul esi
mov esi, 2
mov dword [ebx + 0x54], ecx
mov dword [ebx], edi
shr edx, 1
mov dword [ebx + 0x58], edx
mov edx, 2
mov dword [ebx + 0x1c], 0
mov dword [ebp - 0x24], 1
mov dword [esp + 8], edx
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 4], ecx
mov eax, dword [edi + 0x28]
mov dword [esp], eax
call dword [edi + 0x20]
mov dword [ebx + 0x38], eax
mov dword [esp + 8], esi
mov edx, dword [ebx + 0x2c]
mov dword [esp + 4], edx
mov ecx, dword [edi + 0x28]
mov dword [esp], ecx
call dword [edi + 0x20]
mov dword [ebx + 0x40], eax
mov eax, 2
mov dword [esp + 8], eax
mov esi, dword [ebx + 0x4c]
mov dword [esp + 4], esi
mov edx, dword [edi + 0x28]
mov esi, 4
mov dword [esp], edx
call dword [edi + 0x20]
mov ecx, dword [ebp - 0x18]
add ecx, 6
shl dword [ebp - 0x24], cl
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x169c], eax
mov dword [esp + 8], esi
mov edx, dword [ebx + 0x169c]
mov dword [esp + 4], edx
mov ecx, dword [edi + 0x28]
mov dword [esp], ecx
call dword [edi + 0x20]
mov edx, dword [ebx + 0x169c]
mov esi, dword [ebx + 0x38]
mov ecx, eax
mov dword [ebx + 8], eax
test esi, esi
lea eax, [edx*4]
mov dword [ebx + 0xc], eax
je 0x57c758
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x57c758
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x57c758
test ecx, ecx
je 0x57c758
mov eax, edx
lea esi, [edx + edx*2]
and eax, 0xfffffffe
add eax, ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 0x16a4], eax
lea eax, [ecx + esi]
mov esi, dword [ebp - 0x10]
movzx ecx, byte [ebp - 0x14]
mov dword [ebx + 0x1698], eax
mov dword [ebx + 0x84], esi
mov dword [ebx + 0x88], edx
mov byte [ebx + 0x24], cl
mov dword [ebp + 8], edi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0057c300
mov dword [ebp - 0x10], 6
test esi, esi
jns 0x57c52b
nop
mov dword [ebp - 0x20], 0
neg esi
jmp 0x57c530
mov esi, 9
jmp 0x57c5b5
mov dword [ebx + 4], 0x29a
mov ebx, dword [0x5e92d8]
mov dword [edi + 0x18], ebx
mov dword [esp], edi
call fcn.0057b0f0
mov eax, 0xfffffffc
jmp 0x57c595