Function at 0x10036ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a0755
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x1039b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x74], edi
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 3
mov esi, dword [edx]
test esi, esi
je 0x1003728b
cmp dword [esi + 0x18], 0
je 0x1003728b
mov eax, dword [edx + 8]
mov esi, dword [esi + 0x18]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], esi
mov eax, dword [eax + 0x78]
test eax, eax
je 0x1003728b
mov edx, esi
add eax, esi
neg edx
sbb edx, edx
and edx, eax
mov dword [ebp - 0x9c], edx
je 0x1003728b
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x1c]
mov edx, dword [edx + 0x24]
add ecx, esi
add edx, esi
add eax, esi
je 0x1003728b
test ecx, ecx
je 0x1003728b
test edx, edx
je 0x1003728b
mov esi, dword [ebp - 0x9c]
xor edi, edi
cmp dword [esi + 0x18], edi
mov esi, dword [ebp - 0x80]
jbe 0x10036dce
mov dword [ebp - 0x8c], edx
mov edx, dword [eax + edi*4]
add edx, esi
mov dword [ebp - 0x88], ecx
mov ecx, edx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036cd1
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.100470a0
cmp dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x8c]
je 0x10036dbb
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov dword [ebp - 0x90], 0x81cc9dc5
cmova eax, dword [ebp - 0x40]
mov ecx, eax
mov dword [ebp - 0xb8], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036d20
mov eax, dword [ebp - 0x88]
sub ecx, edx
mov esi, dword [ebp - 0x8c]
mov edx, 0
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], esi
mov esi, dword [ebp - 0x80]
je 0x10036da0
mov eax, dword [ebp - 0x88]
mov esi, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], edi
mov edi, dword [ebp - 0xb8]
mov dword [ebp - 0x94], eax
nop
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1100192
cmp edx, ecx
jb 0x10036d80
mov edi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x90], esi
mov esi, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 0x98]
je 0x10036e53
mov edx, dword [ebp - 0x94]
mov esi, dword [ebp - 0x9c]
inc edi
cmp edi, dword [esi + 0x18]
mov esi, dword [ebp - 0x80]
jb 0x10036cb5
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
mov dword [esi], 0
cmp ecx, 0xf
jbe 0x10036e07
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036dfd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
call fcn.10125cbc
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp eax, 0xf
jbe 0x10037287
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003727d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003727d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x94]
movzx eax, word [eax + edi*2]
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x9c]
add edx, esi
cmp edx, ecx
jb 0x10037206
mov eax, dword [ebp - 0x84]
mov eax, dword [eax + 0x7c]
add eax, ecx
cmp edx, eax
jae 0x10037206
xor eax, eax
test edx, edx
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036e90
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100470a0
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmova edx, edi
test eax, eax
je 0x10036f48
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2e
je 0x10036eda
nop dword [eax + eax]
cmp ecx, edx
je 0x10036f48
dec ecx
cmp byte [ecx], 0x2e
jne 0x10036ed0
sub ecx, edx
lea esi, [ecx + 1]
mov edx, esi
mov ecx, esi
cmp esi, 0xffffffff
jne 0x10036f4e
mov esi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x14]
mov dword [esi], 0
cmp eax, 0xf
jbe 0x10036f24
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10036f1a
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edi
call fcn.10125cbc
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x10037287
inc ecx
jmp 0x1003725c
xor esi, esi
xor edx, edx
xor ecx, ecx
cmp dword [ebp - 0x18], edx
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0xf
push ecx
cmova eax, edi
mov dword [ebp - 0xa0], 0
push eax
lea ecx, [ebp - 0xb4]
movups xmmword [ebp - 0xb4], xmm0
call fcn.10019650
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x58]
call fcn.10046f90
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0xf
jbe 0x10036fd3
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036fc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
call fcn.10125cbc
add esp, 8
push 0x64
lea ecx, [ebp - 0x58]
call fcn.10023760
push 0x6c
lea ecx, [ebp - 0x58]
call fcn.10023760
push 0x6c
lea ecx, [ebp - 0x58]
call fcn.10023760
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
movups xmmword [ebp - 0xb4], xmm0
cmp eax, esi
jb 0x100372ae
sub eax, esi
mov ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push ecx
add eax, esi
lea ecx, [ebp - 0xb4]
push eax
call fcn.10019650
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x70]
call fcn.10046f90
mov ecx, dword [ebp - 0xa0]
cmp ecx, 0xf
jbe 0x1003708a
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037080
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
call fcn.10125cbc
add esp, 8
lea eax, [ebp - 0x70]
push eax
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.100187a0
lea ecx, [ebp - 0xa8]
call fcn.100362f0
add esp, 0x18
lea ecx, [ebp - 0x84]
mov edx, eax
call fcn.100372c0
mov esi, dword [ebp - 0x74]
add esp, 4
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax]
test eax, eax
jne 0x10037166
mov dword [esi], eax
cmp ecx, 0xf
jbe 0x100370fd
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100370f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
call fcn.10125cbc
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10037131
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037127
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
call fcn.10125cbc
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10036f24
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003715f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
jmp 0x10036f1c
mov dword [esi], eax
cmp ecx, 0xf
jbe 0x10037199
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003718f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
call fcn.10125cbc
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x100371cd
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100371c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
call fcn.10125cbc
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10036f24
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003715f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
jmp 0x10036f1c
mov esi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
mov dword [esi], edx
cmp ecx, 0xf
jbe 0x1003723f
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037235
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
call fcn.10125cbc
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp eax, 0xf
jbe 0x10037287
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x40]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003727d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10036e4d
push ecx
push edx
call fcn.10125cbc
add esp, 8
mov eax, esi
jmp 0x10037293
mov dword [edi], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1012583c
mov esp, ebp
pop ebp
ret
call fcn.100240a0
int3