Function at 0x58d71f
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x30], eax
call fcn.00457b0f
mov ebx, dword [ebp + 8]
cmp byte [ebx], 0
je 0x58db73
xor ecx, ecx
cmp dword [ebx + 0x70], ecx
jl 0x58db73
push esi
mov esi, dword [ebp + 0x18]
cmp esi, ecx
lea eax, [ebp - 0xa0]
push edi
mov dword [ebp + 8], eax
je 0x58d924
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 0x34], ecx
mov dword [ebp + 8], esi
je 0x58d7ea
mov eax, dword [esi + 0x60]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x70]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x80]
mov edi, dword [esi + 0x90]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x84]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x94]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x98]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x9c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x30], eax
xor eax, eax
jmp 0x58db4f
mov ecx, dword [ebp + 0x10]
shl ecx, 0xc
push ecx
lea ecx, [eax + 0x14]
push ecx
add eax, 0x28
push eax
call fcn.0058d472
cmp dword [ebp + 0x10], 0xfffff
jbe 0x58d811
mov ecx, 0xa11f0
call fcn.004665a9
mov eax, dword [ebp + 8]
and dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebx + 0x54]
add eax, 0x1c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
shld ecx, eax, 0xc
shl eax, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
shl eax, 0xc
mov dword [ebp - 4], ecx
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
je 0x58db5a
mov edx, dword [edi + 0xc]
cmp dword [ebp - 4], edx
mov eax, dword [edi + 8]
jb 0x58d883
ja 0x58d859
cmp dword [ebp - 8], eax
jb 0x58d874
mov edx, dword [edi + 4]
mov ecx, dword [edx]
add ecx, eax
mov eax, dword [edx + 4]
mov edx, dword [edi + 0xc]
adc eax, edx
cmp dword [ebp - 4], eax
jb 0x58d8d0
ja 0x58d874
cmp dword [ebp - 8], ecx
jb 0x58d8d0
cmp dword [ebp - 4], edx
ja 0x58d890
jb 0x58d883
mov eax, dword [ebp - 8]
cmp eax, dword [edi + 8]
jae 0x58d890
mov eax, dword [edi]
and dword [edi + 8], 0
and dword [edi + 0xc], 0
mov dword [edi + 4], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax]
add ecx, dword [edi + 8]
mov eax, dword [eax + 4]
adc eax, dword [edi + 0xc]
cmp dword [ebp - 4], eax
jb 0x58d8d0
jbe 0x58d8cb
mov eax, dword [edi + 4]
mov ecx, dword [eax]
add dword [edi + 8], ecx
mov ecx, dword [eax + 4]
adc dword [edi + 0xc], ecx
add eax, 0x10
mov dword [edi + 4], eax
mov ecx, dword [eax]
add ecx, dword [edi + 8]
mov eax, dword [eax + 4]
adc eax, dword [edi + 0xc]
cmp dword [ebp - 4], eax
ja 0x58d8a5
jb 0x58d8d0
cmp dword [ebp - 8], ecx
jae 0x58d8a5
mov eax, dword [ebp - 8]
sub eax, dword [edi + 8]
mov ecx, dword [ebp - 4]
sbb ecx, dword [edi + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 8]
add edx, eax
mov eax, dword [ecx + 0xc]
adc eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [edi + 4]
xor eax, eax
add edx, dword [ebp - 0x1c]
adc eax, dword [ebp - 0x18]
cmp eax, dword [ecx + 4]
jb 0x58d9c9
ja 0x58d917
cmp edx, dword [ecx]
jbe 0x58d9c9
mov eax, dword [ecx]
sub eax, dword [ebp - 0x1c]
mov dword [ebp + 0x14], eax
jmp 0x58d9cf
mov eax, dword [ebx + 0x58]
cmp dword [eax + 0x54], ecx
je 0x58d7fe
mov eax, dword [ebx + 0x8c]
cmp eax, ecx
je 0x58d7fe
cmp dword [eax + 0x13c], ecx
je 0x58d7fe
cmp dword [eax + 0x144], ecx
jne 0x58d9b1
rdtsc
mov edi, edx
mov edx, dword [ebx + 0x8c]
push dword [edx + 0x13c]
mov esi, eax
mov eax, dword [ebx + 0x58]
push ecx
push ecx
push 4
call dword [eax + 0x54]
mov dword [ebp + 0x18], eax
rdtsc
sub eax, esi
sbb edx, edi
lea ecx, [ebx + 0xa0]
add dword [ecx], eax
adc dword [ecx + 4], edx
xor eax, eax
cmp dword [ebp + 0x18], eax
je 0x58d995
mov ecx, dword [ebx + 0x8c]
mov dword [ecx + 0x140], eax
mov ecx, dword [ebx + 0x8c]
mov dword [ecx + 0x144], 1
mov ecx, dword [ebx + 0x8c]
mov dword [ecx + 0x200], eax
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
shl eax, 0xc
push eax
push dword [ebp + 0xc]
push ebx
call fcn.0058d61b
jmp 0x58db71
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 0xfff
lea ecx, [edx + eax + 0xfff]
shr ecx, 0xc
cmp ecx, 8
mov dword [ebp + 0x18], edx
mov dword [ebp + 0xc], ecx
jbe 0x58d9ff
add ecx, 0xfffffff8
shl ecx, 0xc
sub eax, ecx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], 8
mov ecx, dword [ebx + 0x8c]
test ecx, ecx
je 0x58da2b
cmp dword [ecx + 0x140], 0
je 0x58da2b
mov ecx, dword [ebx + 0x58]
cmp dword [ecx + 0x54], 0
je 0x58da2b
mov ecx, 0x1000
sub ecx, edx
cmp eax, ecx
jbe 0x58da2b
mov dword [ebp + 0x14], ecx
mov eax, ecx
mov ecx, dword [ebp + 8]
and dword [ecx], 0
and dword [ebp - 0x24], 0
lea edx, [edx + eax + 0xfff]
shr edx, 0xc
lea edx, [edx*4 + 0x1c]
mov word [ecx + 4], dx
mov edx, dword [ebp - 0x14]
and edx, 0xfffff000
cmp dword [ebp + 0xc], 0
mov dword [ecx + 0x10], edx
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0xc], eax
mov word [ecx + 6], 1
jbe 0x58daa5
mov dword [ebp + 0x18], eax
push dword [ebp + 0x18]
call sym.ntoskrnl.exe_MmGetPhysicalAddress
mov cl, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
call sym.ntoskrnl.exe__allshr
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
add dword [ebp + 0x18], 0x1000
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
jb 0x58da74
mov ecx, dword [ebp + 8]
rdtsc
test esi, esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
je 0x58dafb
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x58dafb
cmp dword [eax + 0x140], 0
je 0x58dafb
mov edx, dword [ebx + 0x58]
mov edx, dword [edx + 0x54]
test edx, edx
je 0x58dafb
push dword [eax + 0x13c]
lea eax, [ebp - 0x10]
push ecx
push eax
push 1
call edx
cmp eax, 0x103
mov dword [ebp + 0x18], eax
je 0x58db09
test eax, eax
jge 0x58db09
mov eax, dword [ebx + 0x8c]
and dword [eax + 0x140], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x58]
push ecx
lea ecx, [ebp - 0x10]
push ecx
call dword [eax + 0x30]
mov dword [ebp + 0x18], eax
rdtsc
mov ecx, edx
mov edx, eax
sub edx, dword [ebp - 0x38]
lea eax, [ebx + 0x98]
sbb ecx, dword [ebp - 0x34]
add dword [eax], edx
adc dword [eax + 4], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
add dword [ebx + 0xc8], ecx
inc dword [ebx + 0xd4]
sub dword [ebp + 0x10], eax
add dword [ebp - 8], eax
adc dword [ebp - 4], 0
add dword [ebp - 0x14], eax
test esi, esi
je 0x58db4c
cmp dword [ebp + 0x18], 0x103
je 0x58db78
mov eax, dword [ebp + 0x18]
test eax, eax
jge 0x58d83d
mov dword [ebx + 0x70], eax
test esi, esi
je 0x58db71
mov ebx, dword [ebx + 0x8c]
push dword [ebx + 0x34]
lea eax, [ebx + 0x28]
push eax
push ebx
call fcn.0058d472
pop edi
pop esi
pop ebx
leave
ret 0x14
mov edx, dword [ebp - 8]
mov dword [esi + 0x60], edx
mov edx, dword [ebp - 4]
mov dword [esi + 0x64], edx
mov edx, dword [ebp - 0x40]
mov dword [esi + 0x68], edx
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x6c], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x70], edx
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x78], edx
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x7c], edx
mov edx, dword [ebp - 0x10]
mov dword [esi + 0x80], edx
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x84], edx
mov edx, dword [ebp - 0x2c]
mov dword [esi + 0x88], edx
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x8c], edx
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x94], edx
mov edx, dword [ebp + 8]
mov dword [esi + 0x98], edx
mov edx, dword [ebp - 0x20]
mov dword [esi + 0xa0], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0xa8], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x90], edi
mov dword [esi + 0x9c], edx
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], 0x103
jmp 0x58db71