joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401090
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
sub esp, 0x88
push ebp
mov ebp, dword [eax]
push esi
mov esi, dword [esp + 0x94]
add esi, ebp
push ecx
push 0
push esi
call section..text
mov ebp, eax
add esp, 0xc
test ebp, ebp
jge 0x4010c8
pop esi
xor eax, eax
pop ebp
add esp, 0x88
ret
push ebx
push edi
mov ecx, 0x21
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x14]
push str.________WEBSHOTS_FILE_BEGINS_HERE___________________________
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str.____
push eax
call ebx
mov ecx, 0x21
xor eax, eax
lea edi, [esp + 0x14]
add esi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0x21
lea edi, [esp + 0x14]
mov dword [esp + 0x10], esi
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004014b7
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
mov ebp, eax
mov eax, ecx
lea esi, [edx + 0x84]
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xa8]
push esi
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.WebshotsTemp
push esi
call ebx
push esi
call fcn.0040148b
add esp, 4
push 0x406078
push esi
call ebx
lea ecx, [esp + 0x58]
push ecx
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push esi
call dword [sym.imp.KERNEL32.dll__lcreat]
mov edx, dword [esp + 0x54]
mov esi, eax
push edx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x54]
push ebp
add dword [eax], ecx
call fcn.00401480
add esp, 4
mov eax, 1
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x88
ret
Function at 0x402425
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4063f8
cmp edx, dword [eax]
je 0x402447
add eax, 8
inc ecx
cmp eax, 0x406488
jl 0x402438
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4063f8]
jne 0x402575
mov eax, dword [0x4087d0]
cmp eax, 1
je 0x40254f
test eax, eax
jne 0x402478
cmp dword [0x4061e0], 1
je 0x40254f
cmp edx, 0xfc
je 0x402575
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4024af
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403830
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403920
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4024f2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403920
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053f0
push edi
call fcn.00404150
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403830
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403840
lea eax, [ebp - 0xa0]
push 0x4053d0
push eax
call fcn.00403840
push dword [esi + 0x4063fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403840
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004040bf
add esp, 0x2c
pop edi
jmp 0x402575
lea eax, [ebp + 8]
lea esi, [esi + 0x4063fc]
push 0
push eax
push dword [esi]
call fcn.00403920
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x40a484
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [0x40408c]
push edi
push 0x10000
push 2
call esi
mov edi, dword [fcn.004040c8]
push eax
mov dword [str.GetActiveWindow], eax
call edi
push 0x8040
push 2
mov dword [0x40541c], eax
call esi
push eax
mov dword [0x405458], eax
call edi
push 0x400
push 2
mov dword [0x405448], eax
call esi
push eax
mov dword [0x405438], eax
call edi
mov dword [0x405424], eax
and dword [eax], 0
push 1
pop eax
pop edi
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x40a4f0
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40a4f2
shr ecx, 1
dec edx
jne 0x40a4e1
mov edx, dword [0x405424]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x40a4dc
ret

Function at 0x40b524
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x40b536
or eax, 0xffffffff
mov dword [sym.imp.KERNEL32.dll_lstrcatA], eax
jmp 0x40b56f
mov edx, dword [esp + 8]
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x40b569
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x405424]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x40b549
pop edi
mov dword [sym.imp.KERNEL32.dll_lstrcatA], eax
pop esi
not eax
ret 8
Function at 0x100033e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x1015a93b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b03d4]
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 0x10003512
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, esi
je 0x1000346e
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 0x10003512
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], pe_nt_image_headers32
call edi
test eax, eax
jne 0x100034f2
jmp 0x100034b0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.100033e0
mov ebx, eax
cmp ebx, esi
jne 0x1000355c
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], pe_nt_image_headers32
call edi
test eax, eax
je 0x100034b0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10003505
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 0x10003530
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.100fb12a
add esp, 0x128
ret 4
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x1000357a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, ebx
jmp 0x10003532
Function at 0x100096a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x50
mov eax, dword [0x101b03d4]
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 dh, dh
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
push ebx
pop ebx
lea eax, [esp + 0x44]
push eax
call fcn.100dc480
add esp, 4
mov esi, eax
mov edi, edx
mov esi, esi
lea ecx, [esp + 0x30]
push ecx
push edi
push esi
call fcn.100dcce0
add esp, 0xc
mov ecx, eax
mov ebp, edx
nop
or esi, edi
je 0x100097fa
mov edx, ecx
or edx, ebp
je 0x100097fa
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov ch, ch
mov ah, ah
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.100dc210
add esp, 0x5c
cmp eax, esi
jne 0x100097ee
cmp edx, esi
je 0x1000980e
push edx
push eax
call fcn.100dcc10
add esp, 8
mov dl, dl
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.100fb12a
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.100fb12a
add esp, 0x50
ret

Function at 0x1000a847
Capabilities:
Create thread

Disassembly:
push dword [ebp + 0x10]
push dword [ebp - 0x148]
push dword [0x102c5a9c]
jmp fcn.100095d0
Function at 0x10019e80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], eax
mov al, 0x64
push ebp
mov ebp, dword [esp + 0x34]
mov cl, 0x61
mov byte [esp + 0xd], al
mov byte [esp + 0x15], al
mov al, 0x6c
push esi
push edi
mov byte [esp + 0x14], cl
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0x70
mov byte [esp + 0x19], 0x69
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], 0
push ecx
pop ecx
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
xchg ebx, eax
xchg ebx, eax
mov ah, ah
test esi, esi
je 0x10019f8a
mov al, 0x65
mov byte [esp + 0x24], 0x52
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x67
mov byte [esp + 0x27], 0x4f
mov byte [esp + 0x28], 0x70
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2b], 0x4b
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x79
mov byte [esp + 0x2e], 0x45
mov byte [esp + 0x2f], 0x78
mov byte [esp + 0x30], 0x41
mov byte [esp + 0x31], 0
mov bh, bh
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, eax
mov edx, edx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov edx, edx
test edi, edi
je 0x10019f8a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push ebx
push ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100fb12a
add esp, 0x28
ret 0x14
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100fb12a
add esp, 0x28
ret 0x14

Function at 0x1001bbf0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push esi
push edi
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
mov edi, edi
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov al, al
mov dword [esp + 0x10], 0
mov dl, dl
call fcn.10029cc0
mov edi, eax
nop
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0x1001bb60
push 0
push 0
call fcn.100fd647
add esp, 0x18
mov esi, eax
mov bh, bh
push edi
call fcn.10029d80
add esp, 4
mov cl, cl
test esi, esi
jne 0x1001bc52
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
nop
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dh, dh
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0xc
ret
Function at 0x1001bc70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101b03d4]
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
push ebx
pop ebx
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
push ebx
pop ebx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
nop
test esi, esi
je 0x1001bd69
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
xchg ebx, eax
xchg ebx, eax
test eax, eax
je 0x1001bd60
mov dword [esp + 4], 1
mov cl, cl
push 4
lea edx, [esp + 8]
push edx
push 2
push edi
call eax
mov dl, dl
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov cl, cl
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.100fb12a
add esp, 0x2c
ret
Function at 0x1001ca90
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101611c1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x101b03d4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
mov dword [esi + 0x10], esi
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], esi
mov dword [esp + 0x40], 1
mov eax, dword [esi + 0x10]
mov byte [eax], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 1
push ebx
pop ebx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.100fdcaf
add esp, 4
mov bh, bh
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0x63
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], 0x66
mov byte [esp + 0x1a], 0x67
mov byte [esp + 0x1b], 0x68
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x6a
mov byte [esp + 0x1e], 0x6b
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], 0x70
mov byte [esp + 0x24], 0x71
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x73
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], 0x76
mov byte [esp + 0x29], 0x77
mov byte [esp + 0x2a], 0x78
mov byte [esp + 0x2b], 0x79
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], 0x41
mov byte [esp + 0x2e], 0x42
mov byte [esp + 0x2f], 0x43
mov byte [esp + 0x30], 0x44
mov byte [esp + 0x31], 0x45
mov byte [esp + 0x32], 0x46
mov byte [esp + 0x33], 0x47
nop
call fcn.100fdcbc
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x1001cbbc
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
mov edx, edx
mov edx, edx
test eax, eax
jle 0x1001cc00
mov edi, eax
lea esp, [esp]
call fcn.100fdcbc
and eax, 0x8000001f
jns 0x1001cbe1
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, ecx
mov al, byte [esp + eax + 0x14]
add al, 1
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.1001c9e0
mov dh, dh
sub edi, 1
jne 0x1001cbd0
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100fb12a
add esp, 0x3c
ret
Function at 0x1001d7c0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x1015b8b2
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
push edi
mov eax, dword [0x101b03d4]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x144]
xor ebx, ebx
push 0xff
lea eax, [esp + 0x31]
push ebx
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x28], esi
mov byte [esp + 0x38], bl
call fcn.100fbc20
add esp, 0xc
push eax
pop eax
push eax
pop eax
mov cl, cl
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov bl, bl
cmp eax, 0xffffffff
je 0x1001d84f
lea ecx, [esp + 0x13]
push ecx
push edi
mov ecx, esi
call fcn.100091f0
jmp 0x1001d912
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov cl, cl
cmp eax, ebx
jne 0x1001d86b
lea edx, [esp + 0x13]
push edx
push 0x10165918
jmp 0x1001d90b
cmp word [eax + 0xa], 4
je 0x1001d881
lea eax, [esp + 0x13]
push eax
push 0x10165918
jmp 0x1001d90b
xchg ebx, eax
xchg ebx, eax
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.100fd070
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov cl, 0x25
mov al, 0x64
mov dl, 0x2e
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], al
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], al
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], al
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], bl
mov edi, edi
movzx edx, byte [esp + 0x1b]
movzx eax, byte [esp + 0x1a]
push edx
push eax
mov eax, dword [esp + 0x20]
movzx ecx, ah
push ecx
movzx edx, al
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.100fca00
add esp, 0x18
mov bl, bl
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.100091f0
mov dword [esp + 0x138], ebx
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.100fb12a
add esp, 0x12c
ret
Function at 0x1001d950
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101b03d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x218], 0
push 0x1ff
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.100fbc20
add esp, 0xc
mov edi, edi
push 0x200
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov al, al
mov byte [ebp - 0x14], 0x25
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x5c
mov byte [ebp - 0x11], 0x44
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x76
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x5c
mov byte [ebp - 9], 0x25
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0
mov ah, ah
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100fca00
add esp, 0x10
mov ah, ah
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fb12a
mov esp, ebp
pop ebp
ret

Function at 0x1001df00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101b03d4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x102b4fc0], 0
jne 0x1001dfc5
mov byte [ebp - 0x28], 0x77
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x33
mov byte [ebp - 0x24], 0x32
mov byte [ebp - 0x23], 0x75
mov byte [ebp - 0x22], 0x2e
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x6c
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0
push ebx
pop ebx
mov byte [ebp - 0x1c], 0x4e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x55
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x4f
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x12], 0x49
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x44
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x6b
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x70
mov byte [ebp - 6], 0
mov cl, cl
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x102b4fc0], eax
push ecx
pop ecx
cmp dword [0x102b4fc0], 0
jne 0x1001dfd2
xor eax, eax
jmp 0x1001dfd7
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100fb12a
mov esp, ebp
pop ebp
ret
Function at 0x10022690
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x101b03d4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov edi, edi
mov dword [ebp - 0x138], 0x128
mov edx, edx
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov dl, dl
cmp dword [ebp - 4], 0xffffffff
jne 0x100226c7
jmp 0x1002272f
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 8], eax
xchg ebx, eax
xchg ebx, eax
cmp dword [ebp - 8], 0
je 0x10022715
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x120]
jne 0x100226fe
mov eax, dword [ebp - 0x130]
push eax
call fcn.10022690
add esp, 4
mov bl, bl
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 8], eax
mov dl, dl
jmp 0x100226dc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dh, dh
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002f960
add esp, 4
push ebx
pop ebx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100fb12a
mov esp, ebp
pop ebp
ret