Function at 0x57fd00
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x6c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x2c]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], edx
test byte [eax + 7], 1
je 0x57fdb8
movzx ebx, byte [ecx + eax + 4]
imul ecx, ebx, 0x1010101
cmp edi, 0x20
je 0x57fecb
cmp edi, 0x10
je 0x57ff28
cmp edi, 8
je 0x57ff04
cmp edi, 4
je 0x580009
xor ecx, ecx
cmp ecx, dword [ebp - 0x28]
jge 0x57fdb0
mov edx, esi
lea esi, [esi]
lea edi, [edi]
xor eax, eax
jmp 0x57fd98
mov byte [edx + eax], bl
inc eax
cmp eax, edi
jl 0x57fd94
mov eax, dword [ebp - 0x1c]
inc ecx
add edx, eax
cmp ecx, dword [ebp - 0x28]
jl 0x57fd90
mov esi, esi
lea edi, [edi]
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp - 0x10]
test ecx, ecx
mov edx, dword [ebx + 0x1f74]
je 0x57fe79
movsx ecx, word [eax]
movsx ebx, word [eax + 2]
imul ecx, edx
imul ebx, edx
mov edx, ecx
mov eax, ebx
and edx, 0xf
mov dword [ebp - 0x34], edx
and eax, 0xf
mov edx, edi
mov dword [ebp - 0x38], eax
mov eax, edi
sar edx, 2
sar eax, 4
sub eax, edx
mov edx, dword [ebp - 0x20]
add eax, 3
sar ebx, 4
sar ecx, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
lea ecx, [ecx + edx - 2]
lea edx, [ebx + eax - 2]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x14]
imul eax, edx
add eax, ecx
add eax, ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
sub eax, edi
sub eax, 4
cmp ecx, eax
jae 0x57fe80
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
sub eax, ebx
sub eax, 4
cmp edx, eax
jae 0x57fe80
test byte [ebp - 0x34], 3
jne 0x57fe47
test byte [ebp - 0x38], 3
je 0x57ff5c
mov dword [ebp + 0x10], edi
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp + 0x18], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebp + 0xc], ebx
mov eax, esi
mov dword [ebp + 0x14], ecx
mov dword [ebp + 8], edi
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0057f450
add edx, edx
jmp 0x57fdc9
mov ebx, dword [ebp - 0x30]
mov dword [esp + 0x20], ebx
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
mov ebx, dword [ebp - 0x28]
lea eax, [edi + 5]
mov dword [esp + 0xc], eax
add ebx, 5
mov dword [esp + 0x10], ebx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0x4c]
mov dword [esp + 4], ecx
mov ebx, dword [ebp - 0x18]
add ebx, 0x10
mov dword [esp], ebx
call fcn.0052fe80
mov dword [ebp - 0x4c], ebx
jmp 0x57fe37
mov edi, dword [ebp - 0x28]
test edi, edi
jle 0x57fdb0
mov eax, dword [ebp - 0x28]
mov edx, esi
nop
lea esi, [esi]
mov dword [edx], ecx
mov esi, dword [ebp - 0x1c]
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
add edx, esi
dec eax
jne 0x57fee0
jmp 0x57fdb0
mov eax, dword [ebp - 0x28]
test eax, eax
jle 0x57fdb0
mov eax, dword [ebp - 0x28]
xor edx, edx
mov dword [edx + esi], ecx
mov edi, dword [ebp - 0x1c]
mov dword [edx + esi + 4], ecx
add edx, edi
dec eax
jne 0x57ff14
jmp 0x57fdb0
mov edx, dword [ebp - 0x28]
test edx, edx
jle 0x57fdb0
mov eax, dword [ebp - 0x28]
xor edx, edx
nop
lea esi, [esi]
mov dword [edx + esi], ecx
mov ebx, dword [ebp - 0x1c]
mov dword [edx + esi + 4], ecx
mov dword [edx + esi + 8], ecx
mov dword [edx + esi + 0xc], ecx
add edx, ebx
dec eax
jne 0x57ff40
jmp 0x57fdb0
cmp edi, dword [ebp - 0x28]
je 0x57ff76
lea ecx, [edi + edi]
cmp ecx, dword [ebp - 0x28]
je 0x57ff76
mov edx, dword [ebp - 0x28]
add edx, edx
cmp edx, edi
jne 0x57fe47
lea eax, [edi - 1]
test edi, eax
jne 0x57fe47
cmp edi, 0x20
je 0x580028
cmp edi, dword [ebp - 0x28]
je 0x5800a7
mov edx, dword [ebp - 0x28]
add edx, edx
cmp edx, edi
je 0x5800de
sar dword [ebp - 0x34], 2
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
shl dword [ebp - 0x3c], 4
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x3c]
add ebx, ecx
add ebx, eax
mov dword [ebp - 0x44], ebx
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0x4c]
mov dword [esp], esi
lea ebx, [ecx + edx*2]
lea eax, [ebx + 2]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x10]
call dword [edx + ecx*4 + 0x778]
mov eax, dword [ebp - 0x1c]
mov edx, eax
imul edx, edi
mov dword [ebp + 0x10], eax
lea ecx, [ebx + edx + 2]
add edx, esi
mov dword [ebp + 0xc], ecx
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x10]
mov dword [ebp + 8], edx
mov ecx, dword [esi + ebx*4 + 0x778]
add esp, 0x6c
pop ebx
pop esi
pop edi
pop ebp
jmp ecx
mov edx, dword [ebp - 0x28]
test edx, edx
jle 0x57fdb0
mov eax, dword [ebp - 0x28]
mov edx, esi
mov dword [edx], ecx
mov esi, dword [ebp - 0x1c]
add edx, esi
dec eax
jne 0x580019
jmp 0x57fdb0
xor edi, edi
cmp edi, dword [ebp - 0x28]
jge 0x57fdb0
sar dword [ebp - 0x34], 2
mov ebx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x4c]
add ebx, eax
mov dword [ebp - 0x40], ebx
lea ebx, [ecx + edx*2]
shl edx, 4
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x1c]
lea edx, [ebx + 2]
mov dword [esp], esi
add edi, 0x10
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
call dword [ecx + eax*4 + 0x778]
mov edx, dword [ebp - 0x1c]
lea ecx, [esi + 0x10]
lea eax, [ebx + 0x12]
mov dword [esp], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
call dword [eax + edx*4 + 0x778]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x48]
add ebx, ecx
add esi, edx
cmp edi, dword [ebp - 0x28]
jl 0x580051
jmp 0x57fdb0
sar dword [ebp - 0x34], 2
mov ecx, dword [ebp - 0x38]
mov dword [ebp + 8], esi
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
shl dword [ebp - 0x3c], 4
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x3c]
mov dword [ebp + 0x10], ebx
add edi, eax
add edi, ecx
mov ecx, dword [esi + edi*4 + 0x778]
lea eax, [edx + ebx*2 + 2]
mov dword [ebp + 0xc], eax
jmp 0x580000
sar dword [ebp - 0x34], 2
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x38]
shl dword [ebp - 0x3c], 4
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x4c]
add ebx, eax
mov dword [esp], esi
add ebx, edi
mov edi, ecx
add edi, edi
lea eax, [edi + edx + 2]
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x10]
call dword [ecx + ebx*4 + 0x7b8]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
add ecx, edx
mov dword [ebp + 0x10], eax
lea eax, [ecx + edi + 2]
mov ecx, dword [ebp - 0x28]
mov dword [ebp + 0xc], eax
lea edi, [esi + ecx]
mov esi, dword [ebp - 0x10]
mov dword [ebp + 8], edi
mov ecx, dword [esi + ebx*4 + 0x7b8]
jmp 0x580000