joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404a71
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x428f10]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x404ab7
cmp word [ebx], dx
jne 0x404ab7
or byte [eax + edi + 0x28], 4
jmp 0x404abc
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x404c1f
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x404bff
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x404afd
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x404b33
cmp eax, edx
jae 0x404b41
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x404ad8
jmp 0x404c1f
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404bfa
cmp dword [ebp - 0x18], 0
je 0x404bfa
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x428f10]
test byte [eax + edi + 0x28], 0x48
je 0x404bd0
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x404b94
mov word [esi], cx
jmp 0x404bcb
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x428f10]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x428f10]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x428f10]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x404c1f
pop eax
cmp word [ebp - 4], ax
jne 0x404be0
cmp esi, ebx
jne 0x404be0
mov word [esi], ax
jmp 0x404c1c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040486b
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x404c1f
push 0xd
pop eax
jmp 0x404bdb
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x428f10]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x404c19
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x404c1f
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40d16c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x420bf8
push 0x420bf0
push str.FlsAlloc
push 0x1f
call fcn.0040d02b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d1a0
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f17c]
call esi
jmp 0x40d1a6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d1ea
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x420c08
push 0x420c00
push str.FlsGetValue
push 0x21
call fcn.0040d02b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d221
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f17c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40d229
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x420c10
push 0x420c08
push str.FlsSetValue
push 0x22
call fcn.0040d02b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d263
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41f17c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40f5a0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40f63d
push ebx
push esi
call fcn.0040f569
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040d41e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40f5ea
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f63c
push edi
push eax
call fcn.0040bab7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40f60a
call fcn.0040aef3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f63b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040d41e
add esp, 0x20
test eax, eax
jne 0x40f629
push edi
call fcn.0040aef3
jmp 0x40f631
push ebx
call fcn.0040aef3
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4160e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41610d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41610d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x416860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov dword [ebp - 4], edx
mov edx, ecx
push ecx
lea ecx, [ebp - 0x208]
call fcn.004198b0
mov edx, dword [ebp + 0x10]
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp + 8], 0
mov dword [edx], eax
test eax, eax
jle 0x41691b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, ebx
mov esi, eax
sub edi, eax
sub ecx, eax
mov dword [ebp - 4], ecx
nop dword [eax + eax]
lea edx, [ecx + esi]
push esi
lea ecx, [ebp - 0x208]
call fcn.00418960
lea ecx, [ebx + 0xf]
add esp, 4
mov eax, esi
cmp esi, ecx
ja 0x4168e7
lea ecx, [esi + 0xf]
cmp ecx, ebx
jb 0x4168e7
mov edx, 0x10
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x4168d7
jmp 0x4168f3
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ebx]
xorps xmm1, xmm0
movups xmmword [esi], xmm1
mov edx, dword [ebp - 4]
sub edi, 0x10
mov ecx, dword [ebp + 8]
add ecx, 0x10
mov dword [ebp + 8], ecx
movups xmm0, xmmword [edx + esi]
mov edx, dword [ebp + 0x10]
add esi, 0x10
movups xmmword [ebx], xmm0
mov eax, dword [edx]
cmp ecx, eax
mov ecx, dword [ebp - 4]
jl 0x4168b0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc]
dec ecx
add ecx, eax
cmp byte [ecx], 0xee
jne 0x416931
dec eax
lea ecx, [ecx - 1]
cmp byte [ecx], 0xee
mov dword [edx], eax
je 0x416926
mov esp, ebp
pop ebp
ret
Function at 0x416940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 8]
mov esi, 0x10
mov eax, ecx
mov ebx, dword [ebp + 0x14]
cdq
idiv esi
mov esi, eax
shl esi, 4
test edx, edx
je 0x41696d
lea ecx, [esi + 0x10]
mov eax, dword [ebp + 0x10]
mov edx, edi
sub dword [ebp + 8], esi
push ecx
mov dword [eax], ecx
lea ecx, [ebp - 0x220]
call fcn.004198b0
add esp, 4
xor edi, edi
test esi, esi
jle 0x416a05
mov eax, dword [ebp + 0xc]
dec esi
mov edi, dword [ebp - 4]
sub eax, edi
shr esi, 4
inc esi
mov dword [ebp - 8], eax
mov eax, esi
mov dword [ebp + 0x10], esi
shl eax, 4
mov dword [ebp - 0xc], eax
lea ecx, [edi + 0xf]
xor eax, eax
mov edx, ebx
cmp ebx, ecx
ja 0x4169d1
lea ecx, [ebx + 0xf]
cmp ecx, edi
jb 0x4169d1
nop dword [eax]
mov cl, byte [edi + eax]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, 0x10
jl 0x4169c0
jmp 0x4169dd
movups xmm1, xmmword [edi]
movups xmm0, xmmword [ebx]
xorps xmm1, xmm0
movups xmmword [ebx], xmm1
mov esi, dword [ebp - 8]
lea ecx, [ebp - 0x220]
add esi, edi
mov edx, ebx
push esi
call fcn.0041a0e0
movups xmm0, xmmword [esi]
add esp, 4
add edi, 0x10
sub dword [ebp + 0x10], 1
movups xmmword [ebx], xmm0
jne 0x4169a7
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea esi, [ebx + 0xf]
test eax, eax
jle 0x416a7b
movaps xmm0, xmmword [0x425050]
push eax
mov eax, dword [ebp - 4]
add eax, edi
push eax
lea eax, [ebp - 0x1c]
push eax
movups xmmword [ebp - 0x1c], xmm0
call fcn.00402ea0
lea eax, [ebp - 0xd]
add esp, 0xc
xor edx, edx
mov ecx, ebx
cmp ebx, eax
ja 0x416a52
lea eax, [ebp - 0x1c]
cmp esi, eax
jb 0x416a52
nop
mov al, byte [ebp + edx - 0x1c]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
inc edx
cmp edx, 0x10
jl 0x416a40
jmp 0x416a5f
movups xmm1, xmmword [ebx]
movups xmm0, xmmword [ebp - 0x1c]
xorps xmm1, xmm0
movups xmmword [ebx], xmm1
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x220]
add esi, edi
mov edx, ebx
push esi
call fcn.0041a0e0
movups xmm0, xmmword [esi]
add esp, 4
movups xmmword [ebx], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4186e0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov dl, 1
push ebx
push esi
push edi
xor ebx, ebx
movzx eax, dl
mov cl, dl
sar cl, 7
and cl, 0x1b
mov byte [ebp + ebx - 0x208], dl
mov byte [ebp + eax - 0x108], bl
mov al, dl
add al, al
inc ebx
xor cl, al
xor dl, cl
cmp ebx, 0x100
jl 0x4186f0
mov cl, 1
mov edx, 0x42b7b0
movzx eax, cl
shl eax, 0x18
mov dword [edx], eax
mov al, cl
sar al, 7
add cl, cl
and al, 0x1b
add edx, 4
xor cl, al
cmp edx, 0x42b7d8
jl 0x418721
mov dword [0x42c3e0], 0x63
mov esi, 1
mov dword [0x42bd6c], 0
nop dword [eax + eax]
movzx eax, byte [ebp + esi - 0x108]
lea ecx, [ebp - 0x109]
sub ecx, eax
mov dl, byte [ecx]
mov cl, dl
mov al, dl
add al, al
shr cl, 7
or cl, al
xor dl, cl
mov al, cl
shr al, 7
add cl, cl
or al, cl
mov bl, al
xor bl, dl
mov dl, al
add al, al
shr dl, 7
or dl, al
mov al, dl
ror al, 7
movzx ecx, al
movzx eax, dl
xor ecx, eax
movzx eax, bl
xor ecx, eax
xor ecx, 0x63
mov dword [esi*4 + 0x42c3e0], ecx
mov dword [ecx*4 + 0x42bbe0], esi
inc esi
cmp esi, 0x100
jl 0x418760
xor ebx, ebx
mov dword [ebp - 4], 0xff
nop word [eax + eax]
mov dl, byte [ebx + 0x42c3e0]
mov cl, dl
movzx edi, dl
sar cl, 7
mov al, dl
and cl, 0x1b
add al, al
xor cl, al
movzx eax, dl
movzx esi, cl
shl esi, 8
xor esi, edi
movzx ecx, cl
xor ecx, eax
shl esi, 8
xor esi, edi
mov eax, esi
shl eax, 8
xor eax, ecx
bswap ecx
or ecx, esi
mov dword [ebx + 0x429bb0], eax
mov al, byte [ebx + 0x42bbe0]
mov dword [ebx + 0x42a3b0], ecx
shr ecx, 8
bswap edi
or ecx, edi
mov dword [ebx + 0x42afb0], ecx
shr ecx, 8
or ecx, edi
mov dword [ebx + 0x42b3b0], ecx
test al, al
je 0x4188c0
movzx esi, al
xor edx, edx
mov eax, dword [ebp - 0xfb]
mov edi, 0xff
movzx eax, al
movzx ecx, byte [ebp + esi - 0x108]
add eax, ecx
div edi
mov eax, dword [ebp - 0xff]
movzx eax, al
add eax, ecx
movzx edi, byte [ebp + edx - 0x208]
xor edx, edx
div dword [ebp - 4]
movzx eax, byte [ebp + edx - 0x208]
xor edx, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xfa]
movzx eax, al
add eax, ecx
mov ecx, 0xff
div ecx
movzx eax, byte [ebp + esi - 0x108]
mov esi, 0xff
movzx ecx, byte [ebp + edx - 0x208]
mov edx, dword [ebp - 0xfd]
movzx edx, dl
add eax, edx
xor edx, edx
div esi
mov eax, dword [ebp - 8]
movzx edx, byte [ebp + edx - 0x208]
jmp 0x4188c8
xor edi, edi
xor eax, eax
xor ecx, ecx
xor edx, edx
shl ecx, 8
xor ecx, eax
shl ecx, 8
xor ecx, edi
shl ecx, 8
xor ecx, edx
mov edx, ecx
mov dword [ebx + 0x42a7b0], ecx
shl edx, 0x18
shr ecx, 8
or edx, ecx
mov eax, edx
mov dword [ebx + 0x42abb0], edx
shl eax, 0x18
shr edx, 8
or eax, edx
mov dword [ebx + 0x4293b0], eax
ror eax, 8
mov dword [ebx + 0x42bfe0], eax
add ebx, 4
cmp ebx, 0x400
jl 0x4187d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41df60
Capabilities:
Create thread

Disassembly:
call fcn.0041dfd0
push 0
push 0
push 0
push 0x41e360
push 0
push 0
mov dword [0x42b7dc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x42b7dc]
push 0
push 0
push 0
push 0x41ec70
mov dword [ecx*4 + 0x42cbe0], eax
inc ecx
push 0
push 0
mov dword [0x42b7dc], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x42b7dc]
mov dword [ecx*4 + 0x42cbe0], eax
inc ecx
mov dword [0x42b7dc], ecx
xor eax, eax
ret
Function at 0x41dfd0
Capabilities:
Change the wallpaper
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
push 0x2000
push 0
push 0
push 0
push 0x68
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x41e1ce
mov cx, word [0x424f24]
movups xmm0, xmmword [str.C:wallpaper.bmp]
mov word [esp + 0x60], cx
lea ecx, [esp + 0x28]
push ecx
movups xmmword [esp + 0x44], xmm0
push 0x18
movups xmm0, xmmword [0x424f14]
push eax
movups xmmword [esp + 0x5c], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0
push 0x80
push 2
mov eax, 0x4d42
mov dword [esp + 0xa8], 0
mov word [esp + 0x24], ax
xorps xmm0, xmm0
mov eax, dword [esp + 0x38]
push 0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
push 0
mov dword [esp + 0x94], eax
lea eax, [esp + 0x54]
push 0x40000000
push eax
movlpd qword [esp + 0x36], xmm0
movlpd qword [esp + 0xa8], xmm0
movlpd qword [esp + 0xb0], xmm0
mov dword [esp + 0x3e], 0x36
mov dword [esp + 0x94], 0x28
mov dword [esp + 0xa0], 0x180001
mov dword [esp + 0xa4], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, 0xffffffff
je 0x41e1b0
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0xc]
push 0
push eax
push 0xe
lea eax, [esp + 0x24]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x10]
push eax
push 0x28
lea eax, [esp + 0x84]
push eax
push edi
call esi
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*2]
mov eax, ecx
and eax, 0x80000003
jns 0x41e11b
dec eax
or eax, 0xfffffffc
inc eax
mov edi, 4
sub edi, eax
and edi, 0x80000003
jns 0x41e12f
dec edi
or edi, 0xfffffffc
inc edi
lea eax, [ecx + edi]
imul eax, dword [esp + 0x30]
push eax
call fcn.00401052
mov ecx, dword [esp + 0x30]
add esp, 4
mov esi, eax
lea edx, [edi + ecx*2]
add edx, ecx
imul edx, dword [esp + 0x30]
push esi
push edx
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_GetBitmapBits]
push 0
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [edi + eax*2]
mov edi, dword [esp + 0x1c]
add ecx, eax
imul ecx, dword [esp + 0x38]
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0040105b
add esp, 4
lea eax, [esp + 0x40]
push 3
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
mov ecx, str.Failed_to_set_wallpaper._n
mov edx, str.Wallpaper_set_successfully._n
cmovne ecx, edx
jmp 0x41e1b5
mov ecx, str.Failed_to_save_bitmap_to_file._n
push ecx
call fcn.00401010
add esp, 4
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.Failed_to_load_bitmap_from_resource._n
call fcn.00401010
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10003750
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x1015bafb
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101af0fc]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101af0fc]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x140]
xor esi, esi
mov ebp, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x138], esi
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push esi
push ebx
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, esi
jne 0x10003882
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, esi
je 0x100037de
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
cmp eax, esi
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x14], ecx
jne 0x10003882
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x24]
push edx
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x40]
push edx
push esi
push ecx
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
jne 0x10003862
jmp 0x10003820
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.10003750
mov ebx, eax
cmp ebx, esi
jne 0x100038cc
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
push esi
push ecx
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
je 0x10003820
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10003875
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov edx, dword [ebp]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edi, eax
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x100038a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, edi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.1010190d
add esp, 0x128
ret 4
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x100038ea
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, ebx
jmp 0x100038a2
Function at 0x1000b0e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x50
mov eax, dword [0x101af0fc]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push ebp
mov dword [esp + 0x24], eax
mov eax, 0x6c
mov dword [esp + 0x20], edx
mov edx, 0x64
push esi
push edi
mov dword [esp + 0x24], ecx
mov word [esp + 0x44], 0x6e
mov word [esp + 0x46], 0x74
mov word [esp + 0x48], dx
mov word [esp + 0x4a], ax
mov word [esp + 0x4c], ax
mov word [esp + 0x4e], 0x2e
mov word [esp + 0x50], dx
mov word [esp + 0x52], ax
mov word [esp + 0x54], ax
mov word [esp + 0x56], 0
mov al, al
mov cl, 0x72
mov byte [esp + 0x32], al
mov al, 0x65
mov byte [esp + 0x30], 0x52
mov byte [esp + 0x31], 0x74
mov byte [esp + 0x33], 0x43
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], al
mov byte [esp + 0x36], 0x61
mov byte [esp + 0x37], 0x74
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0x55
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3b], al
mov byte [esp + 0x3c], cl
mov byte [esp + 0x3d], 0x54
mov byte [esp + 0x3e], 0x68
mov byte [esp + 0x3f], cl
mov byte [esp + 0x40], al
mov byte [esp + 0x41], 0x61
mov byte [esp + 0x42], dl
mov byte [esp + 0x43], 0
test al, al
lea eax, [esp + 0x44]
push eax
call fcn.100e5ee0
add esp, 4
mov esi, eax
mov edi, edx
mov cl, cl
lea ecx, [esp + 0x30]
push ecx
push edi
push esi
call fcn.100e6740
add esp, 0xc
mov ecx, eax
mov ebp, edx
xchg ebx, eax
xchg ebx, eax
or esi, edi
je 0x1000b23b
mov edx, ecx
or edx, ebp
je 0x1000b23b
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
push ebx
pop ebx
test bh, bh
lea eax, [esp + 0x14]
cdq
push edx
push eax
lea eax, [esp + 0x14]
cdq
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push esi
push esi
push eax
push edx
mov eax, dword [esp + 0x4c]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
cdq
push edx
push eax
push 0xa
push ebp
push ecx
call fcn.100e5c70
add esp, 0x5c
cmp eax, esi
jne 0x1000b22f
cmp edx, esi
je 0x1000b24f
push edx
push eax
call fcn.100e6670
add esp, 8
mov cl, cl
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1010190d
add esp, 0x50
ret
mov ecx, dword [esp + 0xc]
mov eax, ecx
sub eax, 0xffffffff
neg eax
sbb eax, eax
pop edi
and eax, ecx
mov ecx, dword [esp + 0x54]
pop esi
pop ebp
xor ecx, esp
call fcn.1010190d
add esp, 0x50
ret

Function at 0x1000c278
Capabilities:
Create thread

Disassembly:
push dword [ebp + 0x10]
push dword [ebp - 0x148]
push dword [0x101c5ad4]
jmp fcn.1000b010
Function at 0x1001e390
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push esi
push edi
test bh, bh
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
test eax, 0x7924
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
test ch, ch
mov dword [esp + 0x10], 0
mov eax, eax
call fcn.1003c870
mov edi, eax
mov al, al
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0x1001e300
push 0
push 0
call fcn.1010405f
add esp, 0x18
mov esi, eax
xchg ebx, eax
xchg ebx, eax
push edi
call fcn.1003c940
add esp, 4
test dl, dl
test esi, esi
jne 0x1001e3f6
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test esi, esi
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test bh, bh
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0xc
ret

Function at 0x1001e420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101af0fc]
xor eax, esp
mov dword [esp + 0x28], eax
mov al, 0x6c
mov dl, 0x77
mov cl, 0x69
push esi
mov byte [esp + 8], 0x44
mov byte [esp + 9], dl
mov byte [esp + 0xa], 0x6d
mov byte [esp + 0xb], 0x61
mov byte [esp + 0xc], 0x70
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x2e
mov byte [esp + 0xf], 0x64
mov byte [esp + 0x10], al
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0
mov dh, dh
mov al, 0x74
mov byte [esp + 0x14], 0x44
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], 0x6d
mov byte [esp + 0x17], 0x53
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0x57
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x41
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
mov byte [esp + 0x23], 0x72
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], al
mov byte [esp + 0x28], 0x65
mov byte [esp + 0x29], 0
test bl, bl
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test dh, dh
test esi, esi
je 0x1001e51a
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [fcn.1016432c]
mov ecx, ecx
test eax, eax
je 0x1001e511
mov dword [esp + 4], 1
test bl, bl
push 4
lea edx, [esp + 8]
push edx
push 2
push edi
call eax
mov eax, eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push ebx
pop ebx
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.1010190d
add esp, 0x2c
ret