Function at 0x4074f2
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor esi, esi
push edi
xor ebx, ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call dword [0x428240]
mov dword [ebp - 8], eax
push 0x10
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00425100
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
call dword [0x428244]
test eax, eax
jne 0x407536
jmp 0x4076cd
mov esi, dword [ebp - 0xc]
inc dword [ebp - 4]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x1c], esi
mov esi, dword [0x428248]
push eax
mov dword [ebp - 0xc], ebx
call esi
mov eax, dword [ebp - 0x34]
push dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
call dword [0x42824c]
mov ebx, 0x7fffffff
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x407577
push 0xf
push dword [ebp - 8]
call dword [0x428250]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
cmp eax, 0x32
jae 0x40758f
lea eax, [ebp - 0x2c]
push eax
call esi
rdtsc
mov dword [ebp - 0x24], eax
jmp 0x407577
mov eax, dword [ebp - 0x2c]
mov edi, 0x3e8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
xor eax, eax
cmp eax, edi
jae 0x4075b9
lea eax, [ebp - 0x2c]
push eax
call esi
rdtsc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
jmp 0x4075a2
cmp dword [ebp - 0x18], ebx
je 0x4075ca
push dword [ebp - 0x18]
push dword [ebp - 8]
call dword [0x428250]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
imul ecx, ecx, 0x186a0
imul eax, eax, 0x186a0
sub ecx, eax
push 0xa
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
xor edx, edx
pop edi
mov esi, dword [ebp - 0x20]
div edi
xor edx, edx
sub esi, dword [ebp - 0x24]
add dword [ebp - 0x10], esi
mov edi, eax
mov eax, dword [ebp - 0x18]
div edi
xor edx, edx
mov edi, eax
div ecx
add dword [ebp - 0x14], edi
shr ecx, 1
cmp edx, ecx
jbe 0x40760f
inc edi
mov eax, esi
xor edx, edx
div edi
xor edx, edx
mov ebx, eax
mov eax, esi
div edi
shr edi, 1
cmp edx, edi
jbe 0x407624
inc ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
lea esi, [eax + ecx]
add esi, ebx
cmp dword [ebp - 4], 3
jl 0x407533
cmp dword [ebp - 4], 0x14
jge 0x407684
lea eax, [ebx + ebx*2]
sub eax, esi
push eax
call fcn.00425bb8
cmp eax, 3
pop ecx
jg 0x407533
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
sub eax, esi
push eax
call fcn.00425bb8
cmp eax, 3
pop ecx
jg 0x407533
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*2]
sub eax, esi
push eax
call fcn.00425bb8
cmp eax, 3
pop ecx
jg 0x407533
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
xor edx, edx
lea eax, [esi + esi*4]
shl eax, 1
div edi
xor edx, edx
mov ecx, eax
mov eax, esi
imul eax, eax, 0x64
div edi
lea edx, [ecx + ecx*4]
shl edx, 1
sub eax, edx
cmp eax, 6
jb 0x4076ab
inc ecx
mov eax, esi
xor edx, edx
div edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
lea edx, [eax + eax*4]
shl edx, 1
sub ecx, edx
cmp ecx, 6
jb 0x4076c7
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x4c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret