joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402600
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
jmp 0x402618
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x402672
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x402639
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x402663
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x402659
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x402661
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x402630
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x42ecfc], ecx
jmp 0x40260f
mov esp, ebp
pop ebp
ret

Function at 0x402680
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404e30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3d8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3e4]
push ecx
call fcn.00401e80
add esp, 8
lea edx, [ebp - 0x3e4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 1]
cmp ecx, 0x3a
jne 0x40270b
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
test edx, edx
je 0x40270b
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x40270b
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40277d
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x402772
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0
lea edx, [ebp - 0x3e4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40275d
push 0
lea eax, [ebp - 0x3e4]
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40275b
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x40275b
xor al, al
jmp 0x40279d
jmp 0x40276c
mov ecx, dword [ebp - 0x18]
and ecx, 0x10
cmp ecx, 0x10
je 0x40276c
xor al, al
jmp 0x40279d
mov edx, dword [ebp - 0x14]
mov byte [edx], 0x5c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x40270b
jmp 0x402794
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402d90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret
Function at 0x402dd0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
push 0x128
call fcn.004031f0
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x128
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_Process32First
test eax, eax
je 0x402e90
cmp dword [ebp + 0xc], 0
je 0x402e59
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x24
push ecx
call fcn.00401840
add esp, 4
push eax
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call fcn.00403210
add esp, 4
push eax
call fcn.00402800
add esp, 0xc
cmp eax, dword [ebp + 0xc]
jne 0x402e59
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
jmp 0x402e90
cmp dword [ebp + 8], 0
je 0x402e7f
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
call dword [sym.imp.kernel32.dll_lstrcmpi]
test eax, eax
jne 0x402e7f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xc], edx
jmp 0x402e90
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.kernel32.dll_Process32Next
test eax, eax
jne 0x402e19
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00401d80
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x403040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.00401e80
add esp, 8
lea edx, [ebp - 0x104]
push edx
call fcn.00402f50
add esp, 4
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
push 0x42e930
call fcn.00401840
add esp, 4
add eax, 1
push eax
push 0x42e930
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401840
add esp, 4
mov edx, dword [ebp + 8]
add edx, eax
push edx
call fcn.00402100
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.00401840
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401840
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, eax
push ecx
call fcn.00402100
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401840
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401840
add esp, 4
mov edx, dword [ebp + 8]
add edx, eax
push edx
call fcn.00402100
add esp, 0xc
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4034e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov ecx, 5
mov esi, str.fegConnectRegistryA
lea edi, [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x14], 0x52
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x42f100]
push ecx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x42f118], eax
push str.AecivreSnepO
call fcn.00403250
add esp, 4
push eax
mov edx, dword [0x42f100]
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x42f10c], eax
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x4e72454b
mov dword [ebp - 0x1c], 0x32336c65
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403e50
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
push edi
mov byte [ebp - 0x240], 0
mov ecx, 0x8e
xor eax, eax
lea edi, [ebp - 0x23f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x403e8f
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401840
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 1]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x403ffd
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 1]
test ecx, ecx
je 0x403ffd
mov edx, dword [ebp - 4]
push edx
call fcn.00403210
add esp, 4
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00401840
add esp, 4
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402800
add esp, 0xc
mov dword [ebp - 0x634], eax
cmp dword [ebp - 0x634], 0x5cf345ca
je 0x403efd
cmp dword [ebp - 0x634], 0x642d3b30
je 0x403efd
cmp dword [ebp - 0x634], 0x8a705f51
jne 0x403f02
jmp 0x403e79
mov edx, dword [str.SYSTEMCurrentControlSet_seRviCes_]
push edx
lea eax, [ebp - 0x240]
push eax
call fcn.00401e80
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x240]
push edx
call fcn.004027b0
add esp, 8
mov dword [ebp - 0x638], 0x3e8
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebp - 0x62c]
push ecx
push 0
push str.ImagePath
lea edx, [ebp - 0x240]
push edx
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [ebp - 0x63c], eax
cmp dword [ebp - 0x63c], 0
jne 0x403f70
jmp 0x403e79
lea eax, [ebp - 0x240]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0x42f724
push 0x120
push str.netsvcs
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004011e0
add esp, 0x1c
mov dword [ebp - 0x630], eax
cmp dword [ebp - 0x630], 0
je 0x403ff8
mov edx, dword [ebp - 0x630]
push edx
call fcn.004037f0
add esp, 4
and eax, 0xff
test eax, eax
je 0x403fd4
mov al, 1
jmp 0x403fff
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [ebp - 0x630]
push eax
call dword [0x42eccc]
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004016e0
add esp, 4
jmp 0x403e79
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov al, 0x65
mov cl, 0x6c
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], cl
mov cl, 0x74
mov byte [ebp - 0x20], al
mov byte [ebp - 0x12], al
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x10], cl
mov byte [ebp - 0xa], cl
lea eax, [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dl, 0x6e
xor ebx, ebx
push eax
push ecx
mov dword [esi], 0x100161d0
mov byte [ebp - 0x24], 0x6b
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x1e], 0x33
mov byte [ebp - 0x1d], 0x32
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0xd], 0x76
mov byte [ebp - 0xb], dl
mov byte [ebp - 9], 0x41
mov byte [ebp - 8], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x30
mov edi, eax
call dword [sym.imp.MSVCRT.dll_putchar]
add esp, 4
push str.WINMM.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebx
push ebx
push ebx
push ebx
mov dword [0x1001b5e8], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 4], 0x3e8
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
lea edi, [esi + 0x30]
mov dword [ebp - 4], 2
mov edx, dword [esi + 4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x28], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi], eax
mov eax, dword [esi + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x20], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
add esp, 0x10
add edi, 4
dec eax
mov dword [ebp - 4], eax
jne 0x100010d9
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
lea eax, [esi + 0x46]
add esp, 4
mov edx, eax
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov word [eax], 0x31
mov word [esi + 0x48], 1
mov dword [esi + 0x4a], 0x1f40
nop
nop
nop
nop
mov dword [esi + 0x4e], 0x659
mov word [esi + 0x52], 0x41
mov word [esi + 0x54], bx
mov word [esi + 0x56], 2
nop
nop
mov word [esi + 0x58], 0x140
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100014d0
Capabilities:
Create thread
Link many functions at runtime
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1001b5e8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.waveInGetNumDevs
mov edi, ecx
push eax
call esi
call eax
test eax, eax
jne 0x100014fd
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x1001b5e8]
push str.waveInOpen
push ecx
call esi
lea edx, [ebp - 4]
mov esi, eax
push edx
push 4
push edi
push 0x10001710
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 4]
push 0x20000
push 0
lea ecx, [edi + 0x46]
push eax
lea ebx, [edi + 0x18]
push ecx
push 0xffff
push ebx
call esi
test eax, eax
je 0x1000155c
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x1001b5e8]
push str.waveInPrepareHeader
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
lea esi, [edi + 0x30]
mov dword [ebp - 8], 2
mov eax, dword [esi]
mov ecx, dword [esi - 0x28]
push 0x20
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [esi]
mov dword [edx + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [ebx]
push eax
push ecx
call dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add esi, 4
dec eax
mov dword [ebp - 8], eax
jne 0x1000157b
nop
nop
nop
nop
mov edx, dword [0x1001b5e8]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.waveInAddBuffer
push edx
call esi
mov ecx, dword [edi + 0x1c]
push 0x20
mov edx, dword [edi + ecx*4 + 0x30]
mov ecx, dword [ebx]
push edx
push ecx
call eax
mov edx, dword [edi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1001b5e8]
push str.waveInStart
push eax
call esi
mov ecx, dword [ebx]
push ecx
call eax
mov al, 1
mov byte [edi + 0x44], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001f50
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10014c28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 4]
call fcn.10001ae0
xor ebx, ebx
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1d0], ebx
call fcn.10001ae0
lea ecx, [esi + 0x54]
mov byte [esp + 0x1d0], 1
call fcn.10001ae0
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1d0], 2
call fcn.10001ae0
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], cl
mov cl, 0x74
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0x1c], cl
mov byte [esp + 0x22], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1d8], 3
mov dword [esi], 0x100161e8
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], dl
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], bl
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x26], 0x45
mov byte [esp + 0x27], 0x76
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], 0x41
mov byte [esp + 0x2c], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x38]
mov ebp, eax
push edx
push 0x202
call dword [0x1001b5a0]
mov edi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call edi
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push ebx
push 1
push ebx
call ebp
push 0x30
mov dword [esi + 0xac], eax
call edi
mov byte [esi + 0xb5], bl
mov bl, 0x6a
push 0x30
mov dword [esi + 0xa8], 0xffffffff
mov byte [esp + 0x18], 0x58
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], 0x68
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0xb0]
add esp, 8
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c8]
pop edi
mov byte [eax + 4], bl
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c4
ret
Function at 0x10004190
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016208
push 0x100146a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 0x30
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
call ebx
add esp, 4
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10004313
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x10004253
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x10004253
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
push 0x30
call ebx
add esp, 4
mov al, byte [esi]
test al, al
je 0x1000422e
cmp al, 0x5c
je 0x1000422e
push esi
call dword [0x1001b58c]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x10004216
cmp byte [esi], 0
je 0x10004237
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x1000424c
cmp al, 0x5c
je 0x1000424c
push esi
call dword [0x1001b58c]
mov esi, eax
jmp 0x10004234
cmp byte [esi], 0
je 0x10004272
jmp 0x1000426e
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x10004272
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10004272
cmp al, 0x5c
jne 0x10004272
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esi]
test al, al
je 0x100042d3
cmp al, 0x5c
jne 0x100042c5
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x100042b8
push 0
call ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100042c2
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100042c2
push edi
jmp 0x1000430a
and eax, 0x10
cmp al, 0x10
je 0x100042c2
push edi
jmp 0x1000430a
mov byte [esi], 0x5c
push esi
call dword [0x1001b58c]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x10004278
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push 0
call ebx
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100043a0
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x78c
push ebx
push ebp
push esi
lea eax, [esp + 0x138]
push edi
push eax
mov dword [esp + 0x2c], ecx
push 0x100
mov byte [esp + 0x3a4], 0x67
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor esi, esi
push str.Shell32.dll
lea ebp, [esp + 0x140]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.SHGetFileInfoA
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x13c]
test al, al
mov ebx, 1
je 0x1000455e
jmp 0x1000441b
xor esi, esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x38]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
push ecx
push esi
push esi
push esi
push esi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x410
lea edx, [esp + 0x240]
push 0x160
push edx
push 0x80
push ebp
call dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x34c]
push eax
call esi
mov edi, eax
lea ecx, [esp + 0x38]
inc edi
push ecx
mov dword [esp + 0x30], edi
call esi
inc eax
mov dword [esp + 0x10], eax
mov al, byte [ebp]
cmp al, 0x41
je 0x100044cb
cmp al, 0x42
je 0x100044cb
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0x1c]
push edx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x100044cb
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, 0x14
call fcn.100146b0
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, 0x14
call fcn.100146b0
mov dword [esp + 0x14], eax
jmp 0x100044d1
xor esi, esi
mov dword [esp + 0x14], esi
mov cl, byte [ebp]
push ebp
mov byte [esp + ebx + 0x3a0], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, dword [esp + 0x14]
mov ecx, edi
mov byte [esp + ebx + 0x39d], al
mov eax, ecx
mov dword [esp + ebx + 0x39e], esi
lea esi, [esp + 0x34c]
lea edi, [esp + ebx + 0x3a6]
mov dword [esp + ebx + 0x3a2], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x2c]
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ebx]
lea esi, [esp + 0x3c]
lea edi, [esp + edx + 0x3aa]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add ecx, eax
lea ebx, [ebx + ecx + 0xa]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x10004419
mov edi, dword [esp + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
mov ecx, dword [esp + 0x2c]
add esp, 4
lea edx, [esp + 0x39c]
push ebx
push edx
call fcn.100080c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78c
ret
Function at 0x10004800
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov dword [ebp - 0x30], ecx
mov al, 0x65
mov cl, 0x6c
push ebx
mov byte [ebp - 0x13], cl
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xd], cl
mov cl, 0x6f
mov byte [ebp - 0x17], al
mov byte [ebp - 0x14], al
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x27], al
mov byte [ebp - 0x23], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [ebp - 0x29], cl
mov byte [ebp - 0x20], cl
lea eax, [ebp - 0x2c]
push edi
lea ecx, [ebp - 0x18]
mov dl, 0x72
push eax
push ecx
mov byte [ebp - 0x18], 0x6b
mov byte [ebp - 0x16], dl
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xc], 0
mov byte [ebp - 0x2c], 0x52
mov byte [ebp - 0x2a], 0x6d
mov byte [ebp - 0x28], 0x76
mov byte [ebp - 0x26], 0x44
mov byte [ebp - 0x25], 0x69
mov byte [ebp - 0x24], dl
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x1f], dl
mov byte [ebp - 0x1e], 0x79
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x1c], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov al, 0x2a
lea edx, [ebp - 8]
mov byte [ebp - 5], al
mov byte [ebp - 3], al
push ebx
lea eax, [ebp - 0x278]
push edx
push eax
mov byte [ebp - 8], 0x25
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x5c
mov byte [ebp - 4], 0x2e
mov byte [ebp - 2], 0
call dword [0x1001b588]
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.FindFirstFileA
push str.kernel32.dll
call esi
push eax
call edi
lea ecx, [ebp - 0x174]
lea edx, [ebp - 0x278]
push ecx
push edx
call eax
mov esi, eax
nop
nop
nop
nop
cmp esi, 0xffffffff
jne 0x1000490f
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [ebp - 0x148], 0x2e
je 0x1000496e
test byte [ebp - 0x174], 0x10
lea eax, [ebp - 0x148]
push eax
push ebx
push str._s_s
je 0x10004955
lea ecx, [ebp - 0x480]
push ecx
call dword [0x1001b588]
mov ecx, dword [ebp - 0x30]
add esp, 0x10
lea edx, [ebp - 0x480]
push edx
call fcn.10004800
jmp 0x1000496e
lea ecx, [ebp - 0x37c]
push ecx
call dword [0x1001b588]
add esp, 0x10
lea edx, [ebp - 0x37c]
push edx
call edi
lea eax, [ebp - 0x174]
push eax
push esi
call dword [0x1001b5fc]
test eax, eax
jne 0x10004915
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [ebp - 0x34]
test eax, eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 4