Function at 0x1010b660
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10166dd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x14], ebp
mov esi, dword [0x1018cd1c]
mov eax, 0x21
cdq
idiv esi
mov edi, dword [0x1018cd18]
mov cl, byte [0x1018cd2c]
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov al, byte [edx + edi]
mov byte [esp + 0x3c], al
mov eax, 0x2f3
cdq
idiv esi
mov al, cl
sub al, byte [edx + edi]
mov dl, 0xe7
add al, 0x7f
imul cl
imul dl
push eax
mov eax, 0xb
cdq
idiv esi
inc cl
mov byte [0x1018cd2c], cl
push ecx
mov al, byte [edx + edi]
push eax
call fcn.1010d630
mov al, byte [0x10193fd8]
add esp, 0xc
test al, 1
mov byte [0x1018cd2c], 0x90
jne 0x1010b75c
mov cl, byte [esp + 0x8c]
mov dl, byte [esp + 0x8c]
or al, 1
mov byte [0x10194030], cl
mov ecx, 0x10194030
mov byte [0x10193fd8], al
mov esi, 0x1016ab90
mov byte [0x10194031], dl
mov byte [0x10194038], bl
call fcn.1010f5b0
mov byte [esp + 0x84], 1
lea eax, [esp + 0x2c]
push esi
push eax
mov ecx, 0x10194030
call fcn.1010df60
add esi, 2
cmp esi, 0x1016ab92
jne 0x1010b72d
push 0x1010cc10
mov byte [esp + 0x88], bl
call fcn.1013c36b
add esp, 4
mov esi, dword [0x1018cd1c]
mov eax, 0x87
cdq
idiv esi
mov edi, dword [0x1018cd18]
mov eax, 0x3a6
mov cl, byte [edx + edi]
cdq
idiv esi
sub cl, 0x67
mov al, cl
imul byte [edx + edi]
mov cl, al
mov eax, 0x384
cdq
idiv esi
mov al, cl
imul byte [edx + edi]
mov byte [esp + 0x3d], al
mov al, byte [0x10193fd8]
test al, 2
jne 0x1010b80b
mov dl, byte [esp + 0x8c]
or al, 2
mov byte [0x10193fd8], al
mov al, byte [esp + 0x8c]
mov ecx, 0x10194000
mov esi, str.___
mov byte [0x10194000], dl
mov byte [0x10194001], al
mov byte [0x10194008], bl
call fcn.1010f5b0
mov byte [esp + 0x84], 2
lea ecx, [esp + 0x2c]
push esi
push ecx
mov ecx, 0x10194000
call fcn.1010df60
add esi, 2
cmp esi, 0x1016aba0
jne 0x1010b7dc
push 0x1010cc00
mov byte [esp + 0x88], bl
call fcn.1013c36b
add esp, 4
call fcn.1010d670
mov byte [esp + 0x3e], al
mov al, byte [0x10193fd8]
test al, 4
jne 0x1010b889
mov dl, byte [esp + 0x8c]
or al, 4
mov byte [0x10193fd8], al
mov al, byte [esp + 0x8c]
mov ecx, 0x10194010
mov esi, 0x1016aba0
mov byte [0x10194010], dl
mov byte [0x10194011], al
mov byte [0x10194018], bl
call fcn.1010f5b0
mov byte [esp + 0x84], 3
lea ecx, [esp + 0x2c]
push esi
push ecx
mov ecx, 0x10194010
call fcn.1010df60
add esi, 2
cmp esi, 0x1016aba2
jne 0x1010b85a
push 0x1010cbf0
mov byte [esp + 0x88], bl
call fcn.1013c36b
add esp, 4
mov cl, byte [0x10193fd8]
mov dl, byte [esp + 0x3c]
mov al, 8
mov byte [0x1018cd2c], dl
test al, cl
jne 0x1010b90c
or cl, al
mov al, byte [esp + 0x8c]
mov byte [0x10193fd8], cl
mov cl, byte [esp + 0x8c]
mov byte [0x10193fe1], cl
mov ecx, 0x10193fe0
mov esi, str.___.___:_
mov byte [0x10193fe0], al
mov byte [0x10193fe8], bl
call fcn.1010f5b0
mov byte [esp + 0x84], 4
lea edx, [esp + 0x2c]
push esi
push edx
mov ecx, 0x10193fe0
call fcn.1010df60
add esi, 2
cmp esi, 0x1016abbc
jne 0x1010b8dd
push 0x1010cbe0
mov byte [esp + 0x88], bl
call fcn.1013c36b
add esp, 4
mov al, byte [esp + 0x3d]
mov dl, byte [esp + 0x3c]
imul dl
mov cl, al
inc dl
mov eax, 0xfc
mov byte [esp + 0x3c], dl
cdq
idiv dword [0x1018cd1c]
mov eax, dword [0x1018cd18]
mov dl, byte [edx + eax]
mov al, byte [0x1018cd2c]
push edx
push ecx
push eax
call fcn.1010d630
mov byte [esp + 0x49], al
mov al, byte [0x10193fd8]
add esp, 0xc
test al, 0x10
jne 0x1010b96d
or al, 0x10
push 0x10193ff0
mov byte [0x10193fd8], al
call fcn.1010b040
push 0x1010cbd0
call fcn.1013c36b
add esp, 8
mov ecx, dword [esp + 0x3c]
mov dl, byte [0x1018cd2c]
push ecx
push edx
push 0x57
push 0xffffffffffffffaf
push 0xffffffffffffff96
call fcn.1010d630
add esp, 0xc
push eax
call fcn.1010d630
mov cl, byte [esp + 0x49]
add al, cl
mov cl, 0x1b
imul byte [esp + 0x4a]
imul cl
push eax
call fcn.1010d610
mov al, byte [0x10193fd8]
add esp, 0x10
test al, 0x20
jne 0x1010b9cb
or al, 0x20
push 0x10194020
mov byte [0x10193fd8], al
call fcn.1010b3d0
push 0x1010cbc0
call fcn.1013c36b
add esp, 8
mov eax, 0xc0
cdq
idiv dword [0x1018cd1c]
mov eax, dword [0x1018cd18]
mov cl, byte [edx + eax]
mov eax, dword [esp + 0x98]
cmp eax, ebx
mov byte [0x1018cd2c], cl
jne 0x1010ba0e
push 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x88], 0xffffffff
call fcn.1000bc70
jmp 0x1010cb9c
cmp dword [esp + 0x94], ebx
je 0x1010ba2c
lea ecx, [esp + 0x90]
call fcn.100debb0
mov eax, dword [esp + 0x94]
jmp 0x1010ba31
mov eax, 0x1016a1d8
mov dx, word [eax]
mov eax, 0x161
mov dword [esp + 0x1c], edx
mov esi, dword [0x10194034]
cdq
idiv dword [0x1018cd1c]
mov eax, dword [0x1018cd18]
mov cl, byte [edx + eax]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
mov byte [esp + 0x3e], cl
push edx
push eax
mov ecx, 0x10194030
call fcn.1010e1a0
cmp dword [esp + 0x20], esi
je 0x1010bb57
mov ecx, dword [0x1016a210]
lea edx, [esp + 0x3c]
push ecx
push 1
push edx
lea ecx, [esp + 0x9c]
call fcn.10015220
mov ecx, dword [0x1016a210]
mov byte [esp + 0x84], 6
push ecx
push ebx
push eax
lea ecx, [esp + 0x9c]
call fcn.1000ba60
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], bl
call fcn.1000bc70
mov edi, dword [esp + 0xa0]
mov dl, byte [esp + 0x90]
sub esp, 0x18
inc edi
mov esi, esp
mov dword [esp + 0x3c], esp
mov dword [esp + 0xb8], edi
mov byte [0x1018cd2c], 0x6f
push ebx
mov ecx, esi
mov dword [esp + 0x3c], esi
mov byte [esi], dl
call fcn.1000bc70
mov eax, dword [0x1016a210]
lea ecx, [esp + 0xa8]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.1000ba60
mov edx, dword [esp + 0xb8]
mov byte [esp + 0x9c], 7
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0xbc]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0xa4]
mov byte [esp + 0x9c], bl
push ecx
mov ecx, ebp
call fcn.1010b660
push 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x88], 0xffffffff
call fcn.1000bc70
jmp 0x1010cb9c
mov esi, dword [0x10194004]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, 0x10194000
call fcn.1010e1a0
cmp dword [esp + 0x20], esi
je 0x1010bd44
mov ecx, dword [0x1016a210]
mov al, byte [0x1018cd2c]
push ecx
lea edx, [esp + 0x40]
dec al
push 1
push edx
lea ecx, [esp + 0x9c]
mov byte [0x1018cd2c], al
call fcn.10015220
mov ecx, dword [0x1016a210]
mov byte [esp + 0x84], 0xa
push ecx
push ebx
push eax
lea ecx, [esp + 0x9c]
call fcn.1000ba60
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], bl
call fcn.1000bc70
mov esi, dword [esp + 0xa0]
mov dl, byte [esp + 0x8c]
inc esi
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0xa4], esi
mov byte [esp + 0x40], dl
call fcn.1000bc70
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x3c]
mov edi, eax
lea edx, [esp + 0x2c]
lea ebp, [eax - 1]
mov eax, dword [esp + 0x1c]
push eax
push ecx
push edx
mov byte [esp + 0x90], 0xb
call fcn.10111150
add esp, 0xc
mov esi, eax
mov al, byte [esi]
mov byte [esp + 0x84], 0xc
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], al
call fcn.1000bc70
mov ecx, dword [0x1016a210]
push ecx
push ebx
push esi
lea ecx, [esp + 0x58]
call fcn.1000ba60
mov byte [esp + 0x84], 0xd
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x8c]
lea edx, [esp + 0x4c]
push edx
mov ecx, edi
mov eax, dword [edi + 4]
mov byte [esp + 0x88], 0xe
push eax
lea eax, [esp + 0x94]
push eax
call fcn.1010ddd0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], 0xc
call fcn.1000bc70
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 0xb
call fcn.1000bc70
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], bl
call fcn.1000bc70
mov cl, byte [esp + 0x90]
sub esp, 0x18
mov esi, esp
mov dword [esp + 0xa4], esp
push ebx
mov dword [esp + 0x40], esi
mov byte [esi], cl
mov ecx, esi
call fcn.1000bc70
mov edx, dword [0x1016a210]
lea eax, [esp + 0xa8]
push edx
push ebx
push eax
mov ecx, esi
call fcn.1000ba60
mov ecx, dword [esp + 0xb8]
mov byte [esp + 0x9c], 0x10
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0xbc]
mov dword [esi + 0x14], edx
mov ecx, dword [esp + 0x2c]
push edi
mov byte [esp + 0xa0], bl
call fcn.1010b660
mov byte [0x1018cd2c], 0x27
push 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x88], 0xffffffff
call fcn.1000bc70
jmp 0x1010cb9c
mov esi, dword [0x10193ff4]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, 0x10193ff0
call fcn.1010e570
cmp dword [esp + 0x20], esi
je 0x1010bf88
call fcn.1010d670
mov edx, dword [0x1016a210]
mov byte [0x1018cd2c], al
push edx
lea eax, [esp + 0x30]
push 1
push eax
lea ecx, [esp + 0x9c]
call fcn.10015220
mov ecx, dword [0x1016a210]
mov byte [esp + 0x84], 0x13
push ecx
push ebx
push eax
lea ecx, [esp + 0x9c]
call fcn.1000ba60
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], bl
call fcn.1000bc70
mov al, byte [esp + 0x3d]
mov dl, byte [0x1018cd2c]
mov byte [esp + 0x20], al
inc al
push edx
mov byte [esp + 0x41], al
call fcn.1010d670
push eax
mov eax, dword [esp + 0x45]
push eax
mov eax, 0x23f
cdq
idiv dword [0x1018cd1c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x1018cd18]
push ecx
mov cl, byte [edx + eax]
push ecx
call fcn.1010d660
mov esi, dword [esp + 0xb4]
add esp, 0x14
inc esi
mov dword [esp + 0xa0], esi
call fcn.1010d670
mov dl, byte [esp + 0x8c]
push ebx
lea ecx, [esp + 0x30]
mov byte [0x1018cd2c], al
mov byte [esp + 0x30], dl
call fcn.1000bc70
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8c], 0x14
call fcn.1010e790
lea edx, [esp + 0x3c]
push eax
push edx
mov ecx, 0x10193ff0
mov byte [esp + 0x8c], 0x15
call fcn.1010e3a0
mov esi, dword [eax]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 0x14
call fcn.1000bc70
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], bl
call fcn.1000bc70
mov eax, dword [esp + 0xa0]
add esi, 0x10
mov edi, eax
lea ebp, [eax - 1]
mov al, byte [esi]
push ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], al
call fcn.1000bc70
mov ecx, dword [0x1016a210]
push ecx
push ebx
push esi
lea ecx, [esp + 0x58]
call fcn.1000ba60
mov byte [esp + 0x84], 0x17
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x8c]
lea edx, [esp + 0x4c]
push edx
mov ecx, edi
mov eax, dword [edi + 4]
mov byte [esp + 0x88], 0x18
push eax
lea eax, [esp + 0x94]
push eax
call fcn.1010ddd0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], bl
call fcn.1000bc70
mov cl, byte [esp + 0x90]
sub esp, 0x18
mov esi, esp
mov dword [esp + 0xa4], esp
push ebx
mov dword [esp + 0x40], esi
mov byte [esi], cl
mov ecx, esi
call fcn.1000bc70
mov edx, dword [0x1016a210]
lea eax, [esp + 0xa8]
push edx
push ebx
push eax
mov ecx, esi
call fcn.1000ba60
mov ecx, dword [esp + 0xb8]
mov byte [esp + 0x9c], 0x1a
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0xbc]
mov dword [esi + 0x14], edx
mov ecx, dword [esp + 0x2c]
push edi
mov byte [esp + 0xa0], bl
call fcn.1010b660
inc byte [0x1018cd2c]
push 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x88], 0xffffffff
call fcn.1000bc70
jmp 0x1010cb9c
mov eax, dword [esp + 0x98]
lea esi, [eax - 1]
cmp eax, esi
jb 0x1010bfb7
cmp dword [esp + 0x94], ebx
je 0x1010bfb7
lea ecx, [esp + 0x90]
call fcn.100debb0
mov eax, dword [esp + 0x94]
lea eax, [eax + esi*2]
jmp 0x1010bfbc
mov eax, 0x1016a1d8
mov cx, word [eax]
mov al, byte [esp + 0x3d]
mov byte [esp + 0x20], al
inc al
mov dword [esp + 0x18], ecx
mov byte [esp + 0x3d], al
call fcn.1010d670
mov dl, 0x1b
mov esi, dword [esp + 0x3e]
imul dl
mov byte [esp + 0x24], al
mov eax, 0xc1
cdq
idiv dword [0x1018cd1c]
mov eax, dword [0x1018cd18]
mov cl, byte [edx + eax]
mov al, byte [esp + 0x3c]
mov edx, dword [esp + 0x20]
add cl, al
push ecx
push 0x13
push 0xffffffffffffffcf
push esi
push 0x4c
push edx
push 0x2e
push 0xfffffffffffffff9
push 0xffffffffffffff86
call fcn.1010d630
mov dl, al
push 0xffffffffffffffee
mov byte [esp + 0x3b], dl
call fcn.1010d610
mov dl, byte [esp + 0x3b]
mov cl, al
mov al, dl
mov edi, dword [0x1018cd1c]
imul cl
mov cl, al
mov eax, 0x2a4
cdq
idiv edi
mov ebp, dword [0x1018cd18]
mov al, cl
add esp, 0x10
imul byte [edx + ebp]
mov cl, al
mov eax, 0x175
cdq
idiv edi
mov al, cl
imul byte [edx + ebp]
mov dl, 0x7e
sub dl, al
mov al, byte [0x1018cd2c]
push edx
push eax
call fcn.1010d660
mov ecx, dword [esp + 0x44]
add esp, 0x14
push eax
push ecx
call fcn.1010d660
mov edi, dword [0x10193fe4]
add esp, 0x14
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, 0x10193fe0
call fcn.1010e1a0
cmp dword [esp + 0x24], edi
je 0x1010c2bc
mov ecx, dword [esp + 0x98]
lea edx, [esp + 0x3c]
dec ecx
push ecx
push ebx
push edx
lea ecx, [esp + 0x9c]
call fcn.10015220
mov ecx, dword [0x1016a210]
mov byte [esp + 0x84], 0x1d
push ecx
push ebx
push eax
lea ecx, [esp + 0x9c]
call fcn.1000ba60
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], bl
call fcn.1000bc70
mov al, byte [0x1018cd2c]
inc al
push eax
push 0x31
push 0x19
mov byte [0x1018cd2c], al
call fcn.1010d630
mov byte [esp + 0x1f], al
call fcn.1010d670
mov cl, byte [esp + 0x1f]
add cl, al
mov al, byte [0x1018cd2c]
mov dl, al
sub dl, 7
add cl, dl
mov byte [esp + 0x30], cl
mov cl, al
push ecx
push esi
push eax
call fcn.1010d620
mov dl, byte [0x1018cd2c]
add esp, 0x18
add al, 0x68
push eax
push edx
call fcn.1010d610
add esp, 4
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.1010d630
mov ecx, dword [esp + 0xb0]
sub esp, 0xc
dec ecx
mov esi, esp
mov dword [esp + 0xbc], ecx
mov cl, byte [esp + 0xa8]
mov dword [esp + 0x3c], esp
mov byte [esi], cl
push ebx
mov ecx, esi
mov dword [esp + 0x3c], esi
call fcn.1000bc70
mov edx, dword [0x1016a210]
lea eax, [esp + 0xa8]
push edx
push ebx
push eax
mov ecx, esi
call fcn.1000ba60
mov ecx, dword [esp + 0xb8]
mov byte [esp + 0x9c], 0x1e
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0xbc]
mov dword [esi + 0x14], edx
mov esi, dword [esp + 0xa4]
mov byte [esp + 0x9c], bl
push esi
mov ecx, dword [esp + 0x30]
call fcn.1010b660
mov al, byte [esp + 0x8c]
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], al
call fcn.1000bc70
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
lea edx, [esp + 0x3c]
lea ebp, [eax + 1]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov byte [esp + 0x90], 0x20
call fcn.10111150
add esp, 0xc
mov edi, eax
mov cl, byte [edi]
mov byte [esp + 0x84], 0x21
mov byte [esp + 0x4c], cl
push ebx
lea ecx, [esp + 0x50]
call fcn.1000bc70
mov edx, dword [0x1016a210]
lea ecx, [esp + 0x4c]
push edx
push ebx
push edi
call fcn.1000ba60
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 0x22
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebp
mov eax, dword [esi + 4]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x90]
push eax
push edx
mov ecx, esi
mov byte [esp + 0x90], 0x23
call fcn.1010ddd0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], 0x21
call fcn.1000bc70
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 0x20
call fcn.1000bc70
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], bl
call fcn.1000bc70
push 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x88], 0xffffffff
call fcn.1000bc70
jmp 0x1010cb9c
mov esi, dword [0x10194024]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, 0x10194020
call fcn.10110530
mov ecx, dword [esp + 0x20]
mov eax, dword [0x10194024]
cmp ecx, eax
je 0x1010c2f4
mov dx, word [esp + 0x18]
cmp dx, word [ecx + 0xc]
jb 0x1010c2f4
lea eax, [esp + 0x20]
jmp 0x1010c2fc
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
cmp dword [eax], esi
je 0x1010c4dc
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x3c]
dec eax
push eax
push ebx
push ecx
lea ecx, [esp + 0x9c]
call fcn.10015220
mov edx, dword [0x1016a210]
lea ecx, [esp + 0x90]
push edx
push ebx
push eax
mov byte [esp + 0x90], 0x26
call fcn.1000ba60
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], bl
call fcn.1000bc70
mov esi, dword [esp + 0xa4]
mov al, byte [esp + 0x90]
dec esi
sub esp, 0x18
mov dword [esp + 0xbc], esi
mov esi, esp
mov dword [esp + 0x3c], esp
push ebx
mov ecx, esi
mov dword [esp + 0x3c], esi
mov byte [esi], al
call fcn.1000bc70
mov ecx, dword [0x1016a210]
lea edx, [esp + 0xa8]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.1000ba60
mov eax, dword [esp + 0xb8]
mov byte [esp + 0x9c], 0x27
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0xbc]
mov dword [esi + 0x14], ecx
mov esi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
push esi
mov byte [esp + 0xa0], bl
call fcn.1010b660
mov dl, byte [esp + 0x8c]
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
call fcn.1000bc70
mov ax, word [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x88], 0x29
lea ecx, [esp + 0x6c]
mov word [esp + 0x68], ax
call fcn.10023d70
lea edx, [esp + 0x64]
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, 0x10194020
mov byte [esp + 0x8c], 0x2b
call fcn.1010e3a0
mov edi, dword [eax]
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x88], 0x29
call fcn.1000bc70
mov byte [esp + 0x84], bl
push 1
lea ecx, [esp + 0x30]
call fcn.1000bc70
mov cl, byte [edi + 0x10]
mov eax, dword [esp + 0xa4]
add edi, 0x10
mov byte [esp + 0x4c], cl
push ebx
lea ecx, [esp + 0x50]
lea ebp, [eax + 1]
mov dword [esp + 0x90], eax
call fcn.1000bc70
mov edx, dword [0x1016a210]
lea ecx, [esp + 0x4c]
push edx
push ebx
push edi
call fcn.1000ba60
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 0x2d
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebp
mov eax, dword [esi + 4]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x90]
push eax
push edx
mov ecx, esi
mov byte [esp + 0x90], 0x2e
call fcn.1010ddd0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], bl
call fcn.1000bc70
push 1
lea ecx, [esp + 0x94]
mov dword [esp + 0x88], 0xffffffff
call fcn.1000bc70
jmp 0x1010cb9c
mov esi, dword [0x10194014]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, 0x10194010
call fcn.1010f530
mov ecx, dword [esp + 0x20]
mov eax, dword [0x10194014]
cmp ecx, eax
je 0x1010c514
mov dx, word [esp + 0x18]
cmp dx, word [ecx + 0xc]
jb 0x1010c514
lea eax, [esp + 0x20]
jmp 0x1010c51c
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
cmp dword [eax], esi
je 0x1010c635
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x3c]
dec eax
mov byte [0x1018cd2c], bl
push eax
push ebx
push ecx
lea ecx, [esp + 0x9c]
call fcn.10015220
mov edx, dword [0x1016a210]
lea ecx, [esp + 0x90]
push edx
push ebx
push eax
mov byte [esp + 0x90], 0x31
call fcn.1000ba60
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x84], bl
cmp ecx, ebx
je 0x1010c58f
mov al, byte [ecx - 1]
cmp al, bl
je 0x1010c583
cmp al, 0xff
je 0x1010c583
dec al
mov byte [ecx - 1], al
jmp 0x1010c58f
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
mov al, byte [0x1018cd2c]
mov esi, dword [esp + 0xa4]
inc al
dec esi
sub esp, 0x18
mov dword [esp + 0xbc], esi
mov byte [0x1018cd2c], al
mov al, byte [esp + 0xa8]
mov esi, esp
mov dword [esp + 0x3c], esp
push ebx
mov ecx, esi
mov dword [esp + 0x3c], esi
mov byte [esi], al
call fcn.1000bc70
mov ecx, dword [0x1016a210]
lea edx, [esp + 0xa8]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.1000ba60
mov eax, dword [esp + 0xb8]
mov byte [esp + 0x9c], 0x32
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0xbc]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
push edx
mov byte [esp + 0xa0], bl
call fcn.1010b660
mov eax, 0x36c
cdq
idiv dword [0x1018cd1c]
mov eax, dword [0x1018cd18]
mov cl, byte [edx + eax]
sub cl, 9
mov byte [0x1018cd2c], cl
jmp 0x1010ca67
mov al, byte [0x10195140]
mov word [esp + 0x20], 0x1e
test al, 1
mov word [esp + 0x22], bx
jne 0x1010c6b2
or al, 1
push 6
mov byte [0x10195140], al
call fcn.1013c2df
add esp, 4
mov dword [0x10195144], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x20]
push edi
mov edx, ebp
mov ecx, 0x10195144
and edx, 0xffff
push edx
call fcn.1004a650
mov ecx, dword [0x10195144]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + ecx], ax
mov eax, dword [0x10195144]
mov di, word [esi + eax]
add esi, 2
cmp esi, 4
jb 0x1010c667
push 0x1010d9b0
mov word [eax + 4], bx
call fcn.1013c36b
add esp, 4
mov esi, dword [0x10195144]
push esi
mov dword [esp + 0x24], esi
call fcn.1013c2c2
add esp, 4
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x1010c6d1
xor ebp, ebp
jmp 0x1010c747
mov ebp, dword [esp + 0x98]
cmp ebp, ebx
jbe 0x1010c741
cmp eax, ebp
ja 0x1010c741
mov dx, word [esi]
mov edi, dword [esp + 0x94]
sub ebp, eax
inc ebp
push ebp
push edx
push edi
call fcn.10015e40
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x1010c741
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push esi
call fcn.100145d0
add esp, 0xc
test eax, eax
je 0x1010c7db
mov ecx, dword [esp + 0x20]
mov edx, esi
sub edx, edi
or eax, 0xffffffff
sar edx, 1
sub eax, edx
mov dx, word [ecx]
add ebp, eax
lea edi, [esi + 2]
push ebp
push edx
push edi
call fcn.10015e40
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x1010c6fe
mov ebp, dword [0x1016a210]
mov al, byte [0x1018cd2c]
mov cl, al
push ecx
push eax
push 0x4b
call fcn.1010d620
mov eax, dword [0x1016a210]
add esp, 0xc
cmp ebp, eax
je 0x1010ca9e
mov al, byte [0x1018cd2c]
inc al
push eax
mov byte [0x1018cd2c], al
call fcn.1010d610
mov edx, dword [esp + 0x9c]
add esp, 4
cmp ebp, edx
mov edi, ebp
jae 0x1010c7fb
mov eax, dword [esp + 0x94]
cmp edx, edi
jb 0x1010c7eb
cmp eax, ebx
je 0x1010c7eb
mov cl, byte [eax - 1]
cmp cl, bl
je 0x1010c7c0
cmp cl, 0xff
je 0x1010c7c0
push ebx
push edx
lea ecx, [esp + 0x98]
call fcn.1000c010
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x1010c7d6
mov byte [eax - 1], 0xff
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
lea ecx, [eax + edi*2]
jmp 0x1010c7f0
sub esi, dword [esp + 0x94]
sar esi, 1
mov ebp, esi
jmp 0x1010c747
mov ecx, 0x1016a1d8
cmp word [ecx], 0x2e
jne 0x1010c7fb
inc edi
cmp edx, edi
ja 0x1010c794
mov eax, dword [esp + 0xa0]
push ebp
mov dword [esp + 0x28], eax
push ebx
lea edx, [eax + ebp]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0x2c], edx
call fcn.10015220
mov cl, byte [eax]
sub esp, 0x18
mov esi, esp
mov byte [esp + 0x9c], 0x35
mov dword [esp + 0x40], esp
mov dword [esp + 0x44], esi
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [0x1016a210]
mov ecx, esi
push edx
push ebx
push eax
call fcn.1000ba60
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x9c], 0x36
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
push edx
mov byte [esp + 0xa0], 0x35
call fcn.1010b660
mov eax, dword [esp + 0x50]
mov byte [esp + 0x84], bl
cmp eax, ebx
je 0x1010c8af
mov cl, byte [eax - 1]
cmp cl, bl
je 0x1010c8a3
cmp cl, 0xff
je 0x1010c8a3
dec cl
mov byte [eax - 1], cl
jmp 0x1010c8af
add eax, 0xfffffffe
push eax
call fcn.101307a0
add esp, 4
mov eax, dword [esp + 0xa0]
lea ecx, [edi + eax]
lea edx, [eax + ebp]
mov eax, edi
mov dword [esp + 0x20], ecx
sub eax, ebp
lea ecx, [esp + 0x4c]
push eax
push ebp
push ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x30], edx
call fcn.10015220
mov dl, byte [eax]
sub esp, 0x18
mov esi, esp
mov byte [esp + 0x9c], 0x38
mov dword [esp + 0x44], esp
mov dword [esp + 0x40], esi
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x1016a210]
push ecx
push ebx
push eax
mov ecx, esi
call fcn.1000ba60
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov byte [esp + 0x9c], 0x39
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0xa4]
mov byte [esp + 0x9c], 0x38
push ecx
mov ecx, dword [esp + 0x30]
call fcn.1010b660
mov eax, dword [esp + 0x50]
mov byte [esp + 0x84], bl
cmp eax, ebx
je 0x1010c96a
mov cl, byte [eax - 1]
cmp cl, bl
je 0x1010c95e
cmp cl, 0xff
je 0x1010c95e
dec cl
mov byte [eax - 1], cl
jmp 0x1010c96a
add eax, 0xfffffffe
push eax
call fcn.101307a0
add esp, 4
mov edx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
lea ecx, [esp + 0x90]
lea eax, [edi + edx]
mov dword [esp + 0x24], eax
call fcn.10074a80
sub eax, edi
lea ecx, [esp + 0x4c]
push eax
push edi
push ecx
lea ecx, [esp + 0x9c]
call fcn.10015220
mov dl, byte [eax]
sub esp, 0x18
mov esi, esp
mov byte [esp + 0x9c], 0x3b
mov dword [esp + 0x44], esp
mov dword [esp + 0x40], esi
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x1016a210]
push ecx
push ebx
push eax
mov ecx, esi
call fcn.1000ba60
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x9c], 0x3c
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], ebp
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0xa0], 0x3b
call fcn.1010b660
mov eax, dword [esp + 0x50]
mov byte [esp + 0x84], bl
cmp eax, ebx
je 0x1010ca2b
mov cl, byte [eax - 1]
cmp cl, bl
je 0x1010ca1f
cmp cl, 0xff
je 0x1010ca1f
dec cl
mov byte [eax - 1], cl
jmp 0x1010ca2b
add eax, 0xfffffffe
push eax
call fcn.101307a0
add esp, 4
mov eax, 0x219
mov cl, byte [esp + 0x3d]
cdq
idiv dword [0x1018cd1c]
mov eax, dword [0x1018cd18]
inc cl
mov byte [esp + 0x3d], cl
mov dl, byte [edx + eax]
mov al, cl
mov cl, 0x52
push edx
imul cl
push eax
call fcn.1010d610
mov edx, dword [esp + 0x45]
add esp, 4
push eax
push edx
call fcn.1010d620
add esp, 0xc
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x84], 0xffffffff
cmp ecx, ebx
je 0x1010cb9c
mov al, byte [ecx - 1]
cmp al, bl
je 0x1010cb90
cmp al, 0xff
je 0x1010cb90
dec al
mov byte [ecx - 1], al
jmp 0x1010cb9c
mov ebp, dword [esp + 0x8c]
push 0x20
mov esi, dword [ebp + 4]
mov edi, dword [esi + 4]
call fcn.1013c2df
add esp, 4
cmp esi, ebx
mov ecx, esi
jne 0x1010cabd
mov ecx, eax
mov dword [eax], ecx
cmp edi, ebx
mov ecx, edi
jne 0x1010cac7
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea esi, [eax + 8]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x2c], esi
mov dword [ecx], eax
cmp esi, ebx
mov byte [esp + 0x84], 0x3f
je 0x1010cb38
mov al, byte [esp + 0x90]
push ebx
mov ecx, esi
mov byte [esi], al
call fcn.1000bc70
mov ecx, dword [0x1016a210]
lea edx, [esp + 0x90]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.1000ba60
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x84], 0x40
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0xa4]
mov dword [esi + 0x14], ecx
mov byte [esp + 0x84], 0x3f
mov edi, dword [ebp + 8]
mov eax, 0x9d
inc edi
mov byte [esp + 0x84], bl
cdq
mov dword [ebp + 8], edi
mov ecx, dword [0x1018cd18]
idiv dword [0x1018cd1c]
mov al, 0xe8
sub al, byte [edx + ecx]
imul byte [0x1018cd2c]
mov byte [0x1018cd2c], al
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x84], 0xffffffff
cmp ecx, ebx
je 0x1010cb9c
mov al, byte [ecx - 1]
cmp al, bl
je 0x1010cb90
cmp al, 0xff
je 0x1010cb90
dec al
mov byte [ecx - 1], al
jmp 0x1010cb9c
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 0x1c