Function at 0x1001a72a
Capabilities:
Create directory
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
mov dword [ebp - 0x44], edx
xor ebx, ebx
mov dword [ebp - 4], 4
mov dword [ebp - 0x14], 0xffffffff
push esi
mov byte [ebp - 9], bl
push edi
mov edi, ecx
cmp byte [ebp - 9], bl
je 0x1001a75b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], 0xffffffef
mov esi, 0xffff
cmp dword [ebp - 4], 0xc
push 1
pop ecx
jge 0x1001a80a
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0xee91b76e
mov dword [ebp - 8], ebx
jmp 0x1001a794
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x78], 0x2c9bf5e4
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1001a786
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
sub eax, 0x3ca3691f
imul eax, dword [ebp - 4]
push 1
sub eax, 5
neg eax
sbb eax, eax
xor edx, edx
inc eax
imul ecx, eax, 0xdd97
mov eax, dword [ebp - 4]
cmp ecx, eax
pop ecx
setg dl
imul edx, dword [ebp - 0x10]
imul edx, dword [ebp - 0x10]
neg edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xc
jl 0x1001a774
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], 0x89afca86
mov dword [ebp - 0x48], 4
mov dword [ebp - 8], ebx
jmp 0x1001a832
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x50], 0xaf11
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1001a824
mov dword [ebp - 4], ebx
jmp 0x1001a91a
mov dword [ebp - 0x10], 0xe0091df8
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], 0x2e6c0b33
mov dword [ebp - 8], ecx
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], 0xf47f28a9
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x50], ecx
je 0x1001a8f8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], 0x10b42b8f
mov dword [ebp - 8], ebx
jmp 0x1001a8b1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jle 0x1001a8a8
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ebx
jl 0x1001a908
mov dword [ebp - 8], ebx
jmp 0x1001a8ec
push 0xe5f
push 0x2d05
push 0x33d7
lea eax, [ebp - 0x2e]
mov byte [ebp - 0x2e], bl
push eax
push ebx
call fcn.1001be84
add esp, 0x14
xor cl, cl
call fcn.1001a440
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jle 0x1001a8c3
dec dword [ebp - 0x10]
jns 0x1001a8be
jmp 0x1001a908
mov byte [ebp - 9], bl
cmp byte [ebp - 9], bl
je 0x1001a908
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [ebp - 0x4c]
push eax
push ebx
call fcn.1001c34f
inc dword [ebp - 4]
pop ecx
pop ecx
push 1
pop ecx
cmp dword [ebp - 4], ebx
jle 0x1001a83f
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xfffffffd
mov dword [ebp - 0x14], 0xfffffffb
push 2
mov dword [ebp - 0x20], 0xa2ca335c
mov dword [ebp - 4], ebx
pop esi
jmp 0x1001a954
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x8c], 0xcf8
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001a943
mov dword [ebp - 4], ebx
jmp 0x1001a96f
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xa4], 0x95e0e2bf
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001a95e
cmp dword [ebp - 0x18], ebx
je 0x1001a9f3
xor ecx, ecx
mov dword [ebp - 0x14], 0x5059b8bc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0x60a421e0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
setne cl
sub edx, ecx
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp - 0x8c]
setg cl
imul edx, ecx, 0x4d39
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setne cl
xor eax, eax
cmp ecx, 0x63069be5
setg al
add eax, 0x4cbed562
cmp dword [ebp - 0x14], eax
jl 0x1001a9e0
cmp dword [ebp - 0x20], ebx
je 0x1001a9e0
xor edx, edx
inc edx
mov ecx, edx
jmp 0x1001a9e5
xor edx, edx
mov ecx, ebx
inc edx
mov eax, dword [ebp - 0x8c]
sub ecx, eax
je 0x1001a9f3
mov eax, edx
jmp 0x1001a9f8
xor edx, edx
mov eax, ebx
inc edx
mov dword [ebp - 0xa0], eax
cmp dword [edi + 0x10], ebx
jne 0x1001aa0a
xor al, al
jmp 0x1001b099
mov dword [ebp - 0x2c], 0x34bf8f0a
mov dword [ebp - 0x14], 0x307d7c11
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 8], 0x320e32cf
mov dword [ebp - 0x40], 0x49aaed6b
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], 0x47c914a3
mov dword [ebp - 0x48], 5
mov dword [ebp - 4], ebx
jmp 0x1001aa67
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x74], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jl 0x1001aa5d
cmp dword [ebp - 0x14], ebx
jne 0x1001aaad
mov eax, dword [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
setle dl
imul edx, dword [ebp - 8]
mov eax, dword [ebp - 0x58]
imul edx, edx, 0x5bb0
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setge cl
cmp dword [ebp - 0x40], ecx
jle 0x1001aaaa
mov edx, ebx
jmp 0x1001aaad
xor edx, edx
inc edx
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp edx, eax
sete cl
cmp ecx, 0xffffffff
je 0x1001aabf
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], ebx
jne 0x1001aadb
cmp dword [ebp - 0x58], ebx
jne 0x1001aadb
cmp dword [ebp - 0x40], ebx
jne 0x1001aadb
mov edx, ebx
jmp 0x1001aade
xor edx, edx
inc edx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp edx, eax
setg cl
sub ecx, 6
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
je 0x1001ab09
cmp dword [ebp - 0x10], ebx
je 0x1001ab09
xor edx, edx
inc edx
jmp 0x1001ab0b
mov edx, ebx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp eax, edx
setge cl
sub ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x58]
cmp ecx, 0x9afff74b
sbb eax, eax
xor ecx, ecx
neg eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x48]
cmp eax, 8
mov eax, dword [ebp - 8]
setl cl
sub ecx, eax
imul eax, ecx, 0x963e
xor ecx, ecx
cmp eax, 0xb100
mov eax, dword [ebp - 0x10]
setg cl
cmp ecx, 0xcc425f8e
sbb ecx, ecx
neg ecx
sub ecx, eax
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x40]
sub ecx, eax
cmp ecx, dword [ebp - 0x1c]
jg 0x1001ab7f
cmp dword [ebp - 0x2c], ebx
jne 0x1001ab7f
mov ecx, ebx
jmp 0x1001ab82
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x1c]
add ecx, 0xffff39a0
xor edx, edx
cmp ecx, eax
setge dl
xor ecx, ecx
mov dword [ebp - 0x14], edx
inc ecx
mov dword [ebp - 4], 0x1c77dcd
mov dword [ebp - 0x20], 0xbf118c84
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ebx
jmp 0x1001abbc
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x24], 0xc03342eb
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1001abae
mov dword [ebp - 4], ebx
jmp 0x1001abd4
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x28], 0xfffffff8
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1001abc6
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 0xffffffeb
jg 0x1001ad91
mov dword [ebp - 8], 0xfffffff8
mov dword [ebp - 0x14], 0xfffffff9
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], 3
mov dword [ebp - 4], ebx
jmp 0x1001ac10
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x84], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x1001ac03
mov dword [ebp - 4], ebx
jmp 0x1001ac29
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x70], 0x97736eae
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001ac1b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jne 0x1001ac46
dec dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
jne 0x1001ac46
mov ecx, ebx
mov eax, dword [ebp - 0x28]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x28]
sete dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x14]
mov edx, 0x36d0
sete cl
sub edx, ecx
xor ecx, ecx
cmp edx, eax
setle cl
xor edx, edx
mov dword [ebp - 0x7c], ecx
neg ecx
mov eax, dword [ebp - 8]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setle dl
xor ecx, ecx
cmp eax, edx
setl cl
cmp ecx, dword [ebp - 0x28]
jg 0x1001ac8c
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], ebx
mov esi, dword [ebp - 8]
neg esi
sbb esi, esi
neg esi
sub esi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 8]
neg esi
mov eax, dword [ebp - 8]
sbb esi, esi
xor edx, edx
inc esi
cmp ecx, eax
setne dl
add edx, esi
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x80], eax
jg 0x1001acf0
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x2c]
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
cmp ecx, 0xfffffffc
jae 0x1001acf0
xor ecx, ecx
inc ecx
jmp 0x1001acf2
mov ecx, ebx
mov eax, dword [ebp - 8]
add eax, ecx
je 0x1001ad03
cmp dword [ebp - 4], ebx
je 0x1001ad03
xor eax, eax
inc eax
jmp 0x1001ad05
mov eax, ebx
xor edx, edx
cmp eax, 0xe20
mov eax, dword [ebp - 0x2c]
sete dl
xor ecx, ecx
cmp edx, eax
setne cl
sub ecx, 0xf2ec
cmp ecx, dword [ebp - 0x10]
jne 0x1001ad2d
cmp dword [ebp - 4], ebx
jne 0x1001ad2d
mov edx, ebx
jmp 0x1001ad30
xor edx, edx
inc edx
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x28]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setge dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x80]
setg cl
sub eax, ecx
cmp eax, dword [ebp - 0x28]
jg 0x1001add2
cmp dword [ebp - 0x28], ebx
je 0x1001add2
mov dword [ebp - 4], 0xfffffff2
jmp 0x1001ad78
mov byte [ebp - 9], bl
cmp byte [ebp - 9], bl
je 0x1001ad75
push ebx
call fcn.1001c259
pop ecx
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xfffffff1
jle 0x1001ad66
xor ecx, ecx
inc ecx
dec dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xffffffeb
push 2
pop esi
jle 0x1001abe6
mov byte [ebp - 9], bl
cmp byte [ebp - 9], bl
je 0x1001ada0
push ebx
call fcn.1001c15d
pop ecx
push 0x665a
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.1001bfc3
add esp, 0xc
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], ebx
jmp 0x1001adf9
xor ecx, ecx
mov dword [ebp - 0x10], ebx
inc ecx
jmp 0x1001ade4
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x28], ebx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ecx
jl 0x1001adda
jmp 0x1001ad81
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x68], 0x5b57
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x1001adeb
xor ecx, ecx
mov dword [ebp - 4], ebx
inc ecx
jmp 0x1001ae14
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x38], 0xc184c506
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1001ae06
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], ebx
jl 0x1001ae90
mov dword [ebp - 8], ecx
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], ebx
jl 0x1001ae8b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x68]
mov eax, dword [ebp - 0x38]
cmp dword [ebp + eax*4 - 0x68], ecx
jg 0x1001ae5d
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x68], ecx
mov byte [ebp - 9], bl
cmp byte [ebp - 9], bl
je 0x1001ae7d
push ebx
push 0xec9
call fcn.1001c554
pop ecx
pop ecx
jmp 0x1001ae7d
mov byte [ebp - 9], bl
cmp byte [ebp - 9], bl
je 0x1001ae7d
push 0x554b
push 0x168b
push 0x5a20
push ebx
call fcn.1001c18a
add esp, 0x10
mov eax, dword [ebp - 0x94]
dec dword [ebp - 8]
jns 0x1001ae2c
xor ecx, ecx
inc ecx
dec dword [ebp - 0x38]
jns 0x1001ae21
cmp dword [edi + 0x14], 0x10
jb 0x1001ae9a
mov ecx, dword [edi]
jmp 0x1001ae9c
mov ecx, edi
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x3c], ecx
jb 0x1001aea9
mov edx, dword [edi]
jmp 0x1001aeab
mov edx, edi
mov eax, dword [edi + 0x10]
add eax, edx
cmp ecx, eax
je 0x1001b097
mov dword [ebp - 8], 0xd29be1d9
mov dword [ebp - 8], ebx
jmp 0x1001aed5
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xb0], 0x648261f9
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x1001aec4
push 0x7482
push 0x1ccc
lea eax, [ebp - 0x2d]
mov byte [ebp - 0x2d], bl
push eax
push ebx
call fcn.1001bf64
mov dword [ebp - 8], esi
add esp, 0x10
cmp dword [ebp - 8], ebx
jl 0x1001af0e
mov eax, dword [ebp - 8]
cmp dword [ebp + eax*4 - 0xb0], ebx
jne 0x1001af0e
dec dword [ebp - 8]
jns 0x1001aefd
mov eax, dword [ebp - 0x3c]
mov al, byte [eax]
cmp al, 0x30
jl 0x1001af35
cmp al, 0x39
jg 0x1001af35
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.1001c075
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
inc ecx
jmp 0x1001ae9c
mov dword [ebp - 4], 0xe83c773
mov dword [ebp - 8], ebx
jmp 0x1001af52
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xcc], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x1001af41
mov dword [ebp - 4], ebx
jmp 0x1001af6f
mov byte [ebp - 9], bl
cmp byte [ebp - 9], bl
je 0x1001af6c
mov cl, 1
call fcn.1001a440
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jle 0x1001af5d
mov dword [ebp - 4], ebx
jmp 0x1001af8b
mov byte [ebp - 9], bl
cmp byte [ebp - 9], bl
je 0x1001af88
push ebx
call fcn.1001c8cd
pop ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jle 0x1001af79
mov eax, dword [ebp - 0x44]
push 0x16
pop esi
mov dword [eax], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x10], ebx
jmp 0x1001b089
mov dword [ebp - 8], 0xeede0b40
mov dword [ebp - 8], ebx
jmp 0x1001afc0
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xc0], 0xfffffffa
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x1001afaf
mov dword [ebp - 8], ebx
jmp 0x1001b07d
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], ebx
jmp 0x1001b070
mov dword [ebp - 4], 0xc1188e17
mov dword [ebp - 4], ebx
jmp 0x1001aff7
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x34], 0x121f
inc dword [ebp - 4]
cmp dword [ebp - 4], 1
jl 0x1001afe9
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
jl 0x1001b06d
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x34], ebx
je 0x1001b029
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x34], ebx
je 0x1001b029
xor ecx, ecx
inc ecx
jmp 0x1001b02b
mov ecx, ebx
mov eax, dword [ebp - 0x34]
sub ecx, eax
mov edx, dword [ebp - 4]
add edx, ecx
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
sub edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
cmp edx, eax
setg cl
xor edx, edx
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
mov eax, dword [ebp - 4]
setg dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x34]
cmp eax, edx
setg cl
mov dword [ebp - 0xb4], ecx
dec dword [ebp - 4]
jns 0x1001b005
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 7
jne 0x1001afdd
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jne 0x1001afce
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], esi
jne 0x1001afa3
jmp 0x1001aa03
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret