Function at 0x470950
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xfffffffffffffffe
push 0x4844c0
push 0x408890
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x486534]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ecx, ecx
xor esi, esi
mov dword [ebp + 0x74], esi
mov dword [ebp - 4], ecx
mov edi, 7
mov dword [ebp + 0x1c], edi
mov dword [ebp - 0x3c], ecx
cmp ecx, 0x2b
jge 0x470a11
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x4709ca
sub edi, 1
mov dword [ebp + 0x1c], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x47099a
mov dword [ebp - 4], 0xfffffffe
xor edi, edi
lea ebx, [ebx]
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, edi
sub eax, edx
cmp eax, 1
jne 0x470a39
and esi, edi
jmp 0x470a4f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp + 0x74], esi
add edi, 1
cmp edi, 6
jl 0x470a20
xor edi, edi
lea esp, [esp]
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x470a79
and esi, edi
jmp 0x470a8f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp + 0x74], esi
add edi, 1
cmp edi, 4
jl 0x470a60
mov dword [ebp - 4], 1
mov edi, 7
mov dword [ebp + 0x64], edi
xor ecx, ecx
mov dword [ebp + 0x14], ecx
cmp ecx, 0x1b
jge 0x470b22
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x470adb
sub edi, 1
mov dword [ebp + 0x64], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x470aab
mov dword [ebp - 4], 0xfffffffe
xor edi, edi
jmp 0x470b30
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, edi
sub eax, edx
cmp eax, 1
jne 0x470b49
and esi, edi
jmp 0x470b5f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp + 0x74], esi
add edi, 1
cmp edi, 2
jl 0x470b30
xor ecx, ecx
lea esp, [esp]
xor esi, ecx
mov dword [ebp + 0x74], esi
jge 0x470b7c
neg esi
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x470ba3
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
cmp ecx, 0xc
jl 0x470b70
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp + 0x5c], ecx
cmp ecx, 2
jge 0x470c00
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x470bcf
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x470bf8
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x470bfb
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x470bb4
mov dword [ebp - 4], 0xfffffffe
call fcn.00470cac
xor eax, eax
mov edi, edi
mov ecx, eax
not ecx
xor esi, ecx
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 5
jl 0x470c10
cmp esi, 0xffff0001
jge 0x470c2f
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x470c59
mov esi, 0xb
mov dword [ebp + 0x74], esi
mov dword [ebp - 4], 3
mov edi, 7
mov dword [ebp - 0x2c], edi
xor ecx, ecx
mov dword [ebp + 0x54], ecx
cmp ecx, 0xf
jge 0x470cee
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x470c9a
sub edi, 1
mov dword [ebp - 0x2c], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x470c6a
mov dword [ebp - 4], 0xfffffffe
cmp esi, 0xffff0001
jge 0x470d03
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x470d2d
mov esi, 0xb
mov dword [ebp + 0x74], esi
xor ecx, ecx
nop
xor esi, ecx
mov dword [ebp + 0x74], esi
jge 0x470d3c
neg esi
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x470d63
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
cmp ecx, 9
jl 0x470d30
xor eax, eax
lea ecx, [ecx]
mov ecx, eax
not ecx
xor esi, ecx
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 8
jl 0x470d70
cmp esi, 0xffff0001
jge 0x470d8f
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x470db6
lea esi, [eax + 0xb]
jmp 0x470dc1
cmp esi, 0xffff0001
jge 0x470dc4
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov edx, esi
sub edx, ecx
jne 0x470dee
mov esi, 0xb
mov dword [ebp + 0x74], esi
mov dword [ebp - 4], 4
xor ecx, ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 0x10
jge 0x470e43
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x470e12
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x470e3b
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x470e3e
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x470df7
mov dword [ebp - 4], 0xfffffffe
call fcn.00470e6d
xor edi, edi
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x470e77
and esi, edi
jmp 0x470e8d
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp + 0x74], esi
add edi, 1
cmp edi, 0xd
jl 0x470e51
xor eax, eax
lea ebx, [ebx]
and esi, eax
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 0xf
jl 0x470ea0
test esi, esi
jge 0x470ec0
mov eax, esi
neg eax
add eax, eax
add eax, eax
sub eax, esi
mov esi, eax
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd
mov edx, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub edx, ecx
jne 0x470ee7
call ebx
mov esi, eax
mov dword [ebp + 0x74], esi
xor ecx, ecx
lea esp, [esp]
xor esi, ecx
mov dword [ebp + 0x74], esi
jge 0x470efc
neg esi
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x470f23
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
cmp ecx, 3
jl 0x470ef0
xor eax, eax
lea ecx, [ecx]
and esi, eax
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 6
jl 0x470f30
test esi, esi
jge 0x470f50
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x470f71
call ebx
mov esi, eax
mov dword [ebp + 0x74], esi
mov dword [ebp - 4], 5
xor ecx, ecx
mov dword [ebp + 0x4c], ecx
cmp ecx, 4
jge 0x470fc6
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x470f95
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x470fbe
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x470fc1
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x470f7a
mov dword [ebp - 4], 0xfffffffe
call fcn.00471073
xor eax, eax
and esi, eax
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 4
jl 0x470fd4
test esi, esi
jge 0x470ff4
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x471015
call ebx
mov esi, eax
mov dword [ebp + 0x74], esi
mov dword [ebp - 4], 6
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
cmp ecx, 6
jge 0x47107d
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x471039
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x471062
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x471065
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x47101e
mov dword [ebp - 4], 0xfffffffe
call fcn.0047120f
xor eax, eax
jmp 0x471090
mov ecx, eax
not ecx
xor esi, ecx
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 6
jl 0x471090
cmp esi, 0xffff0001
jge 0x4710af
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x4710d9
mov esi, 0xb
mov dword [ebp + 0x74], esi
xor eax, eax
jmp 0x4710e0
and esi, eax
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 2
jl 0x4710e0
test esi, esi
jge 0x471100
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
sub esi, eax
jne 0x47111d
call ebx
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x74], 0
mov esi, 0x11
mov dword [ebp + 0x74], esi
nop
nop
nop
xor eax, eax
mov ecx, eax
not ecx
xor esi, ecx
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 5
jl 0x471131
cmp esi, 0xffff0001
jge 0x471150
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x47117a
mov esi, 0xb
mov dword [ebp + 0x74], esi
not esi
mov dword [ebp + 0x74], esi
cmp esi, 0xffff0001
jge 0x47118d
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov edx, esi
sub edx, ecx
jne 0x4711b7
mov esi, 0xb
mov dword [ebp + 0x74], esi
mov dword [ebp - 4], 7
mov edi, 7
mov dword [ebp + 0x44], edi
xor ecx, ecx
mov dword [ebp + 4], ecx
test ecx, ecx
jge 0x471219
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x4711f7
sub edi, 1
mov dword [ebp + 0x44], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x4711c8
mov dword [ebp - 4], 0xfffffffe
jmp 0x471267
xor ecx, ecx
lea esp, [esp]
xor esi, ecx
mov dword [ebp + 0x74], esi
jge 0x47127c
neg esi
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x4712a3
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
cmp ecx, 3
jl 0x471270
test esi, esi
jge 0x4712be
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x4712df
call ebx
mov esi, eax
mov dword [ebp + 0x74], esi
xor eax, eax
mov edx, eax
imul esi, edx
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 3
jl 0x4712e1
test esi, esi
jle 0x4712fb
lea esi, [esi + esi*4]
mov dword [ebp + 0x74], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x47131a
mov esi, 0x11
mov dword [ebp + 0x74], esi
nop
nop
nop
test esi, esi
jle 0x471327
lea esi, [esi + esi*4]
mov dword [ebp + 0x74], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, esi
sub eax, edx
jne 0x471346
mov esi, 0x11
mov dword [ebp + 0x74], esi
nop
nop
nop
xor eax, eax
jmp 0x471350
and esi, eax
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 3
jl 0x471350
test esi, esi
jge 0x471370
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x471391
call ebx
mov esi, eax
mov dword [ebp + 0x74], esi
xor eax, eax
and esi, eax
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 2
jl 0x471393
test esi, esi
jge 0x4713b3
mov edx, esi
neg edx
add edx, edx
add edx, edx
sub edx, esi
mov esi, edx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x4713d4
call ebx
mov esi, eax
mov dword [ebp + 0x74], esi
xor ecx, ecx
xor esi, ecx
mov dword [ebp + 0x74], esi
jge 0x4713e2
neg esi
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x471409
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
cmp ecx, 4
jl 0x4713d6
xor ecx, ecx
xor esi, ecx
mov dword [ebp + 0x74], esi
jge 0x47141f
neg esi
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x471446
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
cmp ecx, 4
jl 0x471413
test esi, esi
jge 0x471461
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x471482
call ebx
mov esi, eax
mov dword [ebp + 0x74], esi
xor ecx, ecx
xor esi, ecx
mov dword [ebp + 0x74], esi
jge 0x471490
neg esi
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x4714b7
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
cmp ecx, 2
jl 0x471484
mov dword [ebp - 4], 8
mov edi, 7
mov dword [ebp + 0x3c], edi
xor ecx, ecx
mov dword [ebp - 0x34], ecx
cmp ecx, 3
jge 0x471547
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x471500
sub edi, 1
mov dword [ebp + 0x3c], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x4714d0
mov dword [ebp - 4], 0xfffffffe
xor edi, edi
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, edi
sub eax, edx
cmp eax, 1
jne 0x471569
and esi, edi
jmp 0x47157f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp + 0x74], esi
add edi, 1
cmp edi, 4
jl 0x471550
xor eax, eax
lea esp, [esp]
mov ecx, eax
not ecx
xor esi, ecx
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 4
jl 0x471590
cmp esi, 0xffff0001
jge 0x4715af
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x4715d9
mov esi, 0xb
mov dword [ebp + 0x74], esi
xor edi, edi
jmp 0x4715e0
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x4715f9
and esi, edi
jmp 0x47160f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp + 0x74], esi
add edi, 1
cmp edi, 3
jl 0x4715e0
mov dword [ebp - 4], 9
xor ecx, ecx
mov dword [ebp + 0x34], ecx
test ecx, ecx
jge 0x47166e
mov eax, esi
cdq
sub eax, edx
sar eax, 1
and eax, 0x80000001
jns 0x47163d
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x471666
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x471669
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x471623
mov dword [ebp - 4], 0xfffffffe
call fcn.004716cd
mov dword [ebp - 4], 0xa
mov edi, 7
mov dword [ebp - 0x1c], edi
xor ecx, ecx
mov dword [ebp + 0x2c], ecx
cmp ecx, 4
jge 0x47170e
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x4716bb
sub edi, 1
mov dword [ebp - 0x1c], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x47168b
mov dword [ebp - 4], 0xfffffffe
xor esi, esi
mov dword [ebp + 0x74], esi
jge 0x47172b
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x471750
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
mov dword [ebp + 0x74], esi
mov dword [ebp - 4], 0xb
mov edi, 7
mov dword [ebp - 0x44], edi
xor ecx, ecx
mov dword [ebp + 0x24], ecx
cmp ecx, 4
jge 0x4717d8
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x471791
sub edi, 1
mov dword [ebp - 0x44], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x471761
mov dword [ebp - 4], 0xfffffffe
xor edi, edi
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, edi
sub eax, edx
cmp eax, 1
jne 0x4717fa
and esi, edi
jmp 0x471810
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp + 0x74], esi
add edi, 1
cmp edi, 4
jl 0x4717e1
mov dword [ebp - 4], 0xc
mov edi, 7
mov dword [ebp - 0x24], edi
xor ecx, ecx
mov dword [ebp + 0x70], ecx
cmp ecx, 1
jge 0x4718a3
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x47185c
sub edi, 1
mov dword [ebp - 0x24], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x47182c
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 0xd
mov edi, 7
mov dword [ebp + 0x6c], edi
xor ecx, ecx
mov dword [ebp + 0x68], ecx
cmp ecx, 3
jge 0x471932
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x4718eb
sub edi, 1
mov dword [ebp + 0x6c], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x4718bb
mov dword [ebp - 4], 0xfffffffe
test esi, esi
jle 0x471943
lea esi, [esi + esi*4]
mov dword [ebp + 0x74], esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, esi
sub eax, edx
jne 0x471962
mov esi, 0x11
mov dword [ebp + 0x74], esi
nop
nop
nop
xor eax, eax
and esi, eax
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 2
jl 0x471967
test esi, esi
jge 0x471987
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
sub esi, eax
jne 0x4719aa
call edi
mov dword [ebp + 0x74], eax
xor esi, esi
mov dword [ebp + 0x74], esi
jge 0x4719c0
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x4719e1
call edi
mov esi, eax
mov dword [ebp + 0x74], esi
cmp esi, 0xffff0001
jge 0x4719ef
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x471a16
lea esi, [eax + 0xb]
jmp 0x471a26
test esi, esi
jge 0x471a29
mov ecx, esi
neg ecx
add ecx, ecx
add ecx, ecx
sub ecx, esi
mov esi, ecx
mov dword [ebp + 0x74], esi
mov eax, 0x4ec4ec4f
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xd
mov ecx, esi
sub ecx, eax
jne 0x471a4a
call edi
mov esi, eax
mov dword [ebp + 0x74], esi
mov dword [ebp - 4], 0xe
mov edi, 7
mov dword [ebp + 0x60], edi
xor ecx, ecx
mov dword [ebp + 0x58], ecx
cmp ecx, 4
jge 0x471ad2
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x471a8b
sub edi, 1
mov dword [ebp + 0x60], edi
mov eax, esi
cdq
idiv edi
mov esi, eax
mov dword [ebp + 0x74], esi
add ecx, 1
jmp 0x471a5b
mov dword [ebp - 4], 0xfffffffe
cmp esi, 0xffff0001
jge 0x471ae7
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x471b11
mov esi, 0xb
mov dword [ebp + 0x74], esi
xor eax, eax
mov ecx, eax
not ecx
xor esi, ecx
mov dword [ebp + 0x74], esi
add eax, 1
cmp eax, 2
jl 0x471b13
cmp esi, 0xffff0001
jge 0x471b32
lea esi, [esi + esi*2]
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x471b5c
mov esi, 0xb
mov dword [ebp + 0x74], esi
xor ecx, ecx
mov edi, edi
xor esi, ecx
mov dword [ebp + 0x74], esi
jge 0x471b6c
neg esi
mov dword [ebp + 0x74], esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, esi
sub eax, edx
jne 0x471b93
xor esi, esi
mov dword [ebp + 0x74], esi
add ecx, 1
cmp ecx, 3
jl 0x471b60
xor edi, edi
lea ecx, [ecx]
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x471bb9
and esi, edi
jmp 0x471bcf
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
mov dword [ebp + 0x74], esi
add edi, 1
cmp edi, 2
jl 0x471ba0
mov dword [ebp - 4], 0xf
mov edi, 7
mov dword [ebp + 0x50], edi
xor ecx, ecx
mov dword [ebp + 0x48], ecx
cmp ecx, 2
jge 0x471c62
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
sub eax, edx
jne 0x471c1b
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 0x10
mov edi, 7
mov dword [ebp + 0x40], edi
xor ecx, ecx
mov dword [ebp + 0x38], ecx
cmp ecx, 3
jge 0x471cf1