Function at 0x100594dc
Capabilities:
Encode data using xor

Disassembly:
push 0x22c
mov eax, 0x101a5964
call fcn.101751dc
mov edi, ecx
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1f8], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x200], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1b8], esi
mov dword [ebp - 0x1f4], esi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c8], eax
xor ebx, ebx
cmp dword [edi + 0x1c], ebx
je 0x1005a1c6
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x114], 0x897c
mov eax, 0x8904
mov word [ebp - 0x110], ax
add eax, 0x1a
mov word [ebp - 0x10e], ax
mov edx, 0x891d
mov word [ebp - 0x10c], dx
lea eax, [edx - 0xe]
mov word [ebp - 0x10a], ax
add eax, 0xa
mov word [ebp - 0x108], ax
lea eax, [edx + 0x29]
mov word [ebp - 0x106], ax
mov word [ebp - 0x104], ax
add eax, 0x16
mov word [ebp - 0x102], ax
lea ecx, [edx + 0x18]
mov word [ebp - 0x100], cx
lea eax, [edx - 0xe]
mov word [ebp - 0xfe], ax
add eax, 0x30
mov word [ebp - 0xfc], ax
lea eax, [edx - 0xd]
mov word [ebp - 0xfa], ax
add eax, 9
mov word [ebp - 0xf8], ax
mov word [ebp - 0xf6], dx
add edx, 0xfffffff5
mov word [ebp - 0xf4], dx
mov word [ebp - 0xf2], cx
mov word [ebp - 0xf0], dx
lea eax, [ecx - 0x26]
mov word [ebp - 0xee], ax
add ecx, 0xffffffd3
mov word [ebp - 0xec], cx
dec eax
mov word [ebp - 0xea], ax
mov eax, 0x8909
mov word [ebp - 0xe8], ax
add eax, 0x16
mov word [ebp - 0xe6], ax
mov word [ebp - 0xe4], cx
mov ecx, 0x8915
mov word [ebp - 0xe2], cx
lea eax, [ecx - 2]
mov word [ebp - 0xe0], ax
mov word [ebp - 0xde], dx
add eax, 0x49
mov word [ebp - 0xdc], ax
lea eax, [ecx + 0x29]
mov word [ebp - 0xda], ax
add eax, 0xffffffdb
mov word [ebp - 0xd8], ax
lea eax, [ecx + 6]
mov word [ebp - 0xd6], ax
mov word [ebp - 0xd4], cx
mov word [ebp - 0xd2], dx
add eax, 0x41
mov word [ebp - 0xd0], ax
lea eax, [ecx + 0x44]
mov word [ebp - 0xce], ax
add eax, 0xfffffff3
mov word [ebp - 0xcc], ax
lea eax, [ecx + 0x2f]
mov word [ebp - 0xca], ax
add eax, 0xffffffc0
mov word [ebp - 0xc8], ax
xor eax, eax
mov word [ebp - 0xc6], ax
mov ax, word [ebp - 0x110]
mov edx, ebx
mov ax, word [ebp + edx*2 - 0x110]
movzx ecx, ax
movzx eax, word [ebp - 0x114]
xor ecx, eax
mov word [ebp + edx*2 - 0x110], cx
inc edx
cmp edx, 0x25
jb 0x100596b3
xor eax, eax
mov word [ebp - 0xc6], ax
mov ecx, dword [ebp - 0x1c4]
mov eax, dword [ecx]
push esi
lea edx, [ebp - 0x110]
push edx
push 2
push ecx
call dword [eax + 0x18]
add esp, 0x10
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1cc], ebx
call fcn.10034f92
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov eax, esi
mov dword [ebp - 0x1b4], eax
mov edi, dword [edi + 8]
mov esi, dword [edi]
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1fc], esi
cmp esi, edi
je 0x10059f86
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.1003494f
mov dword [ebp - 0x1f0], eax
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1d0]
jne 0x10059f86
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1ec], eax
push dword [ebp - 0x1f0]
lea eax, [ebp - 0x1ec]
push eax
push ecx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.100352f5
lea edx, [ebp - 0x190]
mov ecx, dword [ebp - 0x1b4]
call fcn.1002eaef
mov dword [ebp - 0x214], eax
test eax, eax
je 0x10059f86
push ebx
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x1b4]
lea eax, [ebp - 0x1b0]
push eax
mov ecx, dword [ebp - 0x1bc]
call fcn.10057fa5
mov eax, dword [esi + 0x20]
cmp eax, dword [ebp - 0x198]
je 0x10059a5b
mov edi, dword [ebp - 0x1b4]
cmp dword [ebp - 0x1c8], 0
je 0x10059831
push edi
call fcn.10058cfd
mov dword [ebp - 0x218], eax
mov edx, dword [ebp - 0x1c8]
mov ecx, dword [edx]
push eax
push edi
push dword [ebp - 0x1b8]
push edx
call dword [ecx]
test eax, eax
jne 0x10059f86
push dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1bc]
call fcn.100591f4
test eax, eax
jne 0x10059f86
push dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1bc]
call fcn.10058fa3
mov ecx, dword [ebp - 0x1c0]
push ecx
lea eax, [ebp - 0x190]
push eax
push edi
push dword [ebp - 0x1b8]
mov edi, dword [ebp - 0x1bc]
mov ecx, edi
call fcn.10058d8c
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x15c], 0x6041
mov eax, 0x6039
mov word [ebp - 0x158], ax
add eax, 0xffffffea
mov word [ebp - 0x156], ax
mov eax, 0x6020
mov word [ebp - 0x154], ax
lea edi, [eax + 0x12]
mov word [ebp - 0x152], di
lea edx, [eax + 4]
mov word [ebp - 0x150], dx
add eax, 0x5b
mov word [ebp - 0x14e], ax
mov word [ebp - 0x14c], ax
lea eax, [edi + 0x2f]
mov word [ebp - 0x14a], ax
add eax, 0xffffffb1
mov word [ebp - 0x148], ax
lea ecx, [edi - 0xa]
mov word [ebp - 0x146], cx
lea eax, [edi + 9]
mov word [ebp - 0x144], ax
mov word [ebp - 0x142], dx
add edx, 0x3d
mov word [ebp - 0x140], dx
add eax, 0xffffffd1
mov word [ebp - 0x13e], ax
mov word [ebp - 0x13c], cx
mov word [ebp - 0x13a], di
lea eax, [edi - 6]
mov word [ebp - 0x138], ax
add eax, 0xfffffff4
mov word [ebp - 0x136], ax
lea eax, [edi + 3]
mov word [ebp - 0x134], ax
add eax, 0xffffffed
mov word [ebp - 0x132], ax
lea eax, [edi - 9]
mov word [ebp - 0x130], ax
mov word [ebp - 0x12e], dx
add ecx, 0x3c
mov word [ebp - 0x12c], cx
add eax, 0x48
mov word [ebp - 0x12a], ax
lea eax, [edi + 0x47]
mov word [ebp - 0x128], ax
add eax, 0xffffffc0
mov word [ebp - 0x126], ax
mov word [ebp - 0x124], dx
mov word [ebp - 0x122], cx
lea eax, [edi - 0xd]
mov word [ebp - 0x120], ax
mov word [ebp - 0x11e], dx
mov word [ebp - 0x11c], cx
mov word [ebp - 0x11a], ax
xor eax, eax
mov word [ebp - 0x118], ax
mov ax, word [ebp - 0x158]
mov edx, ebx
push 0x20
pop edi
mov dword [ebp - 0x1d4], edx
cmp edx, edi
jae 0x10059a12
mov ax, word [ebp + edx*2 - 0x158]
movzx eax, ax
mov dword [ebp - 0x208], eax
movzx ecx, word [ebp - 0x15c]
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp - 0x208]
xor eax, ecx
mov word [ebp + edx*2 - 0x158], ax
mov edx, dword [ebp - 0x1d4]
inc edx
jmp 0x100599d1
xor eax, eax
mov word [ebp - 0x118], ax
mov ecx, dword [ebp - 0x1c4]
mov eax, dword [ecx]
push dword [ebp - 0x198]
push dword [esi + 0x20]
push dword [ebp - 0x1b4]
lea edx, [ebp - 0x158]
push edx
push 2
push ecx
call dword [eax + 0x18]
add esp, 0x18
mov byte [ebp - 4], 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1d0]
call fcn.10040f74
xor eax, eax
jmp 0x1005a1c9
push eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [esi + 0xc]
push eax
call fcn.10175af7
add esp, 0xc
test eax, eax
je 0x10059f41
mov edi, dword [ebp - 0x1b4]
cmp dword [ebp - 0x1c8], 0
je 0x10059aad
push edi
call fcn.10058cfd
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x1c8]
mov ecx, dword [edx]
push eax
push edi
push dword [ebp - 0x1b8]
push edx
call dword [ecx]
test eax, eax
jne 0x10059f86
push dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1bc]
call fcn.100591f4
test eax, eax
jne 0x10059f86
push dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1bc]
call fcn.10058fa3
push dword [ebp - 0x1c0]
lea eax, [ebp - 0x190]
push eax
push edi
push dword [ebp - 0x1b8]
mov edi, dword [ebp - 0x1bc]
mov ecx, edi
call fcn.10058d8c
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], 7
xor eax, eax
mov word [ebp - 0x174], ax
mov byte [ebp - 4], 5
push 0x10206bd4
lea eax, [ebp - 0x174]
push eax
call fcn.10057e5d
pop ecx
pop ecx
mov eax, ebx
mov dword [ebp - 0x1d8], eax
cmp eax, dword [esi + 0x20]
jae 0x10059b67
movzx eax, byte [ebp + eax - 0x1ac]
push eax
push str.__02x
lea eax, [ebp - 0x174]
push eax
call fcn.10057e5d
add esp, 0xc
mov eax, dword [ebp - 0x1d8]
inc eax
jmp 0x10059b36
push 0x10206be8
lea eax, [ebp - 0x174]
push eax
call fcn.10057e5d
pop ecx
pop ecx
mov eax, ebx
mov dword [ebp - 0x1dc], eax
cmp eax, dword [esi + 0x20]
jae 0x10059baa
movzx eax, byte [eax + esi + 0xc]
push eax
push str.__02x
lea eax, [ebp - 0x174]
push eax
call fcn.10057e5d
add esp, 0xc
mov eax, dword [ebp - 0x1dc]
inc eax
jmp 0x10059b7c
lea eax, [ebp - 0x174]
cmp dword [ebp - 0x160], 8
cmovae eax, dword [ebp - 0x174]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x1c0]
add ecx, 0x208
mov dword [ebp - 0x1c0], ecx
push eax
push 0x208
push ecx
call fcn.100079aa
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x1c4], ecx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0xc4], 0x5974
mov eax, dword [ebp - 0xc4]
xor eax, 0x78
mov word [ebp - 0xc0], ax
mov eax, dword [ebp - 0xc4]
inc eax
xor eax, 0x62
mov word [ebp - 0xbe], ax
mov eax, dword [ebp - 0xc4]
add eax, 2
xor eax, 0x61
mov word [ebp - 0xbc], ax
mov eax, dword [ebp - 0xc4]
add eax, 3
push 0x73
pop edx
xor eax, edx
mov word [ebp - 0xba], ax
mov eax, dword [ebp - 0xc4]
add eax, 4
xor eax, 0x65
mov word [ebp - 0xb8], ax
mov eax, dword [ebp - 0xc4]
add eax, 5
xor eax, 0x3a
mov word [ebp - 0xb6], ax
mov eax, dword [ebp - 0xc4]
add eax, 6
xor eax, 0x3a
mov word [ebp - 0xb4], ax
mov eax, dword [ebp - 0xc4]
add eax, 7
push 0x20
pop edi
xor eax, edi
mov word [ebp - 0xb2], ax
mov eax, dword [ebp - 0xc4]
add eax, 8
xor eax, 0x49
mov word [ebp - 0xb0], ax
mov eax, dword [ebp - 0xc4]
add eax, 9
push 0x6e
pop ecx
xor eax, ecx
mov word [ebp - 0xae], ax
mov eax, dword [ebp - 0xc4]
add eax, 0xa
xor eax, edx
mov word [ebp - 0xac], ax
mov eax, dword [ebp - 0xc4]
add eax, 0xb
xor eax, 0x74
mov word [ebp - 0xaa], ax
mov eax, dword [ebp - 0xc4]
add eax, 0xc
xor eax, 0x72
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0xc4]
add eax, 0xd
xor eax, 0x75
mov word [ebp - 0xa6], ax
mov eax, dword [ebp - 0xc4]
add eax, 0xe
xor eax, ecx
mov word [ebp - 0xa4], ax
mov eax, dword [ebp - 0xc4]
add eax, 0xf
xor eax, 0x63
mov word [ebp - 0xa2], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x10
xor eax, 0x74
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x11
xor eax, 0x69
mov word [ebp - 0x9e], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x12
xor eax, 0x6f
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x13
xor eax, ecx
mov word [ebp - 0x9a], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x14
xor eax, edi
mov word [ebp - 0x98], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x15
xor eax, 0x4d
mov word [ebp - 0x96], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x16
xor eax, 0x69
mov word [ebp - 0x94], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x17
xor eax, edx
mov word [ebp - 0x92], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x18
xor eax, 0x6d
mov word [ebp - 0x90], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x19
xor eax, 0x61
mov word [ebp - 0x8e], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x1a
xor eax, 0x74
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x1b
xor eax, 0x63
mov word [ebp - 0x8a], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x1c
xor eax, 0x68
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x1d
xor eax, edi
mov word [ebp - 0x86], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x1e
xor eax, 0x25
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x1f
xor eax, 0x30
mov word [ebp - 0x82], ax
mov eax, dword [ebp - 0xc4]
add eax, edi
xor eax, 0x38
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x21
xor eax, 0x78
mov word [ebp - 0x7e], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x22
xor eax, edi
mov word [ebp - 0x7c], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x23
xor eax, 0x25
mov word [ebp - 0x7a], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x24
xor eax, 0x6c
mov word [ebp - 0x78], ax
mov eax, dword [ebp - 0xc4]
add eax, 0x25
xor eax, edx
mov word [ebp - 0x76], ax
xor eax, eax
mov word [ebp - 0x74], ax
mov ax, word [ebp - 0xc0]
mov esi, ebx
mov eax, ebx
mov dword [ebp - 0x1e0], esi
lea edx, [ebp - 0xc0]
cmp eax, 0x26
jae 0x10059f05
lea edx, [edx + esi*2]
mov ax, word [edx]
movzx eax, ax
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0x1e0]
add eax, esi
movzx eax, ax
mov ecx, dword [ebp - 0x204]
xor ecx, eax
mov word [edx], cx
inc esi
mov eax, esi
jmp 0x10059ec4
xor eax, eax
mov word [ebp - 0x74], ax
mov ecx, dword [ebp - 0x1c4]
mov eax, dword [ecx]
push dword [ebp - 0x1c0]
push dword [ebp - 0x1b4]
push edx
push 2
push ecx
call dword [eax + 0x18]
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x174]
call fcn.1001701c
mov byte [ebp - 4], 6
jmp 0x10059a46
push ecx
push ebx
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x1b4]
call fcn.10058bea
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x10059f86
mov ecx, dword [ebp - 0x200]
test ecx, ecx
je 0x10059f79
mov eax, dword [ecx]
push ecx
call dword [eax + 0x70]
test eax, eax
jne 0x10059f86
mov eax, dword [ebp - 0x1b4]
mov esi, dword [esi]
inc dword [ebp - 0x1e4]
jmp 0x10059740
mov byte [ebp - 4], 7
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1d0]
call fcn.10040f74
or dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1bc]
jmp 0x10059fc2
mov esi, dword [eax + 0x20]
mov dword [ebp - 0x6c], 0x1695
mov eax, dword [ebp - 0x6c]
xor eax, 0x78
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x6c]
inc eax
xor eax, 0x62
mov word [ebp - 0x66], ax
mov eax, dword [ebp - 0x6c]
add eax, 2
xor eax, 0x61
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x6c]
add eax, 3
xor eax, 0x73
mov word [ebp - 0x62], ax
mov eax, dword [ebp - 0x6c]
add eax, 4
xor eax, 0x65
mov word [ebp - 0x60], ax
mov eax, dword [ebp - 0x6c]
add eax, 5
xor eax, 0x3a
mov word [ebp - 0x5e], ax
mov eax, dword [ebp - 0x6c]
add eax, 6
xor eax, 0x3a
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x6c]
add eax, 7
push 0x20
pop edi
xor eax, edi
mov word [ebp - 0x5a], ax
mov eax, dword [ebp - 0x6c]
add eax, 8
xor eax, 0x49
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x6c]
add eax, 9
xor eax, 0x73
mov word [ebp - 0x56], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xa
xor eax, 0x43
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xb
xor eax, 0x6c
mov word [ebp - 0x52], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xc
xor eax, 0x65
mov word [ebp - 0x50], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xd
xor eax, 0x61
mov word [ebp - 0x4e], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xe
push 0x6e
pop ecx
xor eax, ecx
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x6c]
add eax, 0xf
xor eax, 0x49
mov word [ebp - 0x4a], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x10
xor eax, ecx
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x11
xor eax, 0x73
mov word [ebp - 0x46], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x12
xor eax, 0x74
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x13
xor eax, 0x72
mov word [ebp - 0x42], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x14
xor eax, 0x75
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x15
xor eax, 0x63
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x16
xor eax, 0x74
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x17
xor eax, 0x69
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x18
xor eax, 0x6f
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x19
xor eax, ecx
mov word [ebp - 0x36], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1a
xor eax, edi
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1b
xor eax, 0x45
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1c
xor eax, ecx
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1d
xor eax, 0x64
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1e
xor eax, edi
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x1f
xor eax, 0x25
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x6c]
add eax, edi
xor eax, 0x30
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x21
xor eax, 0x38
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x6c]
add eax, 0x22
xor eax, 0x78
mov word [ebp - 0x24], ax
xor eax, eax
mov word [ebp - 0x22], ax
mov ax, word [ebp - 0x68]
mov ax, word [ebp + ebx*2 - 0x68]
movzx eax, ax
mov ecx, dword [ebp - 0x6c]
add ecx, ebx
xor ecx, eax
mov word [ebp + ebx*2 - 0x68], cx
inc ebx
cmp ebx, 0x23
jb 0x1005a196
xor eax, eax
mov word [ebp - 0x22], ax
mov ecx, dword [esi]
push edx
lea eax, [ebp - 0x68]
push eax
push 2
push esi
call dword [ecx + 0x18]
add esp, 0x10
xor eax, eax
inc eax
call fcn.10175129
ret 0x10