Function at 0x1000bb9d
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
add eax, 0xffffffb5
mov edx, dword [esp + 0x24]
mov dword [esp + 4], eax
add edx, 0xffffbff8
mov eax, dword [esp + 0x20]
add eax, 0xfffffe9b
mov dword [esp + 0x14], edx
mov dword [esp], eax
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x1c]
add eax, 0x47
push edi
mov dword [esp + 0x14], eax
lea edi, [ecx - 0x3fbe]
lea eax, [ecx - 0x4215]
xor ebp, 0x7f4d
cmp edi, eax
je 0x1000bf63
push ebx
lea eax, [edi + 0x3c77]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x2c]
cmp edx, eax
jge 0x1000bd97
mov eax, dword [esi]
cmp eax, dword [esi + 0xf4]
je 0x1000bc1d
mov dword [esi + 0x88], 0x10074118
mov ebp, ebx
mov ecx, dword [0x10055f54]
mov eax, 0xed1926
sub eax, dword [ecx + 0x7c]
sub eax, dword [esi + 0x50]
add dword [0x10074b1c], eax
mov eax, dword [ecx + 0x6c]
sub dword [esi + 0x9c], eax
mov eax, dword [0x10055f54]
mov ecx, dword [eax + 0x60]
add ecx, dword [esi + 0x48]
mov eax, dword [0x10074ae4]
add eax, 0xffd1205d
add eax, ecx
mov dword [0x10074ae4], eax
mov eax, dword [esi + 0xb0]
xor eax, dword [0x10074b34]
xor eax, 0x4b305
sub dword [0x10074a90], eax
mov eax, dword [esi + 0x88]
mov edx, dword [esi + 0x60]
mov ebx, dword [esi + 0x3c]
mov ecx, dword [eax + ebp]
add ebp, 4
mov eax, dword [0x10074b00]
add eax, 0xc289b91f
imul ebx, ecx
mov ecx, dword [esi + 0x58]
add eax, edx
xor dword [esi + 0x48], eax
lea eax, [edx - 0x145bb1]
add dword [esi + 0x28], eax
mov eax, dword [esi + 0x8c]
mov edx, ebx
shr edx, 0x10
mov byte [ecx + eax], dl
mov ecx, ebx
inc dword [esi + 0x58]
mov eax, dword [0x10055f54]
mov edx, dword [esi + 0x58]
shr ecx, 8
mov eax, dword [eax + 0x8c]
mov byte [edx + eax], cl
inc dword [esi + 0x58]
mov ecx, dword [0x10055f54]
mov eax, dword [ecx + 0xdc]
sub eax, dword [esi + 0x28]
add eax, 0x3dca2
add dword [ecx + 0x28], eax
mov eax, dword [0x10074a98]
mov ecx, dword [esi + 0x8c]
mov byte [eax + ecx], bl
inc dword [0x10074a98]
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0xa8]
sub eax, 0x1fb115
xor dword [esi + 0x60], eax
mov eax, dword [0x10055f54]
sub ecx, dword [eax + 0x50]
xor ecx, 0xfffecad2
sub dword [esi + 0xd8], ecx
mov eax, dword [0x10055f54]
mov ecx, dword [eax + 0xc0]
sub ecx, dword [eax + 0x7c]
xor ecx, dword [esi + 0xb0]
xor ecx, 0x3c8a4e0c
mov dword [esi + 0xb0], ecx
cmp ebp, 0x910
jl 0x1000bc1f
mov eax, dword [0x10055f54]
mov ecx, dword [esi + 0xa4]
sub ecx, 0x5c09a51
mov dword [eax + 0x3c], ecx
lea eax, [edi + 0x3cab]
push eax
lea eax, [edi + 0x3e18]
push eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffcf4
push eax
mov eax, edi
xor eax, 0x3efe
push eax
lea eax, [edi + 0x3cc2]
push eax
push esi
call fcn.1000c82b
mov edx, dword [esp + 0x3c]
add esp, 0x18
mov ebp, eax
xor ebx, ebx
lea ecx, [edx + 0x3cc2]
cmp edi, ecx
jge 0x1000be96
mov edi, dword [0x10055f54]
mov eax, dword [esi + 0xc0]
cmp eax, dword [edi + 0xf4]
jb 0x1000bdc5
mov dword [0x10074ac8], section..data
jmp 0x1000bddc
mov eax, dword [esi + 0xdc]
xor eax, 0x2c549
add dword [esi + 0xa4], eax
mov edi, dword [0x10055f54]
movzx ecx, byte [edi + 0x3c]
mov eax, dword [esi + 0x88]
movzx edx, byte [ebx + eax]
add ebx, 4
mov eax, dword [esi + 0x8c]
imul edx, ecx
mov ecx, dword [edi + 0x58]
mov byte [ecx + eax], dl
mov eax, dword [0x10055f54]
inc dword [eax + 0x58]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x7c]
lea eax, [edx - 0x1a1769]
add dword [esi + 0x48], eax
lea eax, [ecx - 0xd79d24]
or dword [esi + 0xf4], eax
mov eax, dword [0x10055f54]
mov eax, dword [eax + 0x34]
sub eax, 0x313ef
add dword [esi + 0xcc], eax
mov eax, dword [0x10055f54]
sub ecx, dword [eax + 0xf4]
lea eax, [edx - 0x1a1769]
sub ecx, 0xd2ea20
mov dword [esi], 0x2edea
add dword [esi + 0xa4], ecx
mov ecx, dword [0x10055f54]
xor dword [ecx + 0xd0], eax
mov ecx, 0xd79d24
mov eax, dword [0x10055f54]
sub ecx, dword [eax + 0x7c]
mov eax, 0x1446d4
add dword [esi + 0x48], ecx
mov ecx, dword [0x10055f54]
sub eax, dword [0x10074ae8]
add dword [ecx + 0x34], eax
cmp ebx, 0x2040
jge 0x1000bf61
jmp 0x1000bdd6
mov ebx, edx
mov dword [esp + 0x30], edi
and ebx, dword [esp + 0x14]
and ebx, 0x3efe
cmp edi, ebx
jle 0x1000bf61
mov eax, dword [0x10074b20]
xor eax, ebp
push eax
mov eax, dword [0x10074b10]
add eax, 0x3f02
push eax
mov eax, dword [0x10055f54]
mov eax, dword [eax + 0x84]
xor eax, 0x3c77
push eax
imul eax, dword [0x10074abc], 0x3cce
sub eax, dword [esi + 0x28]
push eax
mov eax, dword [esi + 0x94]
or eax, 0x3f45
push eax
mov eax, dword [esi + 0xe4]
or eax, 0x3fbe
push eax
mov eax, dword [0x10074a94]
and eax, 0x3f1e
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov eax, dword [esi + 0x64]
xor eax, dword [esi + 0x9c]
push eax
mov eax, dword [0x10055f54]
mov eax, dword [eax + 0xcc]
and eax, dword [esp + 0x20]
sub eax, edi
push eax
mov eax, dword [0x10074b0c]
or eax, dword [esp + 0x2c]
imul eax, dword [esi + 0x48]
push eax
mov eax, dword [esi + 0xc]
or eax, dword [esp + 0x1c]
imul eax, ebp
push eax
mov eax, dword [esi + 0x84]
or eax, edi
push esi
push eax
call sym.goa913xa1.dll_Stj6Hv6
mov eax, dword [esp + 0x48]
add esp, 0x18
inc eax
mov dword [esp + 0x30], eax
cmp eax, ebx
jg 0x1000beae
pop esi
pop ebx
mov eax, dword [esp + 8]
pop edi
add eax, 0x5f
pop ebp
pop ecx
pop ecx
ret