Function at 0x1005f436
Capabilities:
Encrypt data using speck
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008dd8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3ec
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10060cd9
lea eax, [ebp + 0x18]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x198]
movzx eax, byte [eax]
test eax, eax
je 0x1005f4dc
mov eax, dword [ebp - 0x28c]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
movzx eax, byte [eax]
test eax, eax
je 0x1005f4d7
push 0x24e5
push 0x1acd
push 0x853
push 1
push 0x355f
push 0
call fcn.10060df5
add esp, 0x18
jmp 0x10060cd7
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x148], 0x77a0
mov dword [ebp - 0x1cc], 0x1000e238
cmp dword [ebp - 0x148], 0x7b33
jle 0x1005f5db
and dword [ebp - 0x4c], 0
jmp 0x1005f522
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x6b72
jge 0x1005f5db
and dword [ebp - 0x84], 0
jmp 0x1005f545
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x6a9e
jge 0x1005f5d6
and dword [ebp - 0xc0], 0
jmp 0x1005f56b
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x2f80
jge 0x1005f5d1
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0xc0]
xor eax, dword [ebp - 0x4c]
cdq
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1ec], edx
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
lea ecx, [ebp - 0x3e0]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x3e0]
call fcn.1002281d
jmp 0x1005f55e
jmp 0x1005f538
jmp 0x1005f51b
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x158], 0x452a
mov dword [ebp - 0x178], 0x1000e290
cmp dword [ebp - 0x158], 0x48dd
jle 0x1005f6b3
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
and dword [ebp - 0xa4], 0
jmp 0x1005f62e
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x1b03
jge 0x1005f6b3
and dword [ebp - 0x54], 0
jmp 0x1005f647
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x19b4
jge 0x1005f6ae
and dword [ebp - 0x8c], 0
jmp 0x1005f666
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x3802
jge 0x1005f6ac
mov eax, dword [ebp - 0xa4]
cdq
idiv dword [ebp - 0x54]
mov eax, edx
cdq
idiv dword [ebp - 0x8c]
mov eax, edx
cdq
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], edx
push dword [ebp - 0x220]
push dword [ebp - 0x224]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1005f659
jmp 0x1005f640
jmp 0x1005f621
mov dword [ebp - 0x14], 0xc9cc1417
cmp dword [ebp - 0x158], 0x42ce
jge 0x1005f6d6
mov edx, dword [ebp - 0x178]
mov ecx, 0x10092b78
call fcn.10025597
mov dword [ebp - 0xec], 0x6574b604
mov dword [ebp - 0x13c], 4
mov dword [ebp - 0xc4], 0x72ddb74a
push 4
lea ecx, [ebp - 0x154]
call fcn.10022b61
and dword [ebp - 4], 0
mov dword [ebp - 0x328], 0xfe737448
mov dword [ebp - 0x34], 0x5ec7e011
mov dword [ebp - 0x114], 0x2c82f3c0
mov dword [ebp - 0xcc], 0x9963
mov dword [ebp - 0x27c], 0x7f6f8f64
mov dword [ebp - 0x5c], 2
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x4d26
push 0x6535
push 0x2e3
lea eax, [ebp - 0x154]
push eax
call fcn.1005c190
add esp, 0x1c
mov dword [ebp - 0x10], 0
jmp 0x1005f771
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1005f787
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x230], 0x3396
jmp 0x1005f76a
mov dword [ebp - 0x10], 0
jmp 0x1005f797
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1005f7ad
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x10c], 8
jmp 0x1005f790
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
jne 0x1005f864
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x368], eax
push 1
lea ecx, [ebp - 0x154]
call fcn.10022bff
cmp dword [ebp - 0x27c], 0
je 0x1005f7fa
cmp dword [ebp - 0x5c], 0
je 0x1005f7fa
mov dword [ebp - 0xdc], 1
jmp 0x1005f801
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x114]
cmp eax, 0xae70
jne 0x1005f836
push 1
lea ecx, [ebp - 0x154]
call fcn.10022bff
cmp dword [eax], 0
je 0x1005f836
mov dword [ebp - 0x134], 1
jmp 0x1005f83d
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0xffffffff
jle 0x1005f852
mov dword [ebp - 0xe4], 1
jmp 0x1005f859
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0xe4], eax
jne 0x1005f876
cmp dword [ebp - 0x34], 0
je 0x1005f876
mov dword [ebp - 0x11c], 1
jmp 0x1005f87d
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xec], eax
jle 0x1005f8a0
mov dword [ebp - 0x144], 1
jmp 0x1005f8a7
and dword [ebp - 0x144], 0
push 3
lea ecx, [ebp - 0x154]
call fcn.10022bff
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [eax]
jl 0x1005f8ca
mov dword [ebp - 0xf4], 1
jmp 0x1005f8d1
and dword [ebp - 0xf4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x230]
cmp dword [ebp - 0xf4], eax
jg 0x1005f8f2
mov dword [ebp - 0x124], 1
jmp 0x1005f8f9
and dword [ebp - 0x124], 0
mov esi, dword [ebp - 0x34]
add esi, dword [ebp - 0x124]
sub esi, dword [ebp - 0x14]
push 2
lea ecx, [ebp - 0x154]
call fcn.10022bff
cmp esi, dword [eax]
jl 0x1005f926
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x230], 0
je 0x1005f936
xor eax, eax
je 0x1005f936
mov dword [ebp - 0xfc], 1
jmp 0x1005f93d
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xfc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x13c], eax
jne 0x1005f96f
mov dword [ebp - 0x104], 1
jmp 0x1005f976
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 3
jbe 0x1005f98b
mov dword [ebp - 0x12c], 1
jmp 0x1005f992
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x5c]
jg 0x1005f9bc
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x230], 0
je 0x1005f9bc
mov dword [ebp - 0x180], 1
jmp 0x1005f9c3
and dword [ebp - 0x180], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x10c]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x14]
neg eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x10c], 0
je 0x1005fa15
mov dword [ebp - 0xd4], 1
jmp 0x1005fa1c
and dword [ebp - 0xd4], 0
push 2
lea ecx, [ebp - 0x154]
call fcn.10022bff
mov ecx, dword [ebp - 0xd4]
cmp ecx, dword [eax]
je 0x1005fa3f
mov dword [ebp - 0xd8], 1
jmp 0x1005fa46
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x114]
add eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x34]
lea esi, [eax + ecx + 1]
push 2
lea ecx, [ebp - 0x154]
call fcn.10022bff
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.10022be3
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push 8
pop ecx
shl ecx, 0
lea eax, [eax + ecx + 0x78]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
cmp dword [eax + 4], 0
jbe 0x10060baa
mov dword [ebp - 0xe0], 0xd
mov dword [ebp - 0x24c], 0x1000e2d8
cmp dword [ebp - 0xe0], 0x2cf
jle 0x1005fb55
and dword [ebp - 0x94], 0
jmp 0x1005fad6
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x13ba
jge 0x1005fb55
and dword [ebp - 0xb4], 0
jmp 0x1005faf8
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x3d91
jge 0x1005fb50
and dword [ebp - 0x64], 0
jmp 0x1005fb11
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x446a
jge 0x1005fb4e
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x64]
or eax, dword [ebp - 0x94]
cdq
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], edx
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x1005fb0a
jmp 0x1005faeb
jmp 0x1005fac9
push 2
lea ecx, [ebp - 0x2e0]
call fcn.10022b61
mov dword [ebp - 4], 1
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x188], 0x1d933bd
push 1
push 0
lea eax, [ebp - 0x2e0]
push eax
push 0x185
lea eax, [ebp - 0x338]
push eax
call fcn.100531f5
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x1c81
lea eax, [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.100618fb
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e0]
call fcn.10022be3
cmp dword [ebp - 0xe0], 0xffffffd6
jge 0x1005fbe8
mov edx, dword [ebp - 0x24c]
mov ecx, 0x10092b78
call fcn.10025597
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xa0]
add ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x214], 0xfffffffc
push 3
lea ecx, [ebp - 0x2b0]
call fcn.10022b61
mov dword [ebp - 4], 2
push 2
lea ecx, [ebp - 0x2c8]
call fcn.10022b61
mov byte [ebp - 4], 3
mov dword [ebp - 0x3a0], 1
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x2b0]
push eax
push 0
push 1
call fcn.10058f8f
add esp, 0x10
push 0x22c6
push 1
lea eax, [ebp - 0x2c8]
push eax
push 0x2817
push 0x6019
lea eax, [ebp - 0x190]
push eax
push 1
push 0xdc8
push 0x13c3
push 0x3cfc
call fcn.10053726
add esp, 0x28
push 0x7086
push 1
push 0x6a56
push 1
push 0x5aa2
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.10053920
add esp, 0x20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c8]
call fcn.10022be3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b0]
call fcn.10022be3
jmp 0x1005fcdd
mov eax, dword [ebp - 0x24]
add eax, 0x14
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
call fcn.1004e2b7
pop ecx
movzx eax, al
test eax, eax
jne 0x10060baa
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0xc], 0
je 0x10060baa
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xa0]
add ecx, dword [eax + 0xc]
push ecx
push 0xd222
push 0xe8d6
call fcn.10049601
pop ecx
pop ecx
call eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x1005fe76
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0xf8], 1
mov dword [ebp - 0x100], 1
mov dword [ebp - 0x270], 0xa5043c4a
cmp dword [ebp - 0x15c], 0x4ffb871c
jg 0x1005fd71
mov dword [ebp - 0xf0], 1
jmp 0x1005fd78
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x270], eax
push 0
call fcn.1005545b
pop ecx
lea eax, [ebp - 0x3c]
push eax
push 0
call fcn.10061383
pop ecx
pop ecx
push 2
lea ecx, [ebp - 0x364]
call fcn.10022b61
mov dword [ebp - 4], 4
mov dword [ebp - 0x340], 0x17ca0029
mov dword [ebp - 0x2f4], 0xf0a290be
push 2
lea ecx, [ebp - 0x354]
call fcn.10022b61
mov byte [ebp - 4], 5
mov dword [ebp - 0x21c], 2
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x1a0]
push eax
push 0
push 1
call fcn.1005cf75
add esp, 0x10
lea eax, [ebp - 0x354]
push eax
push 0
lea eax, [ebp - 0x1a0]
push eax
push 0
call fcn.10059ffe
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
push 0
call fcn.100679f1
pop ecx
pop ecx
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1d]
push eax
push 0x17aa
push 0
push 1
push 1
call fcn.1005697a
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x354]
call fcn.10022be3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x364]
call fcn.10022be3
jmp 0x10060baa
push 0x75f2
push 1
lea eax, [ebp - 0x38]
push eax
push 1
push 0x1822
push 0
call fcn.10055d8c
add esp, 0x18
push 1
lea ecx, [ebp - 0x374]
call fcn.10022b61
mov dword [ebp - 4], 6
mov dword [ebp - 0x1a8], 0xffffffff
push 0x61a1
push 0x64fe
push 0x7c1c
push 1
push 0x35ab
lea eax, [ebp - 0x2fc]
push eax
push 0x13cd
lea eax, [ebp - 0x374]
push eax
push 1
call fcn.100503c2
add esp, 0x24
push 0x57cb
push 0x7021
push 1
push 1
push 0x588e
push 0xbb7
push 0x9c0
push 0x31a3
push 0x635c
push 0x407d
push 0x3ca0
call fcn.10053b46
add esp, 0x2c
lea eax, [ebp - 0x1a8]
push eax
push 0x2aeb
push 0
push 0x24a
push 0x1ac8
push 1
call fcn.1005e83f
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x374]
call fcn.10022be3
mov eax, dword [ebp - 0x38]
cmp dword [eax + 8], 0
jne 0x100601d2
mov dword [ebp - 0x6c], 0x571177e8
mov dword [ebp - 0x304], 2
mov dword [ebp - 0x30c], 0xfffffff8
mov dword [ebp - 0x314], 0x7c694a6
mov dword [ebp - 0x31c], 3
mov dword [ebp - 0x1b0], 0xfffffffb
push 1
lea ecx, [ebp - 0x384]
call fcn.10022b61
mov dword [ebp - 4], 7
mov dword [ebp - 0x258], 0xd6c3
push 0x79a5
push 0
push 0x2640
push 1
push 0x4388
push 0x1ce3
push 1
lea eax, [ebp - 0x324]
push eax
push 0x47c8
lea eax, [ebp - 0x384]
push eax
call fcn.100561e0
add esp, 0x28
mov dword [ebp - 0x6c], 0
jmp 0x1005fff6
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x1b
jg 0x100600d8
push 2
lea ecx, [ebp - 0x2bc]
call fcn.10022b61
mov byte [ebp - 4], 8
mov dword [ebp - 0x32c], 0xfffffff8
mov dword [ebp - 0x334], 0xa2b441a6
mov dword [ebp - 0x33c], 0xfbf68593
mov dword [ebp - 0x344], 0x8a019320
mov dword [ebp - 0x2f8], 0x547507af
mov dword [ebp - 0x388], 0x1b185749
lea eax, [ebp - 0x300]
push eax
push 0x5a82
push 0x6240
lea eax, [ebp - 0x2bc]
push eax
push 1
push 0x514c
push 0x1609
push 0x30a5
push 0x430f
push 1
push 0x7912
call fcn.10053cde
add esp, 0x2c
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x258]
push eax
push 0x2f43
push 1
push 0x2873
lea eax, [ebp - 0x1b0]
push eax
push 0x137
push 1
push 0xd55
push 0x2dab
call fcn.10052a79
add esp, 0x28
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2bc]
call fcn.10022be3
jmp 0x1005ffef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x384]
call fcn.10022be3
lea eax, [ebp - 0x3c]
push eax
push 0x739
push 0x787f
push 1
push 1
push 0x28d4
call fcn.1005300d
add esp, 0x18
mov dword [ebp - 0x228], 0xfff9
mov dword [ebp - 0x1b8], 0xbb11accb
push 3
lea ecx, [ebp - 0x2d4]
call fcn.10022b61
mov dword [ebp - 4], 9
mov dword [ebp - 0xac], 0
jmp 0x10060147
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 3
jge 0x10060169
push dword [ebp - 0xac]
lea ecx, [ebp - 0x2d4]
call fcn.10022bff
mov dword [eax], 0xfffffff7
jmp 0x1006013a
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x19]
push eax
push 0x1524
push 0
push 1
push 1
push 0x385
call fcn.1006f586
add esp, 0x18
push 0x76ad
push 0x5179
lea eax, [ebp - 0x2d4]
push eax
push 0x5367
push 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x1b8]
push eax
push 0x2265
push 0
call fcn.1005f108
add esp, 0x24
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.10022be3
jmp 0x10060baa
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0xa0]
push dword [ebp - 0x24]
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 0x38]
call fcn.1004f700
add esp, 0x18
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x130], 0xca7b5cf1
mov dword [ebp - 0x108], 0x5cb1
mov dword [ebp - 0x1c0], 0x1000e300
cmp dword [ebp - 0x108], 0x5f56
jle 0x100602c1
and dword [ebp - 0x74], 0
jmp 0x1006023d
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x2765
jge 0x100602c1
and dword [ebp - 0x9c], 0
jmp 0x1006025c
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x25a2
jge 0x100602bc
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x9c]
cdq
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], edx
push dword [ebp - 0x244]
push dword [ebp - 0x248]
lea ecx, [ebp - 0x3c8]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x3c8]
call fcn.1002281d
jmp 0x1006024f
jmp 0x10060236
mov dword [ebp - 0x138], 0x8c98aac1
cmp dword [ebp - 0x108], 0x58da
jge 0x100602e3
push dword [ebp - 0x1c0]
call fcn.10077843
pop ecx
mov dword [ebp - 0x30], 0xfa8fad74
mov dword [ebp - 0x210], 0xb46fac5a
mov dword [ebp - 0x348], 0xffffffff
mov dword [ebp - 0x308], 0xffffffff
mov dword [ebp - 0x7c], 0
jmp 0x10060318
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jge 0x1006032e
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x3b0], 0xfffffffd
jmp 0x10060311
mov dword [ebp - 0x2c], 0xffffffea
jmp 0x1006033e
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jl 0x1006056f
mov dword [ebp - 0x110], 0x7dda
mov dword [ebp - 0x234], 0x1000e35c
cmp dword [ebp - 0x110], 0x7e31
jle 0x10060416
and dword [ebp - 0xbc], 0
jmp 0x10060382
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x4431
jge 0x10060416
and dword [ebp - 0x44], 0
jmp 0x1006039f
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x490d
jge 0x10060411
and dword [ebp - 0x48], 0
jmp 0x100603b5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x607c
jge 0x1006040f
and dword [ebp - 0x50], 0
jmp 0x100603cb
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x355b
jge 0x1006040d
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x44]
sar eax, cl
mov ecx, dword [ebp - 0x48]
imul ecx, dword [ebp - 0x50]
or eax, ecx
cdq
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], edx
push dword [ebp - 0x250]
push dword [ebp - 0x254]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x100603c4
jmp 0x100603ae
jmp 0x10060398
jmp 0x10060375
mov dword [ebp - 0x1d0], 0xee49
cmp dword [ebp - 0x110], 0x7d1d
jge 0x1006043c
mov edx, dword [ebp - 0x234]
mov ecx, 0x10092b78
call fcn.10025597
mov dword [ebp - 0x1d8], 0x639e6a41
mov dword [ebp - 0x118], 0x758
mov dword [ebp - 0x1c8], 0x1000e380
cmp dword [ebp - 0x118], 0x949
jle 0x100604fc
and dword [ebp - 0x70], 0
jmp 0x10060477
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x38f9
jge 0x100604fc
and dword [ebp - 0x58], 0
jmp 0x1006048d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x2261
jge 0x100604f7
and dword [ebp - 0x60], 0
jmp 0x100604a3
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x292e
jge 0x100604f5
and dword [ebp - 0x68], 0
jmp 0x100604b9
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x2a28
jge 0x100604f3
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x60]
and eax, dword [ebp - 0x68]
or eax, dword [ebp - 0x70]
cdq
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], edx
push dword [ebp - 0x25c]
push dword [ebp - 0x260]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x100604b2
jmp 0x1006049c
jmp 0x10060486
jmp 0x10060470
mov dword [ebp - 0x264], 4
cmp dword [ebp - 0x118], 0x55c
jge 0x10060522
mov edx, dword [ebp - 0x1c8]
mov ecx, 0x10092b78
call fcn.10025597
mov dword [ebp - 0x240], 0xc914a3a6
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x1d0]
push eax
push 0
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
lea eax, [ebp - 0x1d8]
push eax
call fcn.10057075
add esp, 0x28
jmp 0x10060337
mov dword [ebp - 0x30], 0
jmp 0x1006057f
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x21
jge 0x10060883
push 3
lea ecx, [ebp - 0x2ec]
call fcn.10022b61
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x39c], 2
push 3
lea ecx, [ebp - 0x394]
call fcn.10022b61
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x310], 0x5fa5b821
mov dword [ebp - 0x120], 0x4216
mov dword [ebp - 0x1e0], 0x1000e3c8
cmp dword [ebp - 0x120], 0x4573
jle 0x10060667
and dword [ebp - 0x78], 0
jmp 0x100605f3
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x7bb8
jge 0x10060667
and dword [ebp - 0x80], 0
jmp 0x10060609
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x3218
jge 0x10060665
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x80]
shl eax, cl
cdq
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], edx
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x3f8]
call fcn.100118ee
pop ecx
pop ecx
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
call fcn.10022827
push eax
call fcn.10077843
pop ecx
lea ecx, [ebp - 0x3f8]
call fcn.1002281d
jmp 0x10060602
jmp 0x100605ec
mov dword [ebp - 0x160], 1
cmp dword [ebp - 0x120], 0x3ea8
jge 0x10060689
push dword [ebp - 0x1e0]
call fcn.10077843
pop ecx
push 0x1cd6
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x208]
push eax
push 1
push 1
call fcn.1005472e
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
push 0x1ecf
lea eax, [ebp - 0x394]
push eax
push 0x9d1
push 1
push 0
push 0x7ee4
push 0x1bd8
call fcn.100567b0
add esp, 0x20
mov dword [ebp - 0x128], 0x1f11
mov dword [ebp - 0x1e8], 0x1000e428
cmp dword [ebp - 0x128], 0x1fb5
jle 0x100607c6
and dword [ebp - 0x88], 0
jmp 0x10060710
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x25cd
jge 0x100607c6
and dword [ebp - 0x40], 0
jmp 0x1006072d
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x2576
jge 0x100607c1
and dword [ebp - 0x90], 0
jmp 0x10060750
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0x1adb
jge 0x100607bc
and dword [ebp - 0x98], 0
jmp 0x10060772
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0x5d7e
jge 0x100607ba
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x90]
add ecx, dword [ebp - 0x98]
or eax, ecx
cdq
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], edx
push dword [ebp - 0x274]
push dword [ebp - 0x278]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x10060765
jmp 0x10060743
jmp 0x10060726
jmp 0x10060703
cmp dword [ebp - 0x128], 0x1c67
jge 0x100607e2
mov edx, dword [ebp - 0x1e8]
mov ecx, 0x10092b78
call fcn.10025597
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x759a
lea eax, [ebp - 0x210]
push eax
push 1
push 0x50e8
lea eax, [ebp - 0x2ec]
push eax
lea eax, [ebp - 0x130]
push eax
push 1
push 0x664b
push 0x5dc5
push 0x56
lea eax, [ebp - 0x138]
push eax
call fcn.100548bf
add esp, 0x34
push 1
push 0x6fc7
push 0x7e7
push 0x1eea
push 0x4b2a
push 1
push 0x446a
push 0x7bcd
push 0x7fb8
push 0
lea eax, [ebp - 0x160]
push eax
call fcn.1005a366
add esp, 0x2c
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x394]
call fcn.10022be3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ec]
call fcn.10022be3
jmp 0x10060578
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x16c]
push eax
push dword [ebp - 0xa0]
lea eax, [ebp - 0xc8]
push eax
call fcn.1004fa07
add esp, 0x14
cmp dword [ebp - 0x3c], 0
jne 0x10060ba5
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xd0], 0xafbf2617
mov dword [ebp - 0x194], 8
mov byte [ebp - 0x1b], 0
push 1
lea eax, [ebp - 0x1b]
push eax
push 0x61ac
push 0
push 0
call fcn.1005ecc5
add esp, 0x14
mov dword [ebp - 0x28], 0
jmp 0x100608fa
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffffa
jle 0x10060ba3
mov dword [ebp - 0x18], 0x386cce57
push 3
lea ecx, [ebp - 0x204]
call fcn.10022b61
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x1a4], 0
push 0x3583
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x204]
push eax
push 0x614f
push 0
push 0x1e14
push 0x1e62
push 0x6f16
call fcn.1006e896
add esp, 0x20
cmp dword [ebp - 0x18], 0
je 0x10060b20
mov dword [ebp - 0x18c], 0x320f2d62
mov dword [ebp - 0x17c], 7
mov dword [ebp - 0x184], 0xafe44fa3
push 2
lea ecx, [ebp - 0x2a4]
call fcn.10022b61
mov byte [ebp - 4], 0xd
push 0x10e9
push 1
push 0x4c41
push 1
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.10051a54
add esp, 0x18
mov dword [ebp - 0x18], 0xfffffff7
jmp 0x100609c7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x30
jl 0x10060aaf
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10060aaa
push 0x1536
push 1
push 0x7bbe
push 0
call fcn.10059ffe
add esp, 0x10
mov dword [ebp - 0x140], 0x34f1
mov dword [ebp - 0x174], 0x1000e440
cmp dword [ebp - 0x140], 0x3524
jle 0x10060a8e
and dword [ebp - 0xa8], 0
jmp 0x10060a2d
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x5b5f
jge 0x10060a8e
and dword [ebp - 0xb0], 0
jmp 0x10060a4f
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x75a7
jge 0x10060a8c
mov eax, dword [ebp - 0xa8]
xor eax, dword [ebp - 0xb0]
cdq
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], edx
push dword [ebp - 0x280]
push dword [ebp - 0x284]
mov ecx, 0x10092b78
call fcn.10022847
jmp 0x10060a42
jmp 0x10060a20
cmp dword [ebp - 0x140], 0x32e7
jge 0x10060aaa
mov edx, dword [ebp - 0x174]
mov ecx, 0x10092b78
call fcn.10025597
jmp 0x100609c0
push 0x43c0
push 0x24d6
push 0x6357
lea eax, [ebp - 0x28]
push eax
push 1
push 0x24eb
push 0x7869
push 1
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x194]
push eax
push 1
call fcn.10051d03
add esp, 0x44
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2a4]
call fcn.10022be3
jmp 0x10060b59
mov dword [ebp - 0x19c], 6
push 0x3c1d
lea eax, [ebp - 0xd0]
push eax
push 0x1081
lea eax, [ebp - 0x204]
push eax
push 0
push 0
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100567b0
add esp, 0x20
push 0x608f
push 1
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 1
push 0x192c
lea eax, [ebp - 0x204]
push eax
push 0x4be5
call fcn.100561e0
add esp, 0x28
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x204]
call fcn.10022be3
jmp 0x100608f3
jmp 0x10060baa
jmp 0x1005fcd4
mov dword [ebp - 0xb8], 0x13b91020
mov dword [ebp - 0xb8], 0x17
jmp 0x10060bcd
mov eax, dword [ebp - 0xb8]
dec eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xffffffe9
jl 0x10060cb2
push 3
lea ecx, [ebp - 0x298]
call fcn.10022b61
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x1ac], 0xb74c38b6
mov dword [ebp - 0x1bc], 0x55467101
lea eax, [ebp - 0x398]
push eax
push 0x69e0
push 0x4b08
lea eax, [ebp - 0x298]
push eax
push 0
push 1
call fcn.10054d70
add esp, 0x18
push 0
lea ecx, [ebp - 0x298]
call fcn.10022bff
cmp dword [eax], 0
je 0x10060c80
mov dword [ebp - 0x1b4], 7
push 1
push 0x48c
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x3b74
lea eax, [ebp - 0x1bc]
push eax
push 0x5e95
push 1
push 0x1a0e
lea eax, [ebp - 0x298]
push eax
call fcn.100520fa
add esp, 0x28
jmp 0x10060c9e
mov byte [ebp - 0x1c], 0
push 1
push 1
push 0x7785
lea eax, [ebp - 0x1c]
push eax
push 0x374a
call fcn.10054b8b
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x298]
call fcn.10022be3
jmp 0x10060bc0
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x10060d0b
jmp 0x10060d0b
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1dc], eax
push 0x21e6
push 0x1439
push 1
push dword [ebp - 0x1d4]
push dword [ebp - 0x1dc]
call fcn.10054d52
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret