Function at 0x470ec0
Capabilities:
Execute anti-debugging instructions
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push edi
rdtsc
lea ebx, [0xa254d0]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ecx, 0x1f
xor eax, eax
mov edi, 0xd35ea0
push 0
rep stosd dword es:[edi], eax
mov eax, dword [0xa4f008]
push 1
mov dword [0xd35ea0], 0x7c
push 0xd35ea0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x64]
test eax, eax
jne 0x471c86
mov eax, dword [0xa4f194]
mov ecx, dword [0xa4f18c]
mov edx, dword [0xd35ec4]
sub eax, ecx
mov dword [0x675a64], edx
mov edx, dword [0xa4f188]
lea ecx, [eax + eax*4]
push esi
shl ecx, 3
sub ecx, eax
shl ecx, 2
mov eax, ecx
mov ecx, dword [0xa4f190]
sub eax, edx
mov edx, dword [0x6456bc]
add eax, ecx
mov ecx, dword [0xa4f19c]
add ecx, edx
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov dword [0x723034], ecx
mov dword [ebp - 0x18], ebx
mov ecx, dword [0xa4f17c]
lea edx, [eax + eax*2]
lea edi, [ecx + edx*8]
lea edx, [eax + eax*2]
mov eax, dword [0xa4f2b8]
mov dword [ebp - 0x20], edi
lea ecx, [eax + edx*4]
mov edx, dword [0xa4f198]
mov eax, ebx
mov dword [0x9631b4], ecx
mov ecx, dword [0x6456b8]
and eax, 1
shl eax, 5
add eax, edx
add eax, ecx
xor esi, esi
mov dword [0x723030], eax
mov dword [ebp - 0x24], esi
jmp 0x470fa5
mov ebx, dword [ebp - 0x18]
mov edx, dword [0xa4f194]
mov ecx, dword [0xa4f18c]
sub edx, ecx
add edx, ebx
js 0x471c0a
mov eax, dword [0xa4f190]
mov edx, dword [0xa4f188]
sub eax, edx
add eax, esi
js 0x471c0a
mov eax, dword [0xa262c8]
test eax, eax
je 0x47114d
mov eax, dword [edi]
test eax, 0x4000000
je 0x471002
mov ecx, dword [0xa4f028]
mov eax, dword [0x723034]
mov edx, dword [ecx + 0x10]
mov ecx, dword [0x723030]
push edx
push eax
push ecx
jmp 0x47108a
test eax, 0x8000000
je 0x471023
mov edx, dword [0xa4f028]
mov ecx, dword [0x723034]
mov eax, dword [edx + 0x14]
mov edx, dword [0x723030]
push eax
push ecx
push edx
jmp 0x47108a
test eax, 0x80000000
je 0x471034
mov eax, dword [0xa4f028]
mov ecx, dword [eax + 8]
jmp 0x47107c
test eax, 0x20000000
je 0x471054
mov ecx, dword [0xa4f028]
mov eax, dword [0x723034]
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x723030]
push edx
push eax
push ecx
jmp 0x47108a
test eax, 0x40000000
je 0x471075
mov edx, dword [0xa4f028]
mov ecx, dword [0x723034]
mov eax, dword [edx + 0x20]
mov edx, dword [0x723030]
push eax
push ecx
push edx
jmp 0x47108a
mov eax, dword [0xa4f028]
mov ecx, dword [eax]
mov edx, dword [0x723034]
mov eax, dword [0x723030]
push ecx
push edx
push eax
call dword [0xd36aa8]
mov eax, dword [edi]
add esp, 0xc
test eax, 0xfffff
jne 0x4710bc
mov ecx, dword [0xa4f028]
mov eax, dword [0x723034]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [0x723030]
push edx
push eax
push ecx
call dword [0xd36aa8]
add esp, 0xc
test dword [edi], 0x1000000
je 0x4710e5
mov edx, dword [0xa4f028]
mov ecx, dword [0x723034]
mov eax, dword [edx + 0x28]
mov edx, dword [0x723030]
push eax
push ecx
push edx
call dword [0xd36aa8]
add esp, 0xc
test dword [edi], 0x800000
je 0x47110c
mov eax, dword [0xa4f028]
mov edx, dword [0x723034]
mov ecx, dword [eax + 0x18]
mov eax, dword [0x723030]
push ecx
push edx
push eax
call dword [0xd36aa8]
add esp, 0xc
mov ecx, dword [0xa4f190]
mov eax, dword [0x6456b0]
add ecx, esi
cmp eax, ecx
jne 0x47114d
mov edx, dword [0xa4f194]
mov eax, dword [0x6456b4]
add edx, ebx
cmp eax, edx
jne 0x47114d
mov eax, dword [0xa4f028]
mov edx, dword [0x723034]
mov ecx, dword [eax + 4]
mov eax, dword [0x723030]
push ecx
push edx
push eax
call dword [0xd36aa8]
add esp, 0xc
mov eax, dword [0xa262cc]
test eax, eax
je 0x471182
mov ecx, dword [edi]
mov edx, dword [0x723034]
mov eax, dword [0x723030]
and ecx, 0xfffff
dec ecx
add edx, 0xd
push ecx
push 0x645ab8
push 1
add eax, 0x10
push edx
push eax
call fcn.00489a30
add esp, 0x14
test dword [edi], 0x20000000
je 0x471c0a
mov eax, dword [0x9631b4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x471c0a
mov eax, dword [eax + 4]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x14], ecx
je 0x471c0a
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + 8]
mov eax, dword [esi]
cmp eax, 1
jb 0x4711c2
cmp eax, 0x7fff
jbe 0x4711d8
cmp eax, 0x14000
jb 0x471bf1
cmp eax, 0x17fff
ja 0x471bf1
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x471bf1
mov eax, dword [esi + 0x250]
mov dword [ebp - 0x10], 0
cmp eax, 8
mov dword [ebp - 0x1c], 1
jne 0x471203
mov dword [ebp - 0x1c], 0x78
mov eax, dword [esi + 0x45c]
cmp eax, 1
jle 0x471777
lea edi, [eax - 1]
test edi, edi
jle 0x471230
lea edx, [ebp - 0x1c]
push edx
push 2
push 0xc
push edi
push esi
call fcn.0045e4f0
add esp, 0x14
dec edi
test edi, edi
jg 0x471219
lea eax, [esi + 0x434]
push 0
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x34], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x38]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x2c], edx
call fcn.00474d40
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + 0x358]
cmp eax, dword [ecx + 4]
jg 0x471725
mov edi, dword [esi]
mov ecx, dword [0xa23350]
cmp edi, ecx
jne 0x4716ef
mov ecx, dword [0xa23358]
mov dx, di
mov edi, dword [esi + 0x340]
sub eax, ecx
mov ecx, dword [esi + 0x490]
mov word [ebp - 0xc], dx
mov edx, dword [0xa23354]
mov dword [ebp - 8], eax
mov eax, 0x2aaaaaab
sub edi, edx
imul ecx
sar edx, 2
mov ebx, dword [esi + 0x390]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0x2ec]
lea ecx, [ecx + ecx*4 + 0x6456c8]
mov dword [ebp - 0x10], edx
test eax, eax
mov dword [ebp - 4], ecx
je 0x471388
mov edx, dword [ebp - 0xc]
mov eax, dword [0x6d67a8]
and edx, 0xffff
cmp edx, eax
jne 0x471330
mov ecx, 0x68d9e0
call fcn.00403b20
test eax, eax
jne 0x471330
movzx ax, byte [0x645932]
movzx cx, byte [0x645931]
movzx dx, byte [0x645930]
push eax
mov eax, dword [esi + 0x300]
push ecx
mov ecx, dword [esi + 0x2f8]
push edx
push eax
mov edx, dword [ecx + ebx*4]
mov eax, dword [ebp - 8]
push edx
push eax
push edi
call dword [0xd36ac4]
add esp, 0x1c
jmp 0x47171e
mov edx, dword [esi + 0x2f8]
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
movzx dx, byte [0x645932]
movzx ax, byte [0x645931]
movzx cx, byte [0x645930]
push edx
mov edx, dword [esi + 0x300]
push eax
mov eax, dword [esi + 0x2f8]
push ecx
push edx
mov ecx, dword [eax + ebx*4]
mov edx, dword [ebp - 8]
push ecx
push edx
push edi
call dword [0xd36ac4]
add esp, 0x2c
jmp 0x47171e
mov eax, dword [esi + 0x2c0]
test eax, eax
je 0x47139a
mov eax, dword [eax + ebx*4]
mov dword [0xa234b8], eax
mov ecx, dword [0xd36ac8]
mov eax, dword [0x6d67a8]
mov dword [edx*4 + 0x645aa4], ecx
mov edx, dword [ebp - 0xc]
and edx, 0xffff
cmp edx, eax
jne 0x4714da
mov ecx, 0x68d9e0
call fcn.00403b20
test eax, eax
jne 0x4714da
mov eax, dword [ebp - 4]
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x471408
mov edx, dword [esi + eax*4 + 0x2c4]
mov ecx, dword [0xa234b8]
mov eax, dword [esi + eax*4 + 0x29c]
push ecx
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645aa4]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x471445
mov edx, dword [esi + eax*4 + 0x2c4]
mov ecx, dword [0xa234b8]
mov eax, dword [esi + eax*4 + 0x29c]
push ecx
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645aa8]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x471482
mov edx, dword [esi + eax*4 + 0x2c4]
mov ecx, dword [0xa234b8]
mov eax, dword [esi + eax*4 + 0x29c]
push ecx
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645aac]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x4714bf
mov edx, dword [esi + eax*4 + 0x2c4]
mov ecx, dword [0xa234b8]
mov eax, dword [esi + eax*4 + 0x29c]
push ecx
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645ab0]
add esp, 0x14
mov eax, dword [ebp - 4]
movsx eax, byte [eax + 1]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x4716d5
jmp 0x4716ad
mov eax, dword [ebp - 4]
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x47153d
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x47150f
mov edx, dword [esi + eax*4 + 0x29c]
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
add esp, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [0xa234b8]
push ecx
movsx eax, byte [edx]
mov edx, dword [esi + eax*4 + 0x2c4]
mov eax, dword [esi + eax*4 + 0x29c]
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645aa4]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x4715a3
cmp dword [ebp - 0x10], 1
je 0x471575
mov edx, dword [esi + eax*4 + 0x29c]
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
add esp, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [0xa234b8]
push ecx
movsx eax, byte [edx]
mov edx, dword [esi + eax*4 + 0x2c4]
mov eax, dword [esi + eax*4 + 0x29c]
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645aa8]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x471609
cmp dword [ebp - 0x10], 2
je 0x4715db
mov edx, dword [esi + eax*4 + 0x29c]
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
add esp, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [0xa234b8]
push ecx
movsx eax, byte [edx]
mov edx, dword [esi + eax*4 + 0x2c4]
mov eax, dword [esi + eax*4 + 0x29c]
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645aac]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x47166f
cmp dword [ebp - 0x10], 3
je 0x471641
mov edx, dword [esi + eax*4 + 0x29c]
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
add esp, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [0xa234b8]
push ecx
movsx eax, byte [edx]
mov edx, dword [esi + eax*4 + 0x2c4]
mov eax, dword [esi + eax*4 + 0x29c]
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645ab0]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x4716d5
cmp dword [ebp - 0x10], 4
je 0x4716a7
mov edx, dword [esi + eax*4 + 0x29c]
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
add esp, 0x10
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
mov edx, dword [esi + eax*4 + 0x2c4]
mov ecx, dword [0xa234b8]
mov eax, dword [esi + eax*4 + 0x29c]
push ecx
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645ab4]
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov dword [0xa234b8], 0
mov dword [eax*4 + 0x645aa4], 0x471d00
jmp 0x47171e
mov ecx, dword [esi + 0x258]
xor edx, edx
and ecx, 0x4000
or ecx, edx
je 0x4717ae
mov eax, dword [0x6d67a8]
cmp edi, eax
je 0x471715
cmp eax, 0x8000
jne 0x47171e
push esi
call fcn.00468610
add esp, 4
mov dword [ebp - 0x10], 1
cmp dword [esi + 0x45c], 6
jbe 0x47176c
lea edi, [esi + 0x430]
mov ebx, 0xfffffff4
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x14]
cmp ecx, eax
jne 0x47174a
mov ecx, edi
call fcn.0045ad60
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x471754
add dword [edi + 0x1c], ebx
dec eax
test eax, eax
mov dword [edi + 0x2c], eax
jne 0x471763
mov ecx, edi
call fcn.0045ad60
cmp dword [esi + 0x45c], 6
ja 0x471739
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x471bf1
mov edx, dword [esi]
mov eax, dword [0xa23350]
cmp edx, eax
jne 0x471bc3
cmp edx, 0x4000
jb 0x4717a3
cmp edx, 0x5fff
ja 0x4717a3
cmp dword [esi + 0x250], 0xc
je 0x471be8
push esi
call fcn.00472160
jmp 0x471bee
mov ecx, dword [esi + 0x268]
mov edx, dword [esi + 0x26c]
or ecx, edx
je 0x4717c9
push esi
call fcn.00472160
jmp 0x47171b
mov cl, byte [esi + 0x4a0]
test cl, cl
je 0x471715
mov ecx, dword [0xa23358]
mov dx, word [esi]
mov edi, dword [esi + 0x340]
sub eax, ecx
mov ecx, dword [esi + 0x490]
mov word [ebp - 0x10], dx
mov edx, dword [0xa23354]
mov dword [ebp - 8], eax
mov eax, 0x2aaaaaab
sub edi, edx
imul ecx
sar edx, 2
mov ebx, dword [esi + 0x390]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esi + 0x2c0]
lea ecx, [ecx + ecx*4 + 0x6456c8]
mov dword [ebp - 0xc], edx
test eax, eax
mov dword [ebp - 4], ecx
je 0x471833
mov eax, dword [eax + ebx*4]
mov dword [0xa234b4], eax
mov ecx, dword [0xd36ac8]
mov dword [edx*4 + 0x645a90], ecx
mov dl, byte [esi + 0x4a1]
mov byte [0x645930], dl
mov al, byte [esi + 0x4a2]
mov edx, dword [ebp - 0x10]
mov byte [0x645931], al
mov eax, dword [0x6d67a8]
mov cl, byte [esi + 0x4a3]
and edx, 0xffff
mov byte [0x645932], cl
cmp eax, edx
jne 0x471996
mov ecx, 0x68d9e0
call fcn.00403b20
test eax, eax
jne 0x471996
mov eax, dword [ebp - 4]
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x4718c4
mov edx, dword [esi + eax*4 + 0x2c4]
mov ecx, dword [0xa234b4]
mov eax, dword [esi + eax*4 + 0x29c]
push ecx
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645a90]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x471901
mov edx, dword [esi + eax*4 + 0x2c4]
mov ecx, dword [0xa234b4]
mov eax, dword [esi + eax*4 + 0x29c]
push ecx
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645a94]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x47193e
mov edx, dword [esi + eax*4 + 0x2c4]
mov ecx, dword [0xa234b4]
mov eax, dword [esi + eax*4 + 0x29c]
push ecx
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645a98]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x47197b
mov edx, dword [esi + eax*4 + 0x2c4]
mov ecx, dword [0xa234b4]
mov eax, dword [esi + eax*4 + 0x29c]
push ecx
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645a9c]
add esp, 0x14
mov eax, dword [ebp - 4]
movsx eax, byte [eax + 1]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x471b91
jmp 0x471b69
mov eax, dword [ebp - 4]
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x4719f9
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x4719cb
mov edx, dword [esi + eax*4 + 0x29c]
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
add esp, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [0xa234b4]
push ecx
movsx eax, byte [edx]
mov edx, dword [esi + eax*4 + 0x2c4]
mov eax, dword [esi + eax*4 + 0x29c]
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645a90]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x471a5f
cmp dword [ebp - 0xc], 1
je 0x471a31
mov edx, dword [esi + eax*4 + 0x29c]
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
add esp, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [0xa234b4]
push ecx
movsx eax, byte [edx]
mov edx, dword [esi + eax*4 + 0x2c4]
mov eax, dword [esi + eax*4 + 0x29c]
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645a94]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x471ac5
cmp dword [ebp - 0xc], 2
je 0x471a97
mov edx, dword [esi + eax*4 + 0x29c]
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
add esp, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [0xa234b4]
push ecx
movsx eax, byte [edx]
mov edx, dword [esi + eax*4 + 0x2c4]
mov eax, dword [esi + eax*4 + 0x29c]
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645a98]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x471b2b
cmp dword [ebp - 0xc], 3
je 0x471afd
mov edx, dword [esi + eax*4 + 0x29c]
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
add esp, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [0xa234b4]
push ecx
movsx eax, byte [edx]
mov edx, dword [esi + eax*4 + 0x2c4]
mov eax, dword [esi + eax*4 + 0x29c]
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645a9c]
add esp, 0x14
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [eax]
mov ecx, dword [esi + eax*4 + 0x27c]
test ecx, ecx
je 0x471b91
cmp dword [ebp - 0xc], 4
je 0x471b63
mov edx, dword [esi + eax*4 + 0x29c]
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
mov eax, dword [edx + ebx*4]
push eax
push ecx
push edi
call dword [0xd36aa4]
add esp, 0x10
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
mov edx, dword [esi + eax*4 + 0x2c4]
mov ecx, dword [0xa234b4]
mov eax, dword [esi + eax*4 + 0x29c]
push ecx
push edx
mov edx, dword [ebp - 8]
mov ecx, dword [eax + ebx*4]
push ecx
push edx
push edi
call dword [0x645aa0]
add esp, 0x14
mov eax, dword [ebp - 0xc]
mov dword [0xa234b4], 0
mov byte [0x645930], 4
mov byte [0x645931], 4
mov dword [eax*4 + 0x645a90], 0x471d00
mov byte [0x645932], 4
jmp 0x47171e
mov eax, dword [esi + 0x258]
xor ecx, ecx
and eax, 0x4000
or eax, ecx
je 0x471cbf
mov eax, dword [0x6d67a8]
cmp edx, eax
je 0x471be8
cmp eax, 0x8000
jne 0x471bf1
push esi
call fcn.00468610
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x9631b4]
mov eax, dword [eax]
mov edx, dword [ecx + 4]
cmp eax, edx
mov dword [ebp - 0x14], eax
jne 0x4711ae
mov esi, dword [0x9631b4]
mov edi, dword [ebp - 0x20]
mov edx, dword [0x723030]
add esi, 0xc
mov dword [0x9631b4], esi
mov esi, dword [ebp - 0x24]
add edi, 0x18
add edx, 0x40
inc esi
mov dword [ebp - 0x20], edi
cmp esi, 0x12
mov dword [0x723030], edx
mov dword [ebp - 0x24], esi
jl 0x470fa2
mov eax, dword [ebp - 0x28]
mov esi, dword [0x723034]
mov ebx, dword [ebp - 0x18]
add eax, 0x9c
add esi, 0x10
inc ebx
cmp ebx, 0x2f
mov dword [ebp - 0x28], eax
mov dword [0x723034], esi
mov dword [ebp - 0x18], ebx
jl 0x470f5e
mov eax, dword [0xa4f008]
push 0
push eax
mov edx, dword [eax]
call dword [edx + 0x80]
mov dword [0x675a64], 0
pop esi
push 0xa23358
push 0xa23354
call fcn.00589ef0
add esp, 8
mov dword [0x675a58], 0x3ff
mov dword [0x675a60], 0x2ff
rdtsc
lea ebx, [0xa25910]
mov dword [ebx], eax
mov dword [ebx + 4], edx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x268]
mov eax, dword [esi + 0x26c]
or edx, eax
je 0x471cda
push esi
call fcn.00472160
jmp 0x471bee
mov al, byte [esi + 0x4a0]
test al, al
je 0x471be8
push esi
call fcn.00471d40
jmp 0x471bee