Function at 0x578020
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xac
mov ebx, dword [edx + 0x10]
mov dword [ebp - 0x18], edx
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov eax, dword [edx]
mov edx, dword [ebp - 0x18]
mov esi, dword [edi + 4]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], esi
mov eax, dword [edx + 0xc]
add edi, 3
mov dword [ebp - 0x28], ebx
dec ecx
cmp edi, ecx
mov dword [ebp - 0x2c], eax
mov eax, edi
jbe 0x578080
lea edx, [ecx + ecx]
jmp 0x578074
cmp eax, ecx
jbe 0x578080
neg eax
test eax, eax
jns 0x578070
add eax, edx
cmp eax, ecx
ja 0x578074
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
imul eax, esi
mov esi, dword [ebx]
mov edx, dword [esi + eax*4]
test edx, edx
je 0x5783ba
cmp edi, ecx
mov eax, edi
jbe 0x5780b1
lea edx, [ecx + ecx]
jmp 0x5780a5
cmp eax, ecx
jbe 0x5780b1
neg eax
test eax, eax
jns 0x5780a1
add eax, edx
cmp eax, ecx
ja 0x5780a5
mov edx, dword [ebp + 0x14]
imul eax, edx
mov eax, dword [esi + eax*4]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 4
cmp ebx, ecx
mov eax, ebx
jbe 0x5780e0
lea edx, [ecx + ecx]
jmp 0x5780d4
cmp eax, ecx
jbe 0x5780e0
neg eax
test eax, eax
jns 0x5780d0
add eax, edx
cmp eax, ecx
ja 0x5780d4
mov edx, dword [ebp + 0x14]
imul eax, edx
mov edx, dword [esi + eax*4]
test edx, edx
je 0x578442
cmp ebx, ecx
mov eax, ebx
jbe 0x578110
lea edx, [ecx + ecx]
jmp 0x578104
cmp eax, ecx
jbe 0x578110
neg eax
test eax, eax
jns 0x578100
add eax, edx
cmp eax, ecx
ja 0x578104
mov ecx, dword [ebp + 0x14]
imul eax, ecx
mov eax, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
rdtsc
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], edx
test esi, esi
jle 0x578134
cmp ebx, dword [ebp + 0x10]
jl 0x578501
cmp edi, dword [ebp + 0x10]
jae 0x578161
xor edx, edx
jmp 0x57815c
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ecx + edx*4]
mov edi, dword [ebx + edx*4]
mov ecx, dword [ebp - 0x30]
add esi, edi
lea eax, [esi + esi*2 + 4]
sar eax, 3
sub dword [ecx + edx*4], eax
inc edx
cmp edx, dword [ebp + 0xc]
jl 0x578140
mov edx, dword [ebp - 0x1c]
add edx, 2
cmp edx, dword [ebp + 0x10]
jae 0x57818a
xor edx, edx
jmp 0x578185
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ecx + edx*4]
mov edi, dword [ebx + edx*4]
add eax, edi
sub dword [esi + edx*4], eax
inc edx
cmp edx, dword [ebp + 0xc]
jl 0x578170
mov edx, dword [ebp - 0x1c]
inc edx
cmp edx, dword [ebp + 0x10]
jae 0x5781bd
xor ecx, ecx
jmp 0x5781b8
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
mov eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x28]
mov edx, dword [ebx + ecx*4]
mov edi, dword [esi + ecx*4]
add eax, edx
lea eax, [eax + edi*4 + 8]
sar eax, 4
add edi, eax
mov dword [esi + ecx*4], edi
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0x578197
mov ecx, dword [ebp + 0x10]
cmp dword [ebp - 0x1c], ecx
jae 0x5781ef
xor edx, edx
jmp 0x5781ea
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
mov esi, dword [edi + edx*4]
mov ecx, dword [ebx + edx*4]
mov edi, dword [ebp - 0x24]
add esi, ecx
lea eax, [esi + esi*2]
sar eax, 1
add dword [edi + edx*4], eax
inc edx
cmp edx, dword [ebp + 0xc]
jl 0x5781d0
cmp dword [ebp + 0xc], 0x190
jle 0x5782a7
rdtsc
mov dword [ebp - 0x48], eax
mov edi, dword [0x76d830]
mov dword [ebp - 0x44], edx
cmp edi, 1
jle 0x5784f0
sub eax, dword [ebp - 0x40]
mov ecx, edi
mov dword [esp + 8], edi
mov ebx, dword [0x76d820]
mov esi, dword [0x76d824]
sbb edx, dword [ebp - 0x3c]
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 + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.006724b0
cmp dword [ebp - 0x4c], edx
jb 0x578263
ja 0x578430
cmp dword [ebp - 0x50], eax
jae 0x578430
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [0x76d840]
sub dword [ebp - 0x48], eax
sbb dword [ebp - 0x44], edx
add ebx, dword [ebp - 0x48]
adc esi, dword [ebp - 0x44]
inc edi
mov dword [0x76d820], ebx
mov dword [0x76d830], edi
mov dword [0x76d824], esi
lea eax, [edi + ecx]
mov edx, 0x40000000
mov dword [ebp - 0x6c], eax
mov eax, edx
cdq
idiv dword [ebp - 0x6c]
test edx, edx
je 0x57853f
rdtsc
mov dword [ebp - 0x58], eax
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x54], edx
dec edi
cmp edi, dword [ebp + 0x10]
jb 0x5784c4
mov ecx, dword [ebp + 0x10]
cmp dword [ebp - 0x1c], ecx
jb 0x5784a9
cmp dword [ebp + 0xc], 0x190
mov edx, dword [ebp + 0x10]
setg bl
cmp dword [ebp - 0x1c], edx
setb cl
movzx eax, cl
test ebx, eax
je 0x578391
rdtsc
mov dword [ebp - 0x60], eax
mov edi, dword [0x76d860]
mov dword [ebp - 0x5c], edx
cmp edi, 1
jle 0x5784df
sub eax, dword [ebp - 0x58]
mov ecx, edi
mov dword [esp + 8], edi
mov ebx, dword [0x76d850]
mov esi, dword [0x76d854]
sbb edx, dword [ebp - 0x54]
sar ecx, 0x1f
mov dword [ebp - 0x68], eax
mov eax, ebx
shl eax, 3
mov dword [ebp - 0x64], edx
mov edx, esi
shld edx, ebx, 3
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.006724b0
cmp dword [ebp - 0x64], edx
jb 0x57834d
ja 0x57841e
cmp dword [ebp - 0x68], eax
jae 0x57841e
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov ecx, dword [0x76d870]
sub dword [ebp - 0x60], eax
sbb dword [ebp - 0x5c], edx
add ebx, dword [ebp - 0x60]
adc esi, dword [ebp - 0x5c]
inc edi
mov dword [0x76d850], ebx
mov dword [0x76d860], edi
mov dword [0x76d854], esi
lea eax, [edi + ecx]
mov edx, 0x40000000
mov dword [ebp - 0x6c], eax
mov eax, edx
cdq
idiv dword [ebp - 0x6c]
test edx, edx
je 0x5785a9
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x34]
add dword [edi + 0x10], 2
mov eax, dword [ebp - 0x2c]
mov dword [edi], ebx
mov edx, dword [ebp - 0x30]
mov dword [edi + 0xc], esi
mov dword [edi + 4], eax
mov dword [edi + 8], edx
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edi, ecx
mov eax, edi
jbe 0x5783d5
lea edx, [ecx + ecx]
jmp 0x5783c9
cmp eax, ecx
jbe 0x5783d5
neg eax
test eax, eax
jns 0x5783c5
add eax, edx
cmp eax, ecx
ja 0x5783c9
mov ebx, dword [ebp + 0x14]
imul ebx, eax
mov eax, dword [esi + ebx*4]
test eax, eax
jne 0x5780ba
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [edx + 4]
mov dword [ebp - 0x8c], eax
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 8]
dec edx
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x84]
mov eax, edx
mov dword [esi + ebx*4], edx
jmp 0x5780ba
mov ecx, dword [0x76d870]
inc ecx
mov dword [0x76d870], ecx
jmp 0x578378
mov ecx, dword [0x76d840]
inc ecx
mov dword [0x76d840], ecx
jmp 0x57828e
cmp ebx, ecx
mov eax, ebx
jbe 0x578460
lea edx, [ecx + ecx]
jmp 0x578454
cmp eax, ecx
jbe 0x578460
neg eax
test eax, eax
jns 0x578450
add eax, edx
cmp eax, ecx
ja 0x578454
mov ecx, dword [ebp + 0x14]
imul ecx, eax
mov eax, dword [esi + ecx*4]
test eax, eax
jne 0x578119
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [edx + 4]
mov dword [ebp - 0x90], eax
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 8]
dec edx
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x84]
mov eax, edx
mov dword [esi + ecx*4], edx
jmp 0x578119
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [edx + 0x870]
jmp 0x5782c8
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [esi + 0x870]
jmp 0x5782bc
mov ebx, dword [0x76d850]
mov esi, dword [0x76d854]
jmp 0x57834d
mov ebx, dword [0x76d820]
mov esi, dword [0x76d824]
jmp 0x578263
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
mov dword [esp + 0x18], ebx
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [esp + 0x14], edi
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov dword [esp + 0x10], esi
mov edi, dword [ebp - 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], ebx
call dword [edi + 0x86c]
jmp 0x5781ef
mov dword [esp + 0x1c], ecx
mov edx, str.vertical_compose97i
mov eax, ebx
mov dword [esp + 0x14], edx
shl eax, 2
mov edx, esi
shld edx, ebx, 2
add eax, ebx
mov ecx, edi
adc edx, esi
sar ecx, 0x1f
mov ebx, 0x6a55d8
shld edx, eax, 1
add eax, eax
mov esi, 2
mov dword [esp + 0x18], edi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.006724b0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], 0
call fcn.0045dc30
jmp 0x5782a7
mov dword [esp + 0x1c], ecx
mov eax, ebx
mov edx, esi
shld edx, ebx, 2
mov ecx, str.horizontal_compose97i
mov dword [esp + 0x18], edi
shl eax, 2
add eax, ebx
adc edx, esi
mov ebx, edi
sar ebx, 0x1f
shld edx, eax, 1
add eax, eax
mov esi, 0x6a55d8
mov dword [esp + 8], edi
mov edi, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.006724b0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], 0
call fcn.0045dc30
jmp 0x578391