Function at 0x57f450
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xac
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
rdtsc
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
add edx, 5
cmp edx, 0
mov dword [ebp - 0x54], edx
jle 0x57f541
mov dword [ebp - 0x68], 8
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x6c], 0x10
sub dword [ebp - 0x68], ebx
sub dword [ebp - 0x6c], ebx
mov dword [ebp - 0x20], edx
lea esi, [esi]
lea edi, [edi]
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp + 0x10]
cmp dword [ebp - 0x1c], esi
jge 0x57f52f
cmp dword [ebp + 0x18], 7
mov edi, dword [ebp - 0x18]
jle 0x57f730
movzx esi, byte [edi + 4]
movzx edx, byte [edi + 1]
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
movzx ebx, byte [edi]
mov dword [ebp - 0x2c], esi
add edx, dword [ebp - 0x2c]
add eax, ecx
lea eax, [eax + eax*4]
movzx esi, byte [edi + 5]
shl eax, 2
lea edx, [edx + edx*4]
sub eax, edx
mov edx, dword [ebp + 0x18]
add ebx, esi
add eax, ebx
mov ebx, dword [ebp - 0x6c]
sub edx, 8
imul ecx, edx
imul eax, ebx
shl ecx, 5
lea edx, [eax + ecx + 0x80]
mov eax, edx
sar eax, 8
test eax, 0xffffff00
je 0x57f51a
mov eax, edx
sar eax, 0x1f
not eax
mov ebx, dword [ebp - 0x1c]
inc edi
mov edx, dword [ebp + 8]
mov byte [ebx + edx], al
mov ecx, dword [ebp + 0x10]
inc ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, ecx
jl 0x57f4c0
mov edi, dword [ebp + 0xc]
add dword [ebp + 8], edi
add dword [ebp - 0x18], edi
dec dword [ebp - 0x20]
jne 0x57f4a0
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
imul ecx, ebx
sub esi, ecx
mov dword [ebp - 0x74], esi
test eax, eax
jle 0x57f674
mov dword [ebp - 0x3c], 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], 8
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x14]
sub dword [ebp - 0x3c], edx
lea esi, [ecx + ecx*2]
lea edi, [eax + eax*4]
sub dword [ebp - 0x64], edx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
lea esi, [esi]
mov dword [ebp - 0x70], 0
mov edx, dword [ebp + 0x10]
cmp dword [ebp - 0x70], edx
jge 0x57f662
cmp dword [ebp + 0x1c], 7
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x58], edx
jle 0x57f7b0
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov ebx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], ecx
add edx, ebx
movzx ecx, byte [edi + esi]
movzx eax, byte [edi + esi*2]
mov edi, dword [ebp - 0x74]
mov esi, dword [ebp - 0x58]
movzx ebx, byte [edx + edi]
mov edi, dword [ebp + 0xc]
add eax, ebx
movzx edx, byte [esi + edi*4]
lea eax, [eax + eax*4]
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x74]
shl eax, 2
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x60]
add edx, esi
movzx edx, byte [edx + edi]
mov esi, dword [ebp - 0x34]
add ecx, esi
lea edi, [ecx + ecx*4]
mov ecx, dword [ebp - 0x30]
sub eax, edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x3c]
add edx, ecx
add eax, edx
sub edi, 8
imul ebx, edi
imul eax, esi
shl ebx, 5
lea edx, [eax + ebx + 0x80]
mov eax, edx
sar eax, 8
test eax, 0xffffff00
je 0x57f647
mov eax, edx
sar eax, 0x1f
not eax
mov edx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x14]
mov byte [edx + edi], al
mov ebx, dword [ebp + 0x10]
inc edx
inc dword [ebp - 0x58]
mov dword [ebp - 0x70], edx
cmp edx, ebx
jl 0x57f5c0
mov esi, dword [ebp + 0xc]
add dword [ebp - 0x14], esi
add dword [ebp - 0x74], esi
dec dword [ebp - 0x78]
jne 0x57f590
rdtsc
mov dword [ebp - 0x48], eax
mov edi, dword [0x76d980]
mov dword [ebp - 0x44], edx
cmp edi, 1
jle 0x57f86c
sub eax, dword [ebp - 0x28]
mov ecx, edi
mov ebx, dword [0x76d970]
mov esi, dword [0x76d974]
sbb edx, dword [ebp - 0x24]
sar ecx, 0x1f
mov dword [ebp - 0x50], eax
mov eax, ebx
shl eax, 3
mov dword [ebp - 0x4c], edx
mov edx, esi
shld edx, ebx, 3
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.006724b0
cmp dword [ebp - 0x4c], edx
jb 0x57f6db
ja 0x57f8ed
cmp dword [ebp - 0x50], eax
jae 0x57f8ed
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [0x76d990]
sub dword [ebp - 0x48], eax
sbb dword [ebp - 0x44], edx
add ebx, dword [ebp - 0x48]
adc esi, dword [ebp - 0x44]
inc edi
mov dword [0x76d970], ebx
mov dword [0x76d980], edi
mov dword [0x76d974], esi
lea eax, [edi + ecx]
mov edx, 0x40000000
mov dword [ebp - 0x94], eax
mov eax, edx
cdq
idiv dword [ebp - 0x94]
test edx, edx
je 0x57f87d
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
movzx esi, byte [edi + 4]
movzx edx, byte [edi + 1]
movzx ecx, byte [edi + 2]
movzx eax, byte [edi + 3]
movzx ebx, byte [edi]
mov dword [ebp - 0x7c], esi
add edx, dword [ebp - 0x7c]
lea eax, [ecx + eax]
lea eax, [eax + eax*4]
movzx esi, byte [edi + 5]
shl eax, 2
lea edx, [edx + edx*4]
sub eax, edx
mov edx, dword [ebp + 0x18]
add ebx, esi
add eax, ebx
mov ebx, dword [ebp - 0x68]
imul eax, edx
imul ecx, ebx
shl ecx, 5
lea eax, [ecx + eax + 0x80]
sar eax, 8
test eax, 0xffffff00
je 0x57f784
sar eax, 0x1f
not eax
mov ebx, dword [ebp - 0x1c]
inc edi
mov esi, dword [ebp + 8]
mov byte [ebx + esi], al
mov edx, dword [ebp + 0x10]
inc ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, edx
jl 0x57f730
mov edi, dword [ebp + 0xc]
add dword [ebp + 8], edi
add dword [ebp - 0x18], edi
dec dword [ebp - 0x20]
jne 0x57f4a0
jmp 0x57f541
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x58]
movzx ebx, byte [ecx]
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0x88], ebx
movzx ebx, byte [eax + edx*2]
movzx ecx, byte [eax + edx]
mov eax, dword [ebp - 0x5c]
add eax, edi
movzx edi, byte [eax + esi]
mov esi, dword [ebp - 0x58]
lea eax, [ebx + edi]
movzx esi, byte [esi + edx*4]
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x88]
shl eax, 2
mov dword [ebp - 0x84], esi
mov esi, dword [ebp - 0x70]
add edx, esi
mov esi, dword [ebp - 0x74]
movzx edx, byte [edx + esi]
mov esi, dword [ebp - 0x84]
add ecx, esi
lea ecx, [ecx + ecx*4]
add edx, edi
mov esi, dword [ebp - 0x64]
sub eax, ecx
add eax, edx
mov edx, dword [ebp + 0x1c]
imul ebx, esi
imul eax, edx
shl ebx, 5
lea eax, [ebx + eax + 0x80]
sar eax, 8
test eax, 0xffffff00
je 0x57f83a
sar eax, 0x1f
not eax
mov ebx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x14]
mov byte [ebx + ecx], al
mov edi, dword [ebp + 0x10]
inc ebx
inc dword [ebp - 0x58]
mov dword [ebp - 0x70], ebx
cmp ebx, edi
jl 0x57f7b0
mov esi, dword [ebp + 0xc]
add dword [ebp - 0x14], esi
add dword [ebp - 0x74], esi
dec dword [ebp - 0x78]
jne 0x57f590
jmp 0x57f674
mov ebx, dword [0x76d970]
mov esi, dword [0x76d974]
jmp 0x57f6db
mov dword [esp + 0x1c], ecx
mov eax, ebx
mov edx, esi
shld edx, ebx, 2
mov ecx, str.mc_block
mov dword [esp + 0x18], edi
shl eax, 2
add eax, ebx
adc edx, esi
mov esi, edi
sar esi, 0x1f
shld edx, eax, 1
add eax, eax
mov ebx, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 8], edi
mov edi, 0x6a55d8
mov dword [esp + 0xc], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.006724b0
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp + 0x10], edx
mov dword [esp], 0
call fcn.0045dc30
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [0x76d990]
inc ecx
mov dword [0x76d990], ecx
jmp 0x57f706