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

Disassembly:
mov eax, 0x67a1a6
call fcn.006313fc
sub esp, 0x84
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
xor edx, edx
push esi
push edi
mov edi, ecx
inc edx
xor ecx, ecx
mov dword [esp + 0x14], ecx
cmp dword [ebp + 0x38], edx
mov dword [esp + 0x38], 7
sete byte [esp + 0x13]
mov dword [esp + 0x34], ecx
xor eax, eax
mov word [esp + 0x24], ax
push 2
mov dword [esp + 0xa0], edx
pop ebx
cmp dword [ebp + 0x34], edx
jne 0x57c3c1
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
push dword [ebp + 0x3c]
mov dword [esp + 0x24], ecx
call fcn.004f4c05
test al, al
jne 0x57c348
mov ecx, dword [esp + 0xa8]
push ebx
push 1
call fcn.004f465f
push 0
jmp 0x57c662
push dword [esp + 0x1c]
lea eax, [esp + 0x40]
push dword [esp + 0x1c]
push eax
call fcn.0057c884
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x9c], bl
jae 0x57c370
lea eax, [esp + 0x3c]
lea esi, [ebp + 0x1c]
cmp dword [esi + 0x14], 8
jb 0x57c37b
mov esi, dword [esi]
push eax
call fcn.00490a5f
push eax
push esi
push 0x7f6
call fcn.00582370
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0047224d
add esp, 0x14
lea ecx, [esp + 0x24]
push eax
call fcn.0044dbe6
xor esi, esi
lea ecx, [esp + 0x54]
push esi
push 1
call fcn.0042341c
mov byte [esp + 0x9c], 1
lea ecx, [esp + 0x3c]
jmp 0x57c3fb
lea esi, [ebp + 0x1c]
cmp dword [esi + 0x14], 8
jb 0x57c3cc
mov esi, dword [esi]
call fcn.00490a5f
push eax
push esi
push 0x7f7
call fcn.00582370
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0047224d
add esp, 0x10
lea ecx, [esp + 0x24]
push eax
call fcn.0044dbe6
xor esi, esi
lea ecx, [esp + 0x54]
push esi
push 1
call fcn.0042341c
cmp byte [edi + 0x31c], 0
jne 0x57c61d
cmp byte [0x791138], 0
jne 0x57c61d
cmp byte [esp + 0x13], 0
je 0x57c42b
push 3
jmp 0x57c653
mov dword [esp + 0x74], 0x21
mov dword [esp + 0x78], 0x24
mov dword [esp + 0x90], 7
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x7705d4]
cmp eax, ecx
push ecx
sete byte [esp + 0x17]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
mov ecx, edi
call fcn.00579b06
mov byte [edi + 0x31c], 1
cmp dword [ebp + 0x34], 1
je 0x57c4a1
cmp dword [ebp + 0x40], 0
jne 0x57c4a1
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x57c48b
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00583334
pop ecx
mov esi, eax
xor eax, eax
pop ecx
jmp 0x57c55d
push 0x68
call fcn.00630af1
pop ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x9c], 3
test eax, eax
je 0x57c4d5
cmp dword [esp + 0x38], 8
mov ecx, dword [esp + 0x24]
jae 0x57c4c8
lea ecx, [esp + 0x24]
push dword [ebp + 0x40]
push ecx
mov ecx, eax
call fcn.00573304
jmp 0x57c4d7
mov eax, esi
mov byte [esp + 0x9c], 1
mov dword [edi + 0x320], eax
mov esi, dword [edi + 0x320]
push 0
push 0x122
call fcn.005834b1
push eax
mov ecx, esi
call fcn.00584db5
mov eax, dword [edi + 0x320]
mov cl, byte [eax + 0x65]
test cl, cl
je 0x57c542
mov al, byte [eax + 0x64]
test al, al
je 0x57c53d
test cl, cl
je 0x57c542
and dword [esp + 0x58], 0
push 0x7f8
mov dword [esp + 0x58], 1
call fcn.00582370
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00583334
pop ecx
pop ecx
jmp 0x57c4e5
xor esi, esi
inc esi
jmp 0x57c544
mov esi, ebx
mov ecx, dword [edi + 0x320]
test ecx, ecx
je 0x57c555
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
xor eax, eax
mov dword [edi + 0x320], eax
mov byte [edi + 0x31c], al
cmp dword [ebp + 0x34], 1
je 0x57c586
cmp byte [esp + 0x13], 0
jne 0x57c586
push 0x13
push eax
push eax
push eax
push eax
push 1
push dword [0x7705d4]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
cmp esi, 1
je 0x57c5a7
cmp esi, 6
je 0x57c5a7
push 5
push 1
lea ecx, [esp + 0x44]
call fcn.004f465f
mov byte [esp + 0x9c], 4
jmp 0x57c5c0
push eax
push eax
lea ecx, [esp + 0x20]
call fcn.004f465f
push 4
mov dword [esp + 0xa0], 5
pop ebx
mov ecx, dword [esp + 0xa8]
push eax
mov dword [esp + 0x18], ebx
call fcn.004f4644
or ebx, 1
mov dword [esp + 0x9c], 4
test bl, 4
je 0x57c5f4
and ebx, 0xfffffffb
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.004e8d22
mov dword [esp + 0x9c], 1
test bl, 2
je 0x57c341
and ebx, 0xfffffffd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ebx
call fcn.004e8d22
jmp 0x57c341
cmp byte [esp + 0x13], 0
je 0x57c651
mov eax, dword [edi + 0x320]
test eax, eax
je 0x57c651
xor ebx, ebx
push ebx
push ebx
push 0x10
push dword [eax + 4]
mov byte [eax + 0x65], bl
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0xa8]
push ebx
push ebx
call fcn.004f465f
push ebx
jmp 0x57c662
push 4
mov ecx, dword [esp + 0xac]
push 1
call fcn.004f465f
push esi
push 1
lea ecx, [esp + 0x2c]
call fcn.0042341c
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 8