Function at 0x1002e1a0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x11c]
test eax, eax
push edi
jne 0x1002e1c1
mov eax, dword [esi + 0x120]
test eax, eax
je 0x1002e1d8
mov eax, dword [esi + 0x23c]
mov ecx, dword [esi + 0x254]
push 0
push eax
push ecx
mov ecx, esi
call fcn.10011f60
mov eax, dword [esi + 8]
cmp eax, 3
je 0x1002e206
cmp eax, 4
jge 0x1002e206
mov edx, dword [esi + 0x1864]
mov eax, dword [esi + 0x1874]
mov dword [edx], eax
mov ecx, dword [esi + 0x1868]
mov edx, dword [esi + 0x1880]
mov dword [ecx], edx
jmp 0x1002e2c1
mov eax, dword [esi + 0x1884]
mov edx, dword [esi + eax*4 + 0x186c]
mov ecx, dword [esi + 0x1864]
mov dword [ecx], edx
mov eax, dword [esi + 0x1888]
mov edx, dword [esi + eax*4 + 0x186c]
mov ecx, dword [esi + 0x1864]
mov dword [ecx + 4], edx
mov eax, dword [esi + 0x188c]
mov edx, dword [esi + eax*4 + 0x186c]
mov ecx, dword [esi + 0x1864]
mov dword [ecx + 8], edx
mov eax, dword [esi + 0x1890]
mov edx, dword [esi + eax*4 + 0x1878]
mov ecx, dword [esi + 0x1868]
mov dword [ecx + 8], edx
mov eax, dword [esi + 0x1868]
mov ecx, dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x1868]
mov edx, dword [eax + 4]
mov dword [eax], edx
mov eax, dword [esi + 0x10dc]
mov ecx, dword [esi + eax*8 + 0x10e8]
mov dword [esi + 0x10e0], ecx
mov edx, dword [esi + eax*8 + 0x10ec]
mov eax, dword [esi + 0x1008]
mov dword [esi + 0x10e4], edx
mov ecx, dword [esi + eax*4 + 0xff0]
mov dword [esi + 0xf84], ecx
mov edx, dword [esi + eax*8 + 0xff8]
mov dword [esi + 0xf7c], edx
mov eax, dword [esi + eax*8 + 0xffc]
mov dword [esi + 0xf80], eax
mov ecx, dword [esi + 0x8c]
push ecx
mov ecx, esi
call fcn.1002cee0
mov edx, dword [esi + 0x1ec]
mov eax, dword [esi + 0x1e8]
mov ecx, dword [esi + 0x9b8]
add eax, edx
mov edx, dword [esi + 0xf60]
mov dword [esi + 0x1dc], eax
neg eax
mov edi, dword [esi + 0x9b4]
mov ebx, dword [esi + 0x19c]
mov dword [esi + 0x1e0], eax
mov eax, dword [esi + 0x1a0]
add ecx, eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0x9bc]
add ecx, eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [esi + 0x138]
mov dword [ebp - 0x48], ecx
mov ecx, dword [esi + 0x14]
add ecx, eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [esi + 0x18]
add ecx, eax
mov eax, dword [esi + 0xaec]
mov dword [ebp - 0x50], ecx
mov ecx, dword [esi + 0x1a14]
mov dword [ebp - 0x28], edx
mov edx, dword [esi + 0x1a18]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 0x1a2c]
add ebx, edi
mov edi, dword [esi + 0xaf0]
mov dword [esi + 0xaf8], eax
mov dword [ebp - 0x1c], edx
cmp ebx, dword [ecx]
mov dword [ebp - 0x3c], ebx
je 0x1002e377
mov ecx, dword [esi + 0x1a30]
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x1009e328]
inc eax
inc ecx
mov dword [0x1009e328], ecx
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [esi + 0xbc], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x34], ecx
jbe 0x1002e983
jmp 0x1002e3a4
mov ebx, dword [ebp - 0x3c]
mov edx, dword [esi + 0xaf8]
neg edx
test cl, 1
mov dword [esi + 0xaf8], edx
jne 0x1002e3d2
mov eax, dword [esi + 0x1a14]
mov edx, dword [esi + 0x1a18]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xaec]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor edx, edx
test ecx, ecx
setne dl
mov eax, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x38], edx
xor edx, edx
div dword [esi + 0xc8]
mov eax, dword [esi + 8]
neg edx
sbb edx, edx
neg edx
test eax, eax
mov dword [ebp - 0x10], edx
jne 0x1002e404
test ecx, ecx
je 0x1002e404
mov dword [ebp - 0x10], 1
mov edx, dword [esi + 0xb8]
mov eax, 0x80
mov dword [esi + 0x184], eax
mov dword [esi + 0x180], eax
mov dword [esi + 0x17c], eax
xor eax, eax
cmp edx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], eax
jbe 0x1002e939
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x50]
sub ecx, eax
sub eax, ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
sub eax, ebx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x24], eax
lea esp, [esp]
mov eax, dword [esi + 8]
test eax, eax
jne 0x1002e477
mov ecx, esi
call fcn.1001ba90
test eax, eax
je 0x1002e477
lea eax, [esi + 0x1b0]
push eax
mov ecx, esi
call fcn.1001bb00
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0x11c]
inc ecx
test eax, eax
mov dword [ebp - 0xc], ecx
jne 0x1002e492
mov eax, dword [esi + 0x120]
test eax, eax
je 0x1002e4a0
mov ecx, esi
call fcn.1000f0a0
mov ecx, esi
call fcn.1000eeb0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.100536c0
push edi
mov ecx, esi
mov dword [esi + 0xafc], eax
call dword [esi + 0x1924]
test eax, eax
jne 0x1002eb77
test byte [edi], 1
jne 0x1002e64a
mov ecx, dword [ebp - 0x28]
mov byte [ecx], 0
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x1002e723
mov eax, dword [esi + 8]
cmp eax, 4
jge 0x1002e58e
cmp eax, 3
je 0x1002e58e
cmp eax, 2
je 0x1002e55e
cmp eax, 1
je 0x1002e55e
test eax, eax
jne 0x1002e5db
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002e524
mov edx, dword [esi + 0xb8]
mov eax, dword [ebp - 0xc]
inc edx
cmp eax, edx
jb 0x1002e524
xor ecx, ecx
jmp 0x1002e529
mov ecx, 1
mov eax, dword [ebp - 8]
test eax, eax
je 0x1002e53a
cmp dword [ebp - 0xc], 1
je 0x1002e53a
xor eax, eax
jmp 0x1002e53f
mov eax, 1
mov edx, dword [ebp - 8]
push ecx
xor ecx, ecx
cmp edx, dword [esi + 0xc4]
sete cl
push ecx
push eax
mov eax, dword [ebp - 4]
push edi
push eax
mov ecx, esi
call fcn.1001dd70
jmp 0x1002e5d3
mov eax, dword [ebp - 0x10]
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 8]
sete cl
xor edx, edx
push ecx
cmp eax, dword [esi + 0xc4]
sete dl
xor ecx, ecx
test eax, eax
sete cl
push edx
mov edx, dword [ebp - 4]
push ecx
push edi
push edx
mov ecx, esi
call fcn.1001dd70
jmp 0x1002e5d3
mov eax, dword [esi + 0xf80]
mov ecx, dword [esi + 0xf7c]
mov edx, dword [esi + 0xf84]
push eax
push ecx
push edx
mov edx, dword [ebp - 0x10]
xor eax, eax
test edx, edx
mov edx, dword [esi + 0xc4]
sete al
xor ecx, ecx
push eax
mov eax, dword [ebp - 8]
cmp eax, edx
sete cl
xor edx, edx
test eax, eax
mov eax, dword [ebp - 4]
sete dl
push ecx
mov ecx, esi
push edx
push edi
push eax
call fcn.100533a0
test eax, eax
jne 0x1002eb77
mov eax, dword [esi + 0x11c]
test eax, eax
jne 0x1002e5ef
mov eax, dword [esi + 0x120]
test eax, eax
je 0x1002e609
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x1bc4]
movsx edx, byte [eax + 1]
movsx eax, byte [eax]
push ecx
push edx
push eax
mov ecx, esi
call fcn.1000ef10
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jne 0x1002e61f
mov cl, byte [eax + 1]
test cl, cl
jne 0x1002e61f
mov eax, 1
jmp 0x1002e621
xor eax, eax
mov edx, dword [edi]
lea ecx, [eax*4]
xor ecx, edx
and ecx, 4
xor edx, ecx
mov eax, edx
test al, 2
mov dword [edi], edx
je 0x1002e6d0
test al, 4
je 0x1002e6d0
or eax, 1
mov dword [edi], eax
mov eax, dword [ebp - 4]
mov byte [eax + 1], 0
mov byte [eax], 0
mov eax, dword [esi + 0x254]
test eax, eax
jne 0x1002e666
mov edx, dword [ebp - 0x28]
cmp byte [edx], 0
jne 0x1002e69b
mov ecx, dword [esi + 0x190]
mov edx, dword [esi + 0x18c]
mov eax, dword [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x60]
push edx
add eax, ebx
lea edx, [eax + ecx]
mov ecx, dword [ebp - 0x48]
push edx
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x2c]
add eax, ecx
push eax
mov eax, dword [ebp - 0x14]
add edx, ebx
push edx
push ebx
push eax
call dword [esi + 0x238]
mov eax, dword [esi + 0x11c]
test eax, eax
jne 0x1002e6af
mov eax, dword [esi + 0x120]
test eax, eax
je 0x1002e6c5
push 0
push 0
push 0
mov ecx, esi
call fcn.1000ef10
push 0
mov ecx, esi
call fcn.1000ed70
mov ecx, dword [ebp - 0x28]
mov byte [ecx], 1
jmp 0x1002e8c1
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
movsx eax, byte [ecx + 1]
mov ecx, dword [0x100b5638]
mov dword [ebp - 0x20], edx
mov edx, dword [ecx + eax*4]
add edx, dword [ebp - 0x34]
mov ecx, dword [0x100b5638]
push edx
mov edx, dword [ebp - 0x20]
mov edx, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x2c]
add edx, ecx
push edx
mov edx, dword [ebp - 0x34]
lea eax, [eax + edx*2]
mov edx, dword [ebp - 0x20]
push eax
lea eax, [edx + ecx*2]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
push eax
add ecx, ebx
push ecx
push ebx
push edx
push edi
mov ecx, esi
call dword [esi + 0x19d8]
jmp 0x1002e8b9
mov eax, dword [ebp - 4]
mov byte [eax + 1], 0
mov byte [eax], 0
cmp dword [esi + 8], 4
jl 0x1002e80d
mov eax, dword [ebp - 8]
xor ecx, ecx
test eax, eax
setne cl
test eax, eax
mov dword [ebp - 0x20], ecx
je 0x1002e756
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1002e756
mov eax, 1
jmp 0x1002e758
xor eax, eax
mov ecx, dword [esi + 0x1f8]
test ecx, ecx
je 0x1002e78f
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x20]
push edx
mov edx, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x14]
push eax
add ecx, ebx
push ecx
push ebx
push edx
push edi
mov ecx, esi
call fcn.10027e30
jmp 0x1002e8b9
test eax, eax
je 0x1002e7ad
mov eax, dword [esi + 0xb8]
imul eax, eax, 0x70
mov ecx, edi
sub ecx, eax
cmp dword [ecx - 0x1c], 3
jne 0x1002e7ad
mov edx, 1
jmp 0x1002e7af
xor edx, edx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1002e7d0
mov eax, dword [esi + 0xb8]
imul eax, eax, 0x70
mov ecx, edi
sub ecx, eax
cmp dword [ecx + 0x54], 3
jne 0x1002e7d0
mov ecx, 1
jmp 0x1002e7d2
xor ecx, ecx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1002e7e6
cmp dword [edi - 0x1c], 3
jne 0x1002e7e6
mov eax, 1
jmp 0x1002e7e8
xor eax, eax
push 0
push edx
mov edx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x14]
push eax
add ecx, ebx
push ecx
push ebx
push edx
push edi
mov ecx, esi
call fcn.10027bd0
jmp 0x1002e8b9
mov eax, dword [ebp - 8]
test eax, eax
je 0x1002e829
cmp dword [edi - 0x1c], 3
jne 0x1002e829
mov ecx, dword [ebp - 0xc]
mov eax, 1
cmp ecx, eax
mov dword [ebp - 0x20], eax
ja 0x1002e830
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002e858
mov eax, dword [esi + 0xb8]
mov ecx, eax
imul ecx, ecx, 0x70
mov edx, edi
sub edx, ecx
cmp dword [edx + 0x54], 3
jne 0x1002e858
cmp dword [ebp - 0xc], eax
mov dword [ebp - 0x54], 1
ja 0x1002e85f
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 8]
test eax, eax
je 0x1002e891
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002e891
mov eax, dword [esi + 0xb8]
mov ecx, eax
imul ecx, ecx, 0x70
mov edx, edi
sub edx, ecx
cmp dword [edx - 0x1c], 3
jne 0x1002e891
mov ecx, dword [ebp - 0xc]
inc eax
cmp ecx, eax
jbe 0x1002e891
mov eax, 1
jmp 0x1002e893
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push 0
push eax
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x14]
push eax
add ecx, ebx
push ecx
push ebx
push edx
push edi
mov ecx, esi
call fcn.1001d960
test eax, eax
jne 0x1002eb77
mov eax, dword [edi + 0x54]
xor ecx, ecx
cmp eax, ecx
mov eax, dword [ebp - 0x18]
jne 0x1002e8db
mov dword [eax + 0x140], ecx
mov dword [eax + 0x100], ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x28], ecx
add dword [ebp - 4], 2
mov ecx, 0x10
add edx, ecx
add eax, 0x180
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
add edx, 0x90
add eax, 0x24
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
add edx, ecx
mov ecx, dword [esi + 0xb8]
add edi, 0x70
add ebx, 8
inc eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], edx
jb 0x1002e450
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x3c]
mov edx, dword [esi + 0x1a4]
mov eax, dword [esi + 0x1a8]
add ebx, edx
mov dword [ebp - 0x3c], ebx
add dword [ebp - 0x40], eax
add dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x48]
add ebx, edx
mov edx, dword [ebp - 0x50]
add edx, eax
mov dword [ebp - 0x48], ebx
mov ebx, dword [ebp - 0x4c]
add ebx, eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x34]
inc ecx
add edx, 0x10
cmp ecx, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x34], edx
jb 0x1002e3a1
mov eax, dword [esi + 0x11c]
test eax, eax
jne 0x1002e997
mov eax, dword [esi + 0x120]
test eax, eax
je 0x1002e9ae
mov eax, dword [esi + 0xbc]
mov ecx, dword [esi + 0xb8]
push 0
push eax
push ecx
mov ecx, esi
call fcn.1000f180
mov eax, dword [esi + 0x254]
test eax, eax
je 0x1002e9cb
mov eax, dword [esi + 0x11c]
test eax, eax
jne 0x1002e9cb
push 4
mov ecx, esi
call fcn.10034aa0
mov eax, dword [esi + 0xa4c]
test eax, eax
je 0x1002eb75
mov eax, dword [esi + 0x9e0]
test eax, eax
jne 0x1002eb75
mov eax, dword [esi + 0x1bac]
test eax, eax
mov dword [esi + 0x2e20], 0
je 0x1002ea05
mov eax, dword [esi + 0x1bb0]
test eax, eax
je 0x1002ea6f
mov eax, dword [esi + 0x1a0]
mov ecx, dword [esi + 0x19c]
mov ebx, dword [esi + 0x9c0]
mov edx, dword [esi + 0x9c8]
mov edi, dword [esi + 0x9c4]
add ebx, ecx
mov ecx, dword [esi + 0x9bc]
add ecx, eax
add edx, eax
push edx
mov dword [ebp - 0x60], ecx
mov ecx, dword [esi + 0x9b8]
mov edx, dword [ebp - 0x60]
add edi, eax
add ecx, eax
mov eax, dword [esi + 0x9b4]
push edi
push ebx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [esi + 0x19c]
push edx
mov edx, dword [ebp - 0x5c]
add eax, ecx
push edx
lea ecx, [esi + 0x640]
push eax
call dword [ecx + 0x364]
mov dword [esi + 0x2e20], 1
mov eax, dword [esi + 0x254]
test eax, eax
jne 0x1002ea91
mov eax, dword [esi + 0xa24]
test eax, eax
jne 0x1002ea91
mov eax, dword [esi + 0x1bb0]
test eax, eax
jne 0x1002ea91
xor eax, eax
jmp 0x1002ea96
mov eax, 1
mov ecx, 0x1009e2d0
mov dword [esi + 0x2e1c], eax
call fcn.1000e490
test eax, eax
je 0x1002eaff
rdtsc
mov edi, dword [0x1009e2e0]
mov ecx, dword [0x1009e2e4]
sub edi, eax
mov eax, dword [0x1009e304]
sbb ecx, edx
test eax, eax
mov dword [0x1009e2e0], edi
mov dword [0x1009e2e4], ecx
jne 0x1002ead7
inc dword [0x1009e358]
mov eax, dword [0x1009e308]
test eax, eax
jne 0x1002eaf9
mov edx, dword [0x1009e2fc]
mov eax, dword [0x1009e378]
inc edx
mov dword [0x1009e2fc], edx
inc dword [eax*4 + 0x1009e364]
inc dword [0x1009e308]
mov eax, dword [esi + 0x2e20]
mov ecx, dword [esi + 0x9c8]
mov edx, dword [esi + 0x9c4]
push eax
mov eax, dword [esi + 0x9c0]
push ecx
mov ecx, dword [esi + 0x9bc]
push edx
mov edx, dword [esi + 0x9b8]
push eax
mov eax, dword [esi + 0x9b4]
push ecx
push edx
push eax
mov ecx, esi
call fcn.100336f0
mov ecx, 0x1009e2d0
call fcn.1000e490
test eax, eax
je 0x1002eb61
rdtsc
mov ecx, dword [0x1009e2e0]
add ecx, eax
mov eax, dword [0x1009e2e4]
adc eax, edx
mov dword [0x1009e2e0], ecx
mov dword [0x1009e2e4], eax
mov dword [esi + 0x1bb0], 0
mov dword [esi + 0x1ba8], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret