Function at 0x100f5740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x38], 0
xor eax, eax
mov word [ebp - 8], ax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 1], 0
push 0xe2e
push 0
call fcn.1010351f
add esp, 8
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.10005830
add esp, 8
push 0x113
movzx ecx, word [ebp - 8]
push ecx
call fcn.100d9c80
add esp, 8
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x10], 0x17a
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
movzx edx, byte [ebp - 1]
push edx
call fcn.100dd520
add esp, 0xc
movzx eax, byte [ebp - 1]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
push 0x113
call fcn.10006ef0
add esp, 0x18
mov dword [ebp - 0x20], eax
imul edx, dword [ebp - 0x10], 0x1a6
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x28], 0
imul ecx, dword [ebp - 0x1c], 0x28d
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x2db
mov dword [ebp - 0x20], edx
movzx eax, byte [ebp - 1]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0x96a
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.100db460
add esp, 0x18
push 0xaa2
mov edx, dword [ebp - 0x40]
push edx
push 0x1fd
movzx eax, byte [ebp - 1]
push eax
call fcn.100dbe50
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.100dd580
add esp, 0x10
movzx eax, word [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.100dd5f0
add esp, 0x10
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
movzx edx, word [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.100dd0f0
add esp, 0x1c
mov edx, dword [ebp - 0x24]
xor edx, 0x7d
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x24]
add eax, 0x47
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x3c]
push ecx
movzx edx, byte [ebp - 1]
push edx
lea eax, [ebp - 0x20]
push eax
movzx ecx, byte [ebp - 1]
push ecx
call fcn.100dd640
add esp, 0x10
mov dword [ebp - 0x24], 0x1a0
mov dword [ebp - 0x10], 0x41c
imul edx, dword [ebp - 0x24], 0x55
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
push eax
movzx ecx, word [ebp - 8]
push ecx
movzx edx, word [ebp - 8]
push edx
call fcn.100da8d0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x2a6
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x10], 0x18d
mov ecx, dword [ebp - 0x24]
sub ecx, 0x23a
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.100dd6a0
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
shl ecx, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x18]
xor edx, 0x296
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x20], 1
jle 0x100f59f3
mov dword [ebp - 0xc], 0x1be
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x14]
test edx, edx
jne 0x100f59d8
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x18]
imul ecx, dword [ebp - 0x30]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
sub eax, 1
imul eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x24]
sub ecx, 1
imul ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], 0xffffff5c
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.101016f0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x30]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x30]
xor edx, 0x3d2
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
sub edx, 0x88
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x30]
xor eax, 0x2bc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
jne 0x100f5a30
mov ecx, dword [ebp - 0x18]
xor ecx, 0x2cb
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x28], 0
push 0x340
mov ecx, dword [ebp - 0x3c]
push ecx
movzx edx, byte [ebp - 1]
push edx
call fcn.100d9410
add esp, 0xc
mov dword [ebp - 0x28], eax
imul eax, dword [ebp - 0x20], 0xf7
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 0xf546
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x18], 0
mov edx, 0x25
sub edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x20]
add eax, 0x29
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x3b8
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x27f
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov ecx, 1
test ecx, ecx
je 0x100f5b72
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0xc]
add eax, 0x7a
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0x1d
mov eax, 0x340
cdq
idiv dword [ebp - 0x24]
test edx, edx
jne 0x100f5b4c
mov dword [ebp - 0xc], 0x1db
imul ecx, dword [ebp - 0x1c], 0x149
mov dword [ebp - 0xc], ecx
mov eax, 0x340
cdq
idiv dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
imul ecx, dword [ebp - 0x14], 0x1d7
mov dword [ebp - 0x1c], ecx
push 0x340
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x100f5d54
mov edx, dword [ebp - 0xc]
sub edx, 0x2d0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], 0x21c
mov eax, dword [ebp - 0x24]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x100f5d4a
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
xor edx, 0x40
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x30]
jge 0x100f5ca5
mov edx, dword [ebp - 0xc]
xor edx, 0x156
mov dword [ebp - 0x14], edx
imul eax, dword [ebp - 0x14], 0x2b9
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x30b
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x14], 0x5e5f1
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
xor ecx, 0x3e
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 0x97
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc]
imul edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x100f5c0b
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x125
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc], 0xfffffff6
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x30]
jge 0x100f5d30
mov dword [ebp - 0xc], 0xfffffe8a
mov ecx, 0x2ab
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.101016f0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x10]
sub eax, 0x22c
mov dword [ebp - 0xc], eax
mov ecx, 0xe
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
imul ecx, dword [ebp - 0x10], 0x152
mov dword [ebp - 0xc], ecx
jmp 0x100f5cc5
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x21
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x28], 0
movzx ecx, word [ebp - 8]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
movzx eax, byte [ebp - 1]
push eax
call fcn.100d6ea0
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
movzx eax, byte [ebp - 1]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100dd6c0
add esp, 0x10
mov dword [ebp - 0xc], 0x2a7
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x20]
xor eax, 0x349
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x30], 1
jle 0x100f5e04
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
xor eax, 0x37d
mov dword [ebp - 0x1c], eax
mov ecx, 0x109
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0x18]
test edx, edx
jne 0x100f5dda
mov eax, dword [ebp - 0x30]
cdq
idiv dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], 0x16269
mov eax, dword [ebp - 0xc]
sub eax, 1
imul eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 1
imul ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x34], ecx
mov edx, 0x2a6
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
imul eax, dword [ebp - 0x20], 0x367
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x100f5f8d
mov edx, dword [ebp - 0x24]
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x2a4
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0xffffff47
cmp dword [ebp - 0x44], 0
je 0x100f5f83
mov edx, dword [ebp - 0xc]
sub edx, 1
imul edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x48]
mov dword [ebp - 0x2c], edx
imul eax, dword [ebp - 0x14], 0x3d4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x10], 0
je 0x100f5f12
imul ecx, dword [ebp - 0x14], 0x3b6
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.101016f0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
imul eax, dword [ebp - 0x20], 0x6c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x14]
add edx, 0x1e
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x100f5eb8
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
sub eax, 1
imul eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x10], 0
je 0x100f5f72
mov dword [ebp - 0x24], 0x509
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.101016f0
add esp, 0xc
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x14]
sub edx, 0x89
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x100f5f28
mov dword [ebp - 0x1c], 0x1c594
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0xc]
xor edx, 0x10d
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.1010350f
add esp, 4
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x50]
mov esp, ebp
pop ebp
ret