Function at 0x474848
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x84]
mov eax, dword [ecx]
or eax, dword [edx + 4]
je 0x474874
jmp 0x474b34
push 0
push 0
lea ecx, [ebp - 0x60]
push ecx
call dword [0x1a098]
mov dword [ebp - 0x18], 0xffca9820
mov dword [ebp - 0x14], 0xffffffff
mov cl, 0x1f
call dword [0x1a010]
mov byte [ebp - 1], al
lea edx, [ebp - 0x28]
push edx
call dword [0x1a008]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push eax
push edx
push ecx
rdtsc
lea ecx, [ebp - 0x50]
mov dword [ecx + 4], edx
mov dword [ecx], eax
pop ecx
pop edx
pop eax
mov cl, byte [ebp - 1]
call dword [0x1a00c]
lea eax, [ebp - 0x18]
push eax
push 1
push 0
push 6
lea ecx, [ebp - 0x60]
push ecx
call dword [0x1a094]
mov cl, 0x1f
call dword [0x1a010]
mov byte [ebp - 1], al
lea edx, [ebp - 0x78]
push edx
call dword [0x1a008]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
push eax
push edx
push ecx
rdtsc
lea ecx, [ebp - 0x20]
mov dword [ecx + 4], edx
mov dword [ecx], eax
pop ecx
pop edx
pop eax
mov cl, byte [ebp - 1]
call dword [0x1a00c]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
sbb eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x6c], 2
jb 0x47496f
ja 0x474941
cmp dword [ebp - 0x70], 0x540be400
jbe 0x47496f
push 0
push 0x10
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.00478cfa
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push 0
push 0x10
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00478cfa
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
call fcn.00478cca
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x68]
push ecx
push edx
push eax
call fcn.00478cfa
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
push 0
push 0x3e8
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00478cfa
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
push 0
push 0x3e8
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00478cee
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
cmp dword [ebp - 0x88], 0
ja 0x4749ea
cmp dword [ebp - 0x8c], 0x1f4
jbe 0x474a00
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ecx + 4]
adc eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
push 0
push 0x3e8
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx]
push ecx
call fcn.00478cca
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x40], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x3c], ecx
lea edx, [ebp - 0x80]
push edx
call dword [0x1a088]
push eax
push edx
push ecx
rdtsc
lea ecx, [ebp - 0x10]
mov dword [ecx + 4], edx
mov dword [ecx], eax
pop ecx
pop edx
pop eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00478cfa
neg eax
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00478cee
push 0
push 0xf4240
push edx
push eax
call fcn.00478cca
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x40]
push ecx
push edx
push eax
call fcn.00478cfa
neg eax
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x80]
sub edx, 0xd53e8000
mov eax, dword [ebp - 0x7c]
sbb eax, 0x19db1de
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], eax
push 0
push 0x989680
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x80]
push edx
call fcn.00478ce2
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
push 0
push 0x989680
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00478cd6
push 0
push 0xa
push edx
push eax
call fcn.00478ce2
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
jns 0x474b03
mov edx, dword [ebp - 0x48]
sub edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x44]
add eax, 0xf4240
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x48]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x1b000]
and ecx, 1
je 0x474b34
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [edx]
push ecx
push 0x189b0
call fcn.00478ca6
add esp, 0xc
mov esp, ebp
pop ebp
ret 4