Function at 0x10045de1
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f1fd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x29c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10045ef6
lea eax, [ebp + 0x24]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x190]
movzx eax, byte [eax]
test eax, eax
je 0x10045e5a
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x184]
mov dword [eax], 0xd329b3a0
jmp 0x10045ef1
mov dword [ebp - 0x40], 0x97f6af11
mov dword [ebp - 0x130], 0x6874be76
mov dword [ebp - 0x104], 0x7d19fa5
mov dword [ebp - 0x18c], 5
mov dword [ebp - 0x40], 0
jmp 0x10045e8f
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x1a
jl 0x10045ef1
mov dword [ebp - 0x17c], 0
lea eax, [ebp - 0x18c]
push eax
push 0x6341
push 0x308
lea eax, [ebp - 0x40]
push eax
push 0x25e1
lea eax, [ebp - 0x130]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x17c]
push eax
push 1
push 0x6838
push 0x8f0
call fcn.1004408f
add esp, 0x30
cmp dword [ebp - 0x104], 0
je 0x10045eef
jmp 0x10045e88
jmp 0x10045e88
jmp 0x10046c96
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x15c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x138], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x138]
movzx eax, byte [eax]
test eax, eax
je 0x10046c33
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x114], eax
mov eax, dword [0x10619964]
and eax, 1
jne 0x10045f7d
mov eax, dword [0x10619964]
or eax, 1
mov dword [0x10619964], eax
and dword [ebp - 4], 0
mov ecx, 0x10619924
call fcn.1004cd6d
push 0x1006f75f
call fcn.10055db5
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], 0x86bd085c
mov dword [ebp - 0xf0], 0xe6bb2f14
mov dword [ebp - 0xd8], 0x68fdadf8
mov dword [ebp - 0x148], 0xffffffff
mov dword [ebp - 0x58], 0
jmp 0x10045fb2
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x10045fc8
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x1cc], 0xffffffff
jmp 0x10045fab
mov byte [ebp - 0x25], 0
push 0
push 0x73e8
lea eax, [ebp - 0x25]
push eax
call fcn.1004808b
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0x1cc], ecx
cmp dword [ebp - 0xc8], 0
je 0x100460a5
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1cc], 0
je 0x1004604b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x80], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0x1cc], ecx
cmp dword [ebp - 0x80], 0
je 0x1004604b
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x1cc], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x24], 0
jge 0x1004607b
mov dword [ebp - 0x118], 1
jmp 0x10046082
and dword [ebp - 0x118], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1cc], 0
je 0x100460a5
push 4
pop eax
test eax, eax
je 0x100460a5
mov dword [ebp - 0x88], 1
jmp 0x100460ac
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0x9e22401d
jb 0x100460c4
mov dword [ebp - 0xd0], 1
jmp 0x100460cb
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 1
jg 0x100460e0
mov dword [ebp - 0x90], 1
jmp 0x100460e7
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0xdbc9
jne 0x100460ff
mov dword [ebp - 0x110], 1
jmp 0x10046106
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x110], eax
jle 0x1004611d
mov dword [ebp - 0x98], 1
jmp 0x10046124
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
sub eax, 5
jne 0x1004614d
mov eax, 0xfff8
test eax, eax
jne 0x1004614d
and dword [ebp - 0xa0], 0
jmp 0x10046157
mov dword [ebp - 0xa0], 1
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call fcn.1004206a
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x150], 0xd6c05baf
mov dword [ebp - 0x180], 0
lea eax, [ebp - 0x180]
push eax
push 0
push 0x3fc1
push 0x162f
push 0x423d
push 1
push 0x67c2
lea eax, [ebp - 0x150]
push eax
push 0x3026
call fcn.10045c22
add esp, 0x24
cmp dword [ebp - 0x68], 3
jae 0x10046235
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x10619924
call fcn.1002193f
push eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x10619924
call fcn.10021956
mov ecx, eax
call fcn.10021745
movzx eax, al
test eax, eax
je 0x10046235
push 0
call fcn.100427f1
pop ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x158]
push eax
mov ecx, 0x10619924
call fcn.1004cdc1
push eax
mov ecx, dword [ebp - 0x114]
call fcn.1004cb97
jmp 0x10046c96
lea eax, [ebp - 0x294]
push eax
call fcn.1003fa6b
pop ecx
mov esi, eax
lea edi, [ebp - 0x268]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x268]
lea edi, [ebp - 0x280]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0x60], 0xfffffff9
mov dword [ebp - 0x5c], 0xeec2
push 3
lea ecx, [ebp - 0x1f8]
call fcn.10021765
mov dword [ebp - 4], 1
mov dword [ebp - 0x160], 0xffffffff
mov dword [ebp - 0x1c], 0
jmp 0x100462a2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x100462b8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1a8], 0x9c4d
jmp 0x1004629b
mov dword [ebp - 0x1c], 0
jmp 0x100462c8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x100462e4
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1f8]
call fcn.1002185c
mov dword [eax], 0xe13c9534
jmp 0x100462c1
push 0
push 0x2f76
lea eax, [ebp - 0x5c]
push eax
push 0x2b22
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xe0]
push eax
push 0x4bb9
push 0x61c9
call fcn.10045d67
add esp, 0x20
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1a8], 0
je 0x10046436
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1a8]
neg eax
cmp eax, 1
jg 0x10046344
mov dword [ebp - 0xf8], 1
jmp 0x1004634b
and dword [ebp - 0xf8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1a8]
cmp dword [ebp - 0xf8], eax
jne 0x1004636c
mov dword [ebp - 0xa8], 1
jmp 0x10046373
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
add eax, 8
cmp eax, dword [ebp - 0x5c]
jg 0x1004638d
mov dword [ebp - 0x188], 1
jmp 0x10046394
and dword [ebp - 0x188], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1a8]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x5c], 0xfffffff6
jne 0x100463c6
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x1a8], 0
je 0x100463c6
mov dword [ebp - 0x6c], 1
jmp 0x100463ca
and dword [ebp - 0x6c], 0
push 2
lea ecx, [ebp - 0x1f8]
call fcn.1002185c
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
cmp dword [ebp - 0x6c], 0
je 0x100463f7
mov eax, 0x3cc9d6c8
test eax, eax
je 0x100463f7
mov dword [ebp - 0xb0], 1
jmp 0x100463fe
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0xb0], eax
jg 0x10046418
mov dword [ebp - 0x108], 1
jmp 0x1004641f
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x108]
jge 0x10046436
mov dword [ebp - 0xb8], 1
jmp 0x1004643d
and dword [ebp - 0xb8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1a8]
cmp eax, dword [ebp - 0xb8]
jle 0x1004645e
mov dword [ebp - 0xe8], 1
jmp 0x10046465
and dword [ebp - 0xe8], 0
imul eax, dword [ebp - 0xe8], 0
mov dword [ebp - 0x60], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1a8]
mov dword [ebp - 0x160], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.100217e7
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call fcn.10042084
mov dword [ebp - 0x168], eax
push 2
lea ecx, [ebp - 0x214]
call fcn.10021765
mov dword [ebp - 4], 2
mov dword [ebp - 0x170], 3
mov dword [ebp - 0x54], 0
jmp 0x100464cf
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x100464eb
push dword [ebp - 0x54]
lea ecx, [ebp - 0x214]
call fcn.1002185c
mov dword [eax], 0x1713
jmp 0x100464c8
push 0x5109
push 0
lea eax, [ebp - 0x170]
push eax
call fcn.10043654
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.100217e7
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x168]
push dword [ebp - 0x68]
lea eax, [ebp - 0x25c]
push eax
call fcn.10042401
add esp, 0x10
mov dword [ebp - 4], 3
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
push 2
lea ecx, [ebp - 0x204]
call fcn.10021765
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c], 0x43250e6d
mov dword [ebp - 0x174], 0
push 0
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x23c]
push eax
push 0x5f5
call fcn.10046db0
add esp, 0x10
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1bc]
mov dword [ebp - 0xc0], eax
push 0
lea ecx, [ebp - 0x204]
call fcn.1002185c
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x174], eax
push 4
pop eax
shl eax, 1
imul eax, dword [ebp + eax - 0x1bc], 0xffff
test eax, eax
je 0x10046619
mov dword [ebp - 0x2c], 0xffffffee
jmp 0x100465fb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x17
jge 0x10046617
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10046615
push 0
call fcn.10049807
pop ecx
jmp 0x100465f4
jmp 0x10046676
push 3
lea ecx, [ebp - 0x1ec]
call fcn.10021765
mov byte [ebp - 4], 5
push 0x7266
push 0
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x244]
push eax
push 0x5a5f
call fcn.100447b4
add esp, 0x14
lea eax, [ebp - 0x1ec]
push eax
push 0
push 0x5c80
push 0x5726
call fcn.1004302c
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ec]
call fcn.100217e7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x204]
call fcn.100217e7
lea eax, [ebp - 0x68]
push eax
push 0x68a9
push 0
push 0x65f1
push dword [ebp - 0x38]
push 0x10619924
lea eax, [ebp - 0x25c]
push eax
call fcn.100437a7
add esp, 0x1c
mov dword [ebp - 0x34], 0x7dfa
mov dword [ebp - 0x14], 0xb871c7bf
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x100], 0x70ed
mov dword [ebp - 0x12c], 0x10008dd8
cmp dword [ebp - 0x100], 0x7382
jle 0x10046793
push 0
push 0x1335
call dword [sym.imp.GDI32.dll_CreateHatchBrush]
and dword [ebp - 0x48], 0
jmp 0x100466ff
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xe11
jge 0x10046793
and dword [ebp - 0x50], 0
jmp 0x10046719
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x4fb2
jge 0x1004678e
and dword [ebp - 0x4c], 0
jmp 0x1004672f
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x6be0
jge 0x1004678c
mov eax, dword [ebp - 0x48]
xor eax, dword [ebp - 0x50]
xor eax, dword [ebp - 0x4c]
cdq
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], edx
push dword [ebp - 0x194]
push dword [ebp - 0x198]
lea ecx, [ebp - 0x2ac]
call fcn.1000a76e
pop ecx
pop ecx
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
call fcn.100214f8
push eax
call fcn.10055ddf
pop ecx
lea ecx, [ebp - 0x2ac]
call fcn.100214ee
jmp 0x10046728
jmp 0x10046712
jmp 0x100466f8
mov dword [ebp - 0xdc], 0x3772679f
mov byte [ebp - 4], 6
cmp dword [ebp - 0x100], 0x6fd0
jge 0x100467b9
push dword [ebp - 0x12c]
call fcn.10055ddf
pop ecx
jmp 0x100467d5
mov dword [ebp - 4], 3
jmp 0x100467e5
mov dword [ebp - 0x144], 0x209d0817
mov dword [ebp - 0x220], 0xb7f4
push 1
push 0x42e6
lea eax, [ebp - 0x34]
push eax
push 0x2a82
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.100424bd
add esp, 0x18
cmp dword [ebp - 0x34], 0
jne 0x10046898
cmp dword [ebp - 0x14], 1
jge 0x1004682c
mov dword [ebp - 0x78], 1
jmp 0x10046830
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x78]
jl 0x10046848
push 0xfffffffffffffff6
pop eax
test eax, eax
je 0x10046848
mov dword [ebp - 0x7c], 1
jmp 0x1004684c
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x7c], eax
jl 0x10046863
cmp dword [ebp - 0x14], 0
jne 0x10046863
and dword [ebp - 0x84], 0
jmp 0x1004686d
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x84], eax
jl 0x10046884
mov dword [ebp - 0x134], 1
jmp 0x1004688b
and dword [ebp - 0x134], 0
mov eax, 0xbefa
test eax, eax
je 0x10046af1
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x70], 0x66fa41d4
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x13c], 0x453d1dd1
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x34]
jg 0x100468ce
mov dword [ebp - 0x8c], 1
jmp 0x100468d5
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x30]
jne 0x100468ef
mov dword [ebp - 0x94], 1
jmp 0x100468f6
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x94], eax
je 0x1004690d
mov dword [ebp - 0x9c], 1
jmp 0x10046914
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x18]
jle 0x1004692e
mov dword [ebp - 0xa4], 1
jmp 0x10046935
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xf62392e1
jb 0x1004694d
mov dword [ebp - 0xac], 1
jmp 0x10046954
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0x3dc2
je 0x1004696c
mov dword [ebp - 0xb4], 1
jmp 0x10046973
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0xea276555
jb 0x1004698b
mov dword [ebp - 0xbc], 1
jmp 0x10046992
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
jl 0x100469af
mov dword [ebp - 0xc4], 1
jmp 0x100469b6
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0xc4]
jle 0x100469cd
mov dword [ebp - 0xcc], 1
jmp 0x100469d4
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x70], 0xffffffff
jle 0x10046a01
mov dword [ebp - 0xd4], 1
jmp 0x10046a08
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xdc], eax
jl 0x10046a2b
mov dword [ebp - 0xe4], 1
jmp 0x10046a32
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
neg eax
add eax, dword [ebp - 0x18]
cmp eax, 1
jb 0x10046a4e
mov dword [ebp - 0xec], 1
jmp 0x10046a55
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
add eax, 0x98c3
cmp eax, dword [ebp - 0x18]
jne 0x10046a71
mov dword [ebp - 0xf4], 1
jmp 0x10046a78
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0xf4]
cmp eax, 0x48991cd3
jg 0x10046a9e
mov eax, 0xffff
test eax, eax
je 0x10046a9e
mov dword [ebp - 0xfc], 1
jmp 0x10046aa5
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x240], eax
push 8
pop eax
cmp eax, 0xffff
ja 0x10046ad9
mov dword [ebp - 0x10c], 1
jmp 0x10046ae0
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x144], eax
jmp 0x10046bff
mov dword [ebp - 0x1e0], 0xfffffffc
mov dword [ebp - 0x1dc], 0xfffffffc
mov dword [ebp - 0x1d8], 0xfffffffc
mov dword [ebp - 0x1d4], 0xfffffffc
lea ecx, [ebp - 0x61]
call fcn.10021871
push eax
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x288]
call fcn.10021874
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x274]
call fcn.100217c1
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], 0xa
jmp 0x10046b5f
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffffc
jle 0x10046bd4
mov dword [ebp - 0x14c], 0x11e3584f
cmp dword [ebp - 0x14c], 0
je 0x10046b7a
jmp 0x10046bd4
mov dword [ebp - 0x18], 0
jmp 0x10046b8a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x14
je 0x10046bd2
mov dword [ebp - 0x3c], 5
cmp dword [ebp - 0x3c], 0
je 0x10046b9f
jmp 0x10046bd2
mov dword [ebp - 0x3c], 0
jmp 0x10046baf
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jg 0x10046bd0
push 0x10b8
push 0xb9f
push 0x3291
push 0
call fcn.1004c4be
add esp, 0x10
jmp 0x10046ba8
jmp 0x10046b83
jmp 0x10046b58
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1d]
push eax
push 0
push 0x3e9d
push 0x5401
call fcn.10049993
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x274]
call fcn.100217e7
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x114]
call fcn.1004cb97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.100216e4
jmp 0x10046c96
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
jmp 0x10046c76
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
cmp dword [eax], 3
jge 0x10046c96
mov eax, dword [ebp - 0x44]
push dword [eax]
mov ecx, dword [ebp - 0x120]
call fcn.1002185c
mov dword [eax], 0x362d
jmp 0x10046c6b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret