Function at 0x100f33c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
mov ecx, dword [eax]
push ebx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x44]
cmp ebp, eax
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
je 0x100f341e
mov edi, dword [ebp]
mov ebx, edi
shl ebx, 4
cmp ecx, eax
push eax
mov dword [esp + 0x34], edi
push ebx
je 0x100f3402
mov eax, ecx
call fcn.100a43c0
jmp 0x100f3407
call fcn.100a3d30
mov esi, eax
add esp, 8
test esi, esi
je 0x100f3426
push ebx
push 0
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
jmp 0x100f3426
xor edi, edi
mov dword [esp + 0x30], edi
xor esi, esi
test edi, edi
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov word [ecx], di
mov dword [esp + 0x1c], esi
mov dword [edx], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], esi
jle 0x100f36cd
mov dword [esp + 0x28], 0
jmp 0x100f3464
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x45], 0
jne 0x100f36cd
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + edx]
test eax, eax
lea esi, [ecx + edx]
je 0x100f34a7
mov ecx, dword [eax + 4]
test ecx, 0x1000
je 0x100f34a7
test ecx, 0x40000
je 0x100f34a0
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
jmp 0x100f34a3
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100f3483
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x100f34f8
cmp byte [eax], 0x7a
jne 0x100f34bb
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x7a
je 0x100f34b3
mov dl, byte [eax]
cmp dl, 0x98
jne 0x100f34eb
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x100f34eb
movsx eax, word [eax + 0x20]
test eax, eax
jge 0x100f34d9
movsx eax, word [ecx + 0x20]
test eax, eax
jl 0x100f34e4
mov edx, dword [ecx + 4]
shl eax, 4
mov ecx, dword [eax + edx]
jmp 0x100f34f8
mov ecx, str.rowid
jmp 0x100f34f8
cmp dl, 0x37
jne 0x100f34f5
mov ecx, dword [eax + 8]
jmp 0x100f34f8
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x14]
push ecx
push 0x101549c4
call fcn.100a5d10
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
je 0x100f365d
mov esi, dword [esp + 0x44]
test esi, esi
je 0x100f3562
mov cl, byte [ebx]
xor eax, eax
test cl, cl
mov edx, ebx
je 0x100f3550
movzx ecx, cl
movzx ecx, byte [ecx + 0x1014e360]
lea edi, [eax*8]
xor ecx, edi
add edx, 1
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x100f3532
xor edx, edx
div dword [esp + 0x38]
mov ebp, dword [esi + edx*8 + 4]
mov edi, dword [esi + edx*8]
lea eax, [esi + edx*8]
jmp 0x100f356a
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x100f365d
movzx edx, byte [ebx]
movzx eax, byte [edx + 0x1014e360]
mov dword [esp + 0x34], eax
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x1014e360]
sub edi, 1
sub eax, dword [esp + 0x34]
jne 0x100f35ce
mov esi, ebx
sub esi, ecx
lea esp, [esp]
test dl, dl
je 0x100f35ca
movzx eax, byte [esi + ecx + 1]
movzx ebx, byte [eax + 0x1014e360]
mov dl, byte [ecx + 1]
add ecx, 1
movzx eax, dl
movzx eax, byte [eax + 0x1014e360]
sub eax, ebx
mov ebx, dword [esp + 0x20]
je 0x100f35a0
jmp 0x100f35ce
test eax, eax
je 0x100f35da
test edi, edi
mov ebp, dword [ebp]
jne 0x100f3580
jmp 0x100f365d
cmp dword [ebp + 8], 0
je 0x100f365d
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100f35e5
sub eax, edx
and eax, 0x3fffffff
mov ecx, eax
jle 0x100f361c
lea eax, [ecx - 1]
test eax, eax
jle 0x100f3614
movzx edx, byte [eax + ebx]
test byte [edx + 0x1014e460], 4
je 0x100f3614
sub eax, 1
test eax, eax
jg 0x100f3600
cmp byte [eax + ebx], 0x3a
jne 0x100f361c
mov ecx, eax
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
add esi, 1
push esi
push ebx
push ecx
push str._.z:_u
mov dword [esp + 0x34], esi
call fcn.100a5d10
add esp, 0x10
cmp esi, 3
mov ebx, eax
mov dword [esp + 0x20], ebx
jbe 0x100f3655
lea eax, [esp + 0x24]
push eax
push 4
call fcn.100a5f60
add esp, 8
test ebx, ebx
jne 0x100f3520
test ebx, ebx
mov esi, dword [esp + 0x2c]
mov dword [esi], ebx
je 0x100f36a8
push ebx
mov eax, esi
lea ecx, [esp + 0x3c]
call fcn.100a8110
add esp, 4
cmp eax, esi
jne 0x100f36a8
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x45], 0
jne 0x100f36a8
cmp byte [eax + 0x46], 0
jne 0x100f36a8
cmp dword [eax + 0xa4], 0
mov byte [eax + 0x45], 1
jle 0x100f36a1
mov dword [eax + 0xf8], 1
add dword [eax + 0x100], 1
mov eax, dword [esp + 0x18]
add dword [esp + 0x28], 0x18
add esi, 0x10
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x100f3460
lea ecx, [esp + 0x38]
push ecx
call fcn.100a7e20
mov ecx, dword [esp + 0x18]
add esp, 4
cmp byte [ecx + 0x45], 0
je 0x100f386b
cmp dword [esp + 0x18], 0
jle 0x100f37ae
mov ebp, dword [esp + 0x18]
mov ebx, esi
mov edi, ecx
mov esi, dword [ebx]
test esi, esi
je 0x100f379c
cmp dword [edi + 0x1c8], 0
je 0x100f371c
mov eax, esi
mov ecx, edi
call fcn.100a40a0
jmp 0x100f379c
cmp esi, dword [edi + 0x120]
jb 0x100f3743
cmp esi, dword [edi + 0x124]
jae 0x100f3743
mov edx, dword [edi + 0x11c]
mov dword [esi], edx
add dword [edi + 0x108], 0xffffffff
mov dword [edi + 0x11c], esi
jmp 0x100f379c
cmp dword [0x10177158], 0
je 0x100f3792
mov eax, dword [0x1018dac0]
test eax, eax
je 0x100f375f
push eax
call dword [0x101771b0]
add esp, 4
push esi
call dword [0x1017718c]
sub dword [0x1018d910], eax
sub dword [0x1018d934], 1
add esp, 4
push esi
call dword [0x10177184]
mov eax, dword [0x1018dac0]
add esp, 4
test eax, eax
je 0x100f379c
push eax
call dword [0x101771b8]
jmp 0x100f3799
push esi
call dword [0x10177184]
add esp, 4
add ebx, 0x10
sub ebp, 1
jne 0x100f36fb
mov esi, dword [esp + 0x1c]
mov ecx, edi
test esi, esi
je 0x100f384b
cmp dword [ecx + 0x1c8], 0
je 0x100f37cb
mov eax, esi
call fcn.100a40a0
jmp 0x100f384b
cmp esi, dword [ecx + 0x120]
jb 0x100f37f2
cmp esi, dword [ecx + 0x124]
jae 0x100f37f2
mov eax, dword [ecx + 0x11c]
mov dword [esi], eax
add dword [ecx + 0x108], 0xffffffff
mov dword [ecx + 0x11c], esi
jmp 0x100f384b
cmp dword [0x10177158], 0
je 0x100f3841
mov eax, dword [0x1018dac0]
test eax, eax
je 0x100f380e
push eax
call dword [0x101771b0]
add esp, 4
push esi
call dword [0x1017718c]
sub dword [0x1018d910], eax
sub dword [0x1018d934], 1
add esp, 4
push esi
call dword [0x10177184]
mov eax, dword [0x1018dac0]
add esp, 4
test eax, eax
je 0x100f384b
push eax
call dword [0x101771b8]
jmp 0x100f3848
push esi
call dword [0x10177184]
add esp, 4
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [ecx], 0
mov word [edx], 0
mov eax, 7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret