Function at 0x10003b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019d9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1026e004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x40]
mov eax, dword [eax + 0x2fc]
push ecx
push 0xf02c
call eax
mov esi, eax
add esp, 8
or edi, 0xffffffff
test esi, esi
js 0x10003e60
push 0x10007800
push dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
call fcn.10006e50
xor edi, edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
mov ebx, dword [ebp - 0x2c]
push eax
push 0xf00d
mov eax, dword [ebx + 0x2fc]
call eax
mov esi, eax
add esp, 8
test esi, esi
js 0x10003e31
push 0x10007800
push dword [ebp - 0x58]
lea ecx, [ebp - 0x48]
call fcn.10006f00
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x3c]
push esi
push edi
mov eax, dword [edi]
call dword [eax + 0x40]
xor ecx, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
push esi
push edi
push eax
mov eax, dword [ebx + 0x2fc]
push 0xf020
call eax
mov esi, eax
add esp, 0x10
test esi, esi
js 0x10003d0c
push 0x10007800
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x34]
call fcn.10006fb0
mov dword [ebp - 0x28], 0x76ab
mov eax, 0x76c5
mov word [ebp - 0x24], ax
mov edx, 0x76c7
mov eax, 0x76df
mov ecx, 0x76cf
mov word [ebp - 0x22], ax
mov eax, 0x7685
mov word [ebp - 0x20], cx
mov word [ebp - 0x1e], dx
mov word [ebp - 0x1c], dx
mov word [ebp - 0x1a], ax
xor eax, eax
mov word [ebp - 0x18], cx
mov word [ebp - 0x16], dx
mov word [ebp - 0x14], dx
xor edx, edx
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x24]
mov ax, word [ebp + edx*2 - 0x24]
movzx ecx, ax
movzx eax, word [ebp - 0x28]
xor ecx, eax
mov word [ebp + edx*2 - 0x24], cx
inc edx
cmp edx, 9
jb 0x10003cd4
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x24]
xor eax, eax
mov word [ebp - 0x12], ax
push edx
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
mov esi, eax
test esi, esi
jns 0x10003d17
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x44]
jmp 0x10003e04
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x54]
push eax
mov edx, 0xf01a
mov ecx, ebx
call fcn.100066c0
mov esi, eax
add esp, 4
test esi, esi
jns 0x10003d56
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x50]
jmp 0x10003dd9
mov edi, dword [ebp - 0x54]
push ebx
push edi
mov eax, dword [edi]
call dword [eax + 0x30]
push dword [ebp - 0x34]
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
mov esi, dword [ebp - 0x3c]
push esi
push edi
call dword [eax + 0x40]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov dword [edx], esi
xor esi, esi
mov ebx, dword [edx + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], ebx
mov dword [edx + 4], eax
mov ecx, dword [edx + 8]
mov eax, dword [ebp - 0x48]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x44], ecx
mov dword [edx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x10], ecx
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov dword [edx + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [edx + 0x18], edi
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x50], ecx
mov edi, dword [ebp - 0x4c]
mov dword [edx + 0x1c], eax
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10003e04
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10003e04
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x40]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x10003e04
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10003e34
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10003e34
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x10003e34
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10003e34
mov ebx, dword [ebp - 0x38]
mov byte [ebp - 4], 0
test edi, edi
je 0x10003e5d
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10003e5d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10003e5d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x10003e89
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x10003e89
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x10003e89
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e04a9
mov esp, ebp
pop ebp
ret 8