Function at 0x10036db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10314d45
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1043d400], 0
mov eax, dword [0x1060b504]
mov dword [ebp - 0x30], eax
jne 0x10036e52
mov byte [0x1043d400], 1
xor edi, edi
xor edx, edx
mov eax, edi
xor eax, dword [0x1043d430]
xor edx, dword [0x1043d434]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x2c]
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
shr ecx, 7
xor esi, eax
xor edx, ecx
mov dword [ebp - 0x2c], esi
mov ecx, esi
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [edi + 0x1043d401]
xor cl, byte [ebp - 0x2c]
mov byte [edi + 0x1043d401], cl
inc edi
cmp edi, 0x2f
jb 0x10036df4
push ecx
push 0x1043d42f
push 0x1043d401
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x2c], esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036e98
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1001a920
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, 0x1036f278
push esp
call fcn.10019bd0
mov byte [ebp - 4], 0
call fcn.1006c680
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx + 0x100], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10036f09
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10036eff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100374c4
push ecx
push edx
call fcn.102bb95a
add esp, 8
cmp byte [0x104a0500], 0
jne 0x10036f7e
mov byte [0x104a0500], 1
xor edi, edi
nop dword [eax + eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x104a0548]
xor edx, dword [0x104a054c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x2c]
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
shr ecx, 7
xor esi, eax
xor edx, ecx
mov dword [ebp - 0x2c], esi
mov ecx, esi
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [edi + 0x104a0501]
xor cl, byte [ebp - 0x2c]
mov byte [edi + 0x104a0501], cl
inc edi
cmp edi, 0x45
jb 0x10036f20
push ecx
push 0x104a0545
push 0x104a0501
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov dword [ebp - 4], 2
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x34], esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036fc4
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1001a920
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, 0x1036f278
push esp
call fcn.10019bd0
mov byte [ebp - 4], 2
call fcn.1006c680
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx + 0x104], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10037035
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003702b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100374c4
push ecx
push edx
call fcn.102bb95a
add esp, 8
cmp byte [0x104a03b0], 0
jne 0x100370ac
mov byte [0x104a03b0], 1
xor edi, edi
nop word [eax + eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x104a03e0]
xor edx, dword [0x104a03e4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x2c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x2c], eax
mov ecx, edx
mov eax, dword [ebp - 0x2c]
shrd eax, ecx, 7
xor dword [ebp - 0x2c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x2c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x2c]
xor cl, byte [edi + 0x104a03b1]
mov byte [edi + 0x104a03b1], cl
inc edi
cmp edi, 0x29
jb 0x10037050
push ecx
push 0x104a03d9
push 0x104a03b1
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov dword [ebp - 4], 4
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x34], esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100370f2
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1001a920
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, 0x1036f278
push esp
call fcn.10019bd0
mov byte [ebp - 4], 4
call fcn.1006c680
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx + 0x108], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10037163
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037159
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100374c4
push ecx
push edx
call fcn.102bb95a
add esp, 8
cmp byte [0x10498a60], 0
jne 0x100371d1
mov byte [0x10498a60], 1
xor edi, edi
xor edx, edx
mov eax, edi
xor eax, dword [0x10498a78]
xor edx, dword [0x10498a7c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x2c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x2c], eax
mov ecx, edx
mov eax, dword [ebp - 0x2c]
shrd eax, ecx, 7
xor dword [ebp - 0x2c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x2c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x2c]
xor cl, byte [edi + 0x10498a61]
mov byte [edi + 0x10498a61], cl
inc edi
cmp edi, 0x17
jb 0x10037175
push ecx
push 0x10498a77
push 0x10498a61
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov dword [ebp - 4], 6
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x34], esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037217
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1001a920
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, 0x1036f278
push esp
call fcn.10019bd0
mov byte [ebp - 4], 6
call fcn.1006c8a0
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ecx + 0x3c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10037287
mov edx, dword [ebp - 0x28]
inc ecx
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 0x100374c4
push ecx
push edx
call fcn.102bb95a
add esp, 8
cmp byte [0x10493230], 0
jne 0x100372fe
mov byte [0x10493230], 1
xor edi, edi
nop dword [eax]
xor edx, edx
mov eax, edi
xor eax, dword [0x10493250]
xor edx, dword [0x10493254]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x2c]
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
shr ecx, 7
xor esi, eax
xor edx, ecx
mov dword [ebp - 0x2c], esi
mov ecx, esi
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [edi + 0x10493231]
xor cl, byte [ebp - 0x2c]
mov byte [edi + 0x10493231], cl
inc edi
cmp edi, 0x1a
jb 0x100372a0
push ecx
push 0x1049324a
push 0x10493231
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov dword [ebp - 4], 8
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x34], esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037344
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1001a920
sub esp, 0x18
mov byte [ebp - 4], 9
mov ecx, 0x1036f278
push esp
call fcn.10019bd0
mov byte [ebp - 4], 8
call fcn.1006cac0
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ecx + 0x40], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100373b4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100373aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100374c4
push ecx
push edx
call fcn.102bb95a
add esp, 8
cmp byte [0x104a6d60], 0
jne 0x10037422
mov byte [0x104a6d60], 1
xor edi, edi
xor edx, edx
mov eax, edi
xor eax, dword [0x104a6d88]
xor edx, dword [0x104a6d8c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x2c], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0x2c], eax
mov ecx, edx
mov eax, dword [ebp - 0x2c]
shrd eax, ecx, 7
xor dword [ebp - 0x2c], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0x2c]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0x2c]
xor cl, byte [edi + 0x104a6d61]
mov byte [edi + 0x104a6d61], cl
inc edi
cmp edi, 0x25
jb 0x100373c6
push ecx
push 0x104a6d85
push 0x104a6d61
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov dword [ebp - 4], 0xa
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x34], esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10037468
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.1001a920
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, 0x1036f278
push esp
call fcn.10019bd0
mov byte [ebp - 4], 0xa
call fcn.1006c680
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0x11c], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100374d4
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100374ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100374ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
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.102bb91c
mov esp, ebp
pop ebp
ret