Function at 0x46cd03
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b47fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2e4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x84], 0x7ddc85f7
mov dword [ebp - 0x84], 4
jmp 0x46cd4b
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 7
jne 0x46cefe
push 3
lea ecx, [ebp - 0x210]
call fcn.0040a207
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0046c7c7
pop ecx
pop ecx
mov dword [ebp - 0xcc], 0xae2
mov dword [ebp - 0x180], 0xa888c4
cmp dword [ebp - 0xcc], 0xc5c
jle 0x46ce2b
and dword [ebp - 0xa8], 0
jmp 0x46cdb1
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x68d5
jge 0x46ce21
and dword [ebp - 0x58], 0
jmp 0x46cdca
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x2367
jge 0x46ce1f
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x58]
sar eax, cl
cdq
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
lea ecx, [ebp - 0x2b8]
call fcn.004019f8
pop ecx
pop ecx
mov ecx, eax
call fcn.00409fd4
push eax
call fcn.0049e427
pop ecx
lea ecx, [ebp - 0x2b8]
call fcn.00409fca
jmp 0x46cdc3
jmp 0x46cda4
push 0
push 0
call dword [0xaa1320]
and dword [ebp - 4], 0
cmp dword [ebp - 0xcc], 0x789
jge 0x46ce47
push dword [ebp - 0x180]
call fcn.0049e427
pop ecx
jmp 0x46ce63
or dword [ebp - 4], 0xffffffff
jmp 0x46ce6d
mov dword [ebp - 0x3c], 0
jmp 0x46ce7d
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x46ce93
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x154], 0xc3ad3b31
jmp 0x46ce76
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x154], 0
jmp 0x46cec1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x154], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x154], 3
jge 0x46ceee
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x154]
lea ecx, [ebp - 0x210]
call fcn.0040a2f5
or dword [eax], 0xffffffff
jmp 0x46cea6
lea ecx, [ebp - 0x210]
call fcn.0040a2d9
jmp 0x46cd3e
mov eax, dword [0xa9f4e0]
and eax, 1
jne 0x46cf2a
mov eax, dword [0xa9f4e0]
or eax, 1
mov dword [0xa9f4e0], eax
mov ecx, 0xa9f4e4
call fcn.0046f104
push 0x4b4ea6
call fcn.0049e3fd
pop ecx
mov ecx, dword [ebp + 0xc]
call fcn.0046b4b3
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x260], 0xa53d06ce
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x29]
push eax
call fcn.0045afca
pop ecx
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x46cf61
call fcn.0045aff1
mov dword [ebp - 0x12c], 0x7cc4
mov dword [ebp - 0x1e4], 0xa88900
cmp dword [ebp - 0x12c], 0x7e83
jle 0x46cfe9
and dword [ebp - 0x5c], 0
jmp 0x46cf8e
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x1311
jge 0x46cfe9
and dword [ebp - 0x9c], 0
jmp 0x46cfad
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x776f
jge 0x46cfe7
mov eax, dword [ebp - 0x5c]
xor eax, dword [ebp - 0x9c]
cdq
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], edx
push dword [ebp - 0x194]
push dword [ebp - 0x198]
mov ecx, 0xa9e1d8
call fcn.00409fdf
jmp 0x46cfa0
jmp 0x46cf87
cmp dword [ebp - 0xb0], 3
jae 0x46d05e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x240]
push eax
mov ecx, 0xa9f4e4
call fcn.0040a3b0
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x25c]
push eax
mov ecx, 0xa9f4e4
call fcn.0040a3c7
mov ecx, eax
call fcn.0040a3e2
movzx eax, al
test eax, eax
je 0x46d05e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1dc], eax
lea eax, [ebp - 0x1dc]
push eax
mov ecx, 0xa9f4e4
call fcn.0046f136
push eax
mov ecx, dword [ebp + 8]
call fcn.0046f07b
mov eax, dword [ebp + 8]
jmp 0x46dfd6
mov dword [ebp - 4], 2
cmp dword [ebp - 0x12c], 0x7b5b
jge 0x46d081
mov edx, dword [ebp - 0x1e4]
mov ecx, 0xa9e1d8
call fcn.0040c865
jmp 0x46d09d
or dword [ebp - 4], 0xffffffff
jmp 0x46d0a7
lea eax, [ebp - 0x2dc]
push eax
call fcn.00465090
pop ecx
mov esi, eax
lea edi, [ebp - 0x28c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x28c]
lea edi, [ebp - 0x298]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x28], 0xfff7
mov dword [ebp - 0x18], 0xad59e57a
push 2
lea ecx, [ebp - 0xc8]
call fcn.0040a207
mov dword [ebp - 0x64], 0
jmp 0x46d0f9
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x46d115
push dword [ebp - 0x64]
lea ecx, [ebp - 0xc8]
call fcn.0040a2f5
mov dword [eax], 0x29bf39
jmp 0x46d0f2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0
jmp 0x46d12b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jg 0x46d64b
push 2
lea ecx, [ebp - 0x138]
call fcn.0040a207
mov dword [ebp - 0x20], 0xfffffff9
push 1
lea ecx, [ebp - 0x21c]
call fcn.0040a207
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x44], 0
jmp 0x46d170
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x46d18c
push dword [ebp - 0x44]
lea ecx, [ebp - 0x138]
call fcn.0040a2f5
mov dword [eax], 0xfa2ef703
jmp 0x46d169
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040400c
pop ecx
pop ecx
mov dword [ebp - 0x18], 0
jmp 0x46d1ae
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jg 0x46d630
mov dword [ebp - 0x14], 0x719d8726
push 1
lea ecx, [ebp - 0x1f8]
call fcn.0040a207
mov dword [ebp - 0x1cc], 0x34d7aeb8
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00404054
pop ecx
pop ecx
cmp dword [ebp - 0x18], 0
je 0x46d325
push 0
lea ecx, [ebp - 0x138]
call fcn.0040a2f5
cmp dword [eax], 0
je 0x46d213
mov dword [ebp - 0x128], 1
jmp 0x46d21a
and dword [ebp - 0x128], 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.0040a2f5
mov esi, dword [ebp - 0x128]
add esi, dword [eax]
push 1
lea ecx, [ebp - 0xc8]
call fcn.0040a2f5
add esi, dword [eax]
cmp esi, 0x9fa18394
jne 0x46d252
mov dword [ebp - 0x100], 1
jmp 0x46d259
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x100]
cmp eax, 0x6d70
jge 0x46d275
mov dword [ebp - 0xd8], 1
jmp 0x46d27c
and dword [ebp - 0xd8], 0
push 0
lea ecx, [ebp - 0x138]
call fcn.0040a2f5
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xd8]
jge 0x46d2a5
mov dword [ebp - 0x118], 1
jmp 0x46d2ac
and dword [ebp - 0x118], 0
push 0
lea ecx, [ebp - 0x138]
call fcn.0040a2f5
mov esi, dword [ebp - 0x118]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x21c]
call fcn.0040a2f5
cmp esi, dword [eax]
je 0x46d2de
mov dword [ebp - 0xe0], 1
jmp 0x46d2e5
and dword [ebp - 0xe0], 0
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0xe0]
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
call fcn.0040a2f5
cmp esi, dword [eax]
je 0x46d30c
mov dword [ebp - 0x1ec], 1
jmp 0x46d313
and dword [ebp - 0x1ec], 0
cmp dword [ebp - 0x18], 0
je 0x46d325
mov dword [ebp - 0x178], 1
jmp 0x46d32c
and dword [ebp - 0x178], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
call fcn.0040a2f5
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
call fcn.0040a2f5
mov dword [ebp - 0x108], eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
call fcn.0040a2f5
mov ecx, dword [ebp - 0x108]
mov eax, dword [eax]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1f8]
call fcn.0040a2f5
mov ecx, dword [ebp - 0x108]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jge 0x46d38b
mov dword [ebp - 0xe8], 1
jmp 0x46d392
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0
jge 0x46d3a7
mov dword [ebp - 0x11c], 1
jmp 0x46d3ae
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x11c], eax
jge 0x46d3d7
push 0
lea ecx, [ebp - 0x138]
call fcn.0040a2f5
cmp dword [eax], 0
je 0x46d3d7
mov dword [ebp - 0xf0], 1
jmp 0x46d3de
and dword [ebp - 0xf0], 0
imul eax, dword [ebp - 0xf0], 0x5558
test eax, eax
je 0x46d433
mov dword [ebp - 0x20], 0
jmp 0x46d3fc
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 7
jge 0x46d42e
mov dword [ebp - 0x14], 0
jmp 0x46d412
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x46d42c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.0046c80f
pop ecx
pop ecx
jmp 0x46d40b
jmp 0x46d3f5
jmp 0x46d5e5
mov dword [ebp - 0x15c], 0x458a
mov dword [ebp - 0x20], 0
jmp 0x46d44d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3a
je 0x46d5cb
mov dword [ebp - 0x148], 0x4457
mov dword [ebp - 0x110], 0x3c70
mov dword [ebp - 0x158], 0xa88960
cmp dword [ebp - 0x110], 0x3e9e
jle 0x46d542
and dword [ebp - 0x8c], 0
jmp 0x46d49b
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x5a19
jge 0x46d542
and dword [ebp - 0x6c], 0
jmp 0x46d4b8
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x3a61
jge 0x46d53d
and dword [ebp - 0xac], 0
jmp 0x46d4d7
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x3d4
jge 0x46d538
and dword [ebp - 0x74], 0
jmp 0x46d4f0
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x7408
jge 0x46d536
mov eax, dword [ebp - 0x8c]
cdq
idiv dword [ebp - 0x6c]
mov eax, edx
cdq
idiv dword [ebp - 0xac]
xor edx, dword [ebp - 0x74]
mov eax, edx
cdq
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], edx
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
mov ecx, 0xa9e1d8
call fcn.00409fdf
jmp 0x46d4e9
jmp 0x46d4ca
jmp 0x46d4b1
jmp 0x46d48e
mov dword [ebp - 0x19c], 0xfe298319
mov dword [ebp - 4], 4
cmp dword [ebp - 0x110], 0x3b0a
jge 0x46d56f
mov edx, dword [ebp - 0x158]
mov ecx, 0xa9e1d8
call fcn.0040c865
jmp 0x46d58b
or dword [ebp - 4], 0xffffffff
jmp 0x46d595
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.0046c938
add esp, 0xc
push 1
lea ecx, [ebp - 0xc8]
call fcn.0040a2f5
cmp dword [eax], 0
je 0x46d5c6
jmp 0x46d5cb
jmp 0x46d446
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1cc]
push eax
call fcn.0046c968
add esp, 0xc
mov dword [ebp - 0x14], 0xfffffffd
jmp 0x46d5f5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x46d620
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00403f7f
pop ecx
pop ecx
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x46d61e
call fcn.0046c996
jmp 0x46d5ee
lea ecx, [ebp - 0x1f8]
call fcn.0040a2d9
jmp 0x46d1a7
lea ecx, [ebp - 0x21c]
call fcn.0040a2d9
lea ecx, [ebp - 0x138]
call fcn.0040a2d9
jmp 0x46d124
lea ecx, [ebp - 0xc8]
call fcn.0040a2d9
mov ecx, dword [ebp + 0xc]
call fcn.0046b707
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x1a8]
push dword [ebp - 0xb0]
lea eax, [ebp - 0x280]
push eax
call fcn.0046b990
add esp, 0x10
mov dword [ebp - 0x104], 0x2468
mov dword [ebp - 0x1c0], 0xa889e0
cmp dword [ebp - 0x104], 0x2484
jle 0x46d743
and dword [ebp - 0x94], 0
jmp 0x46d6c0
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x2e14
jge 0x46d743
and dword [ebp - 0x7c], 0
jmp 0x46d6d9
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x860
jge 0x46d73e
and dword [ebp - 0xa4], 0
jmp 0x46d6f8
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x5cb4
jge 0x46d73c
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x7c]
sar eax, cl
mov ecx, dword [ebp - 0xa4]
sar eax, cl
cdq
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], edx
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b0]
mov ecx, 0xa9e1d8
call fcn.00409fdf
jmp 0x46d6eb
jmp 0x46d6d2
jmp 0x46d6b3
mov dword [ebp - 0x1c], 0xfe0a8eac
mov dword [ebp - 0x80], 0x6979f9f4
mov dword [ebp - 0xdc], 3
push 3
lea ecx, [ebp - 0x254]
call fcn.0040a207
mov dword [ebp - 0xf8], 0x1a34
mov dword [ebp - 0x16c], 0xa88a30
cmp dword [ebp - 0xf8], 0x1ba1
jle 0x46d7fd
and dword [ebp - 0x54], 0
jmp 0x46d795
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x339a
jge 0x46d7fd
and dword [ebp - 0x50], 0
jmp 0x46d7ab
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x14ea
jge 0x46d7fb
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x50]
cdq
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], edx
push dword [ebp - 0x1b8]
push dword [ebp - 0x1bc]
lea ecx, [ebp - 0x2d0]
call fcn.004019f8
pop ecx
pop ecx
mov ecx, eax
call fcn.00409fd4
push eax
call fcn.0049e427
pop ecx
lea ecx, [ebp - 0x2d0]
call fcn.00409fca
jmp 0x46d7a4
jmp 0x46d78e
mov dword [ebp - 4], 6
cmp dword [ebp - 0xf8], 0x16bb
jge 0x46d81c
push dword [ebp - 0x16c]
call fcn.0049e427
pop ecx
jmp 0x46d838
or dword [ebp - 4], 0xffffffff
jmp 0x46d842
mov dword [ebp - 0x38], 0
jmp 0x46d852
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x46d868
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0xbc], 0xdd688769
jmp 0x46d84b
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0045b1f3
pop ecx
pop ecx
mov dword [ebp - 0x1c], 0
jmp 0x46d88a
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffffd
jg 0x46db43
push 1
lea ecx, [ebp - 0x204]
call fcn.0040a207
mov dword [ebp - 0x40], 0
jmp 0x46d8b1
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x46d8c7
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x124], 0x8ef6b8f
jmp 0x46d8aa
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0045b23b
pop ecx
pop ecx
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x124], 0
jmp 0x46d907
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x124]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x124], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x124], 2
jg 0x46db33
mov dword [ebp - 0x24], 0xf30836b1
mov dword [ebp - 0x78], 0xfffffffa
mov dword [ebp - 0x248], 0xfffffffd
mov dword [ebp - 0x24], 0
jmp 0x46d943
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x46db2e
mov dword [ebp - 0x60], 0xa61eefb6
mov dword [ebp - 0x60], 0
jmp 0x46d964
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jg 0x46db29
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0xbc], 0
je 0x46d9a2
mov dword [ebp - 0x114], 9
cmp dword [ebp - 0x24], 0
je 0x46d990
jmp 0x46db29
mov eax, dword [ebp - 0x114]
dec eax
mov dword [ebp - 0x114], eax
jmp 0x46db24
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x46d9b3
call fcn.0046c9a1
mov dword [ebp - 0xd0], 0x4bba
mov dword [ebp - 0x174], 0xa88a74
cmp dword [ebp - 0xd0], 0x4f1d
jle 0x46da6c
and dword [ebp - 0x70], 0
jmp 0x46d9e4
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xd74
jge 0x46da6c
and dword [ebp - 0x68], 0
jmp 0x46d9fa
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x7ab4
jge 0x46da67
and dword [ebp - 0x4c], 0
jmp 0x46da10
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xf8c
jge 0x46da65
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x4c]
sar eax, cl
and eax, dword [ebp - 0x70]
cdq
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], edx
push dword [ebp - 0x1c4]
push dword [ebp - 0x1c8]
lea ecx, [ebp - 0x2f4]
call fcn.004019f8
pop ecx
pop ecx
mov ecx, eax
call fcn.00409fd4
push eax
call fcn.0049e427
pop ecx
lea ecx, [ebp - 0x2f4]
call fcn.00409fca
jmp 0x46da09
jmp 0x46d9f3
jmp 0x46d9dd
mov dword [ebp - 0x78], 2
jmp 0x46da7c
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jl 0x46dadf
mov dword [ebp - 0x1e0], 9
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xbc]
imul eax, dword [ebp - 0x1e0]
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0xbc], 0
je 0x46dab8
mov eax, dword [ebp - 0x24]
cmp dword [ebp + eax*4 - 0xbc], 0
push 0
lea ecx, [ebp - 0x204]
call fcn.0040a2f5
mov dword [eax], 0x9c9d9403
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x124], 0
je 0x46dadd
jmp 0x46da75
jmp 0x46da75
mov dword [ebp - 4], 8
cmp dword [ebp - 0xd0], 0x4ac9
jge 0x46dafe
push dword [ebp - 0x174]
call fcn.0049e427
pop ecx
jmp 0x46db1a
or dword [ebp - 4], 0xffffffff
jmp 0x46db24
jmp 0x46d95d
jmp 0x46d93c
jmp 0x46d8ec
lea ecx, [ebp - 0x204]
call fcn.0040a2d9
jmp 0x46d883
cmp dword [ebp - 0x80], 0
jne 0x46db86
cmp dword [ebp - 0x1c], 0xffffffff
jb 0x46db61
mov eax, 0x4463
test eax, eax
jne 0x46db61
and dword [ebp - 0x1b4], 0
jmp 0x46db6b
mov dword [ebp - 0x1b4], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xbc]
cmp dword [ebp - 0x1c], eax
jg 0x46db86
and dword [ebp - 0xd4], 0
jmp 0x46db90
mov dword [ebp - 0xd4], 1
cmp dword [ebp - 0xd4], 0x40190438
jle 0x46dba8
mov dword [ebp - 0x17c], 1
jmp 0x46dbaf
and dword [ebp - 0x17c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xbc]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x220], eax
push 3
pop eax
imul eax, eax, 0x67d6
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xbc]
imul eax, dword [ebp - 0x1c]
imul eax, eax, 0xffff
cmp eax, 0xffffffff
je 0x46dc0e
mov dword [ebp - 0x1d8], 1
jmp 0x46dc15
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x268], eax
mov eax, 0xa3a4
cmp eax, 0xe851
jg 0x46dc39
mov dword [ebp - 0x184], 1
jmp 0x46dc40
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x258], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xdc]
cmp dword [ebp + eax - 0xbc], ecx
jge 0x46dc6a
mov dword [ebp - 0xe4], 1
jmp 0x46dc71
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0xeb13
jg 0x46dc89
mov dword [ebp - 0xec], 1
jmp 0x46dc90
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0xec], eax
jle 0x46dca7
mov dword [ebp - 0xf4], 1
jmp 0x46dcae
and dword [ebp - 0xf4], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xbc]
cmp eax, dword [ebp - 0xf4]
je 0x46dcce
mov dword [ebp - 0xfc], 1
jmp 0x46dcd5
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x254]
call fcn.0040a2d9
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x104], 0x21e3
jge 0x46dd0c
mov edx, dword [ebp - 0x1c0]
mov ecx, 0xa9e1d8
call fcn.0040c865
jmp 0x46dd28
or dword [ebp - 4], 0xffffffff
jmp 0x46dd32
cmp dword [ebp - 0xb0], 3
jae 0x46df43
mov dword [ebp - 0x10c], 0x257d
mov dword [ebp - 0x144], 0xa88a94
cmp dword [ebp - 0x10c], 0x279c
jle 0x46de0e
and dword [ebp - 0x98], 0
jmp 0x46dd79
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x546c
jge 0x46de0e
and dword [ebp - 0x88], 0
jmp 0x46dd9f
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x46dc
jge 0x46de09
and dword [ebp - 0x90], 0
jmp 0x46ddc1
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x7061
jge 0x46de07
mov eax, dword [ebp - 0x88]
cdq
idiv dword [ebp - 0x90]
or edx, dword [ebp - 0x98]
mov eax, edx
cdq
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1d0], edx
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
mov ecx, 0xa9e1d8
call fcn.00409fdf
jmp 0x46ddb4
jmp 0x46dd92
jmp 0x46dd6c
mov dword [ebp - 0x190], 1
mov dword [ebp - 0x48], 0xd59e57ad
mov dword [ebp - 0x264], 0xfffffffe
mov dword [ebp - 0x224], 0x1b66bafc
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x230], 0xde9bf9f3
mov dword [ebp - 0x238], 0x815898f0
mov dword [ebp - 0x1e8], 0xfffd
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x48], 3
jmp 0x46de74
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 5
jge 0x46decc
mov dword [ebp - 0xa0], 0
jmp 0x46de93
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 2
jge 0x46deaf
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x2a0], 0
jmp 0x46de86
lea eax, [ebp - 0x1e8]
push eax
call fcn.00403f9e
pop ecx
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0046cb11
pop ecx
jmp 0x46de6d
mov dword [ebp - 4], 0xc
cmp dword [ebp - 0x10c], 0x2297
jge 0x46deef
mov edx, dword [ebp - 0x144]
mov ecx, 0xa9e1d8
call fcn.0040c865
jmp 0x46df0b
or dword [ebp - 4], 0xffffffff
jmp 0x46df15
push 0xa9f4e4
lea eax, [ebp + 0xc]
push eax
push 0x711c
push 0x257e
push 0
push 0x33b8
lea eax, [ebp - 0x280]
push eax
push 0x43a4
call fcn.0046e3b3
add esp, 0x20
mov dword [ebp - 0x34], 0x75dcec3d
mov dword [ebp - 0x140], 0x3dcdf5ef
mov dword [ebp - 0x160], 0x5954e3f1
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x34], 0
jmp 0x46df78
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1b
jle 0x46dfb2
mov dword [ebp - 0x168], 0x27ca
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0046cb31
add esp, 0x14
jmp 0x46df71
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x280]
push eax
mov ecx, dword [ebp + 8]
call fcn.00464a00
lea ecx, [ebp - 0x280]
call fcn.0040a1b7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret