joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003c00
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x10014584]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
cmp edi, eax
jne 0x10003c7a
cmp esi, 0x1000
jbe 0x10003c7a
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0xc]
push eax
push 4
push 4
push esi
call edi
test eax, eax
je 0x10003c59
push str.NtClose
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xc]
mov dword [esi], eax
mov edx, dword [esp + 0xc]
push ecx
push edx
push 4
push esi
call edi
mov eax, dword [0x10014584]
push eax
call fcn.10004140
add esp, 4
test eax, eax
je 0x10003dee
push 0x14
push 0x14
call eax
pop edi
pop esi
ret 8
cmp edi, 0x14
jne 0x10003c8d
cmp esi, edi
jne 0x10003c8d
mov dword [0x1001458c], 1
push 0
push 0
push 0x10005030
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
test edi, edi
je 0x10003dee
cmp edi, 0x14
jae 0x10003dee
cmp esi, 0x1000
jbe 0x10003dee
test esi, esi
je 0x10003dee
mov dword [0x10014590], 1
mov ecx, dword [esi]
push 0x10003b90
push ecx
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerW]
test eax, eax
mov dword [0x10014578], eax
jne 0x10003cf9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10003b60
add esp, 4
pop edi
pop esi
ret 8
push 0x1388
push 1
push 0
push 0
push 2
call fcn.10003af0
add esp, 0x14
test eax, eax
jne 0x10003d26
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10003b60
add esp, 4
pop edi
pop esi
ret 8
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [0x1001457c], eax
jne 0x10003d51
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10003b60
add esp, 4
pop edi
pop esi
ret 8
push 0x3e8
push 2
push 0
push 0
push 2
call fcn.10003af0
add esp, 0x14
test eax, eax
jne 0x10003d7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10003b60
add esp, 4
pop edi
pop esi
ret 8
push 0x1388
push 3
push 0
push 0
push 2
call fcn.10003af0
add esp, 0x14
test eax, eax
jne 0x10003dab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10003b60
add esp, 4
pop edi
pop esi
ret 8
push 0
push 0
push 0
push 0
push 4
call fcn.10003af0
add esp, 0x14
test eax, eax
jne 0x10003dd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10003b60
add esp, 4
pop edi
pop esi
ret 8
mov edx, dword [0x1001457c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call fcn.10003b60
add esp, 4
pop edi
pop esi
ret 8
Function at 0x10004070
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000409f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0x2bc
jae 0x100040c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
jne 0x100040e5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x1000410d
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push ebp
push edi
call fcn.10003e00
add esp, 8
mov ebp, eax
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
Function at 0x100041c0
Capabilities:
Check if file exists
Encode data using xor
Get common file path
Get file attributes
Write file on windows

Disassembly:
sub esp, 0x120
mov ecx, 0x41
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x2c]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
or ecx, 0xffffffff
mov edi, 0x10014024
xor eax, eax
lea edx, [esp + 0x2c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x2c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x100126e4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x2c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1001401c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10004332
push 0
push 0x80
push 2
push 0
push 0
lea ecx, [esp + 0x40]
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10004332
push 0x1900
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100042fa
mov ecx, 0x640
mov esi, 0x10012718
mov edi, ebx
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + ebx]
xor cl, 0xac
mov byte [eax + ebx], cl
inc eax
cmp eax, 0x1900
jl 0x100042cc
lea edx, [esp + 0x18]
push 0
push edx
push 0x1900
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.10003350
add esp, 0xc
test eax, eax
je 0x1000432b
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret
Function at 0x100044b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, str.___3.2.5o_2qso42AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6__2o._.6o_._AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
xor eax, eax
mov dl, byte [ecx + eax]
xor dl, 0x41
mov byte [ecx + eax], dl
inc eax
cmp eax, 0x40
jb 0x100044b7
add ecx, 0x40
cmp ecx, 0x10012674
jl 0x100044b5
ret
Function at 0x10004dc0
Capabilities:
Get proxy
Get session user name
Query or enumerate registry value

Disassembly:
sub esp, 0x26c
push esi
push edi
mov esi, 0x80000001
call fcn.10004420
test eax, eax
je 0x10004e5c
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x34]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [0x100145b0]
test eax, eax
jne 0x10004e46
push str.LoadUserProfileA
push str.USERENV.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x100145b0], eax
je 0x10004e5c
mov edx, dword [0x10014594]
lea ecx, [esp + 0x14]
push ecx
push edx
call eax
test eax, eax
je 0x10004e5c
mov esi, dword [esp + 0x30]
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10004f91
mov ecx, 0x7f
lea edi, [esp + 0x75]
mov byte [esp + 0x74], al
push ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x78]
stosb byte es:[edi], al
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.ProxyServer
push ecx
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10004f85
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x7c]
push str.http
push edx
call ebx
mov ebp, dword [esp + 0x288]
mov esi, eax
add esp, 8
test esi, esi
je 0x10004f2b
add esi, 5
push 0x3a
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x10004f2b
cmp edi, esi
je 0x10004f2b
lea eax, [edi + 1]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp + 0x44], eax
test eax, eax
jl 0x10004f24
sub edi, esi
lea ecx, [ebp + 0x24]
push edi
push esi
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp 0x10004f2b
mov dword [ebp + 0x44], 0
lea edx, [esp + 0x7c]
push str.socks
push edx
call ebx
add esp, 8
mov edi, eax
test edi, edi
pop ebx
je 0x10004f85
add edi, 6
push 0x3a
push edi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x10004f85
cmp esi, edi
je 0x10004f85
lea eax, [esi + 1]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp + 0x20], eax
test eax, eax
jl 0x10004f7e
sub esi, edi
push esi
push edi
push ebp
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp 0x10004f85
mov dword [ebp + 0x20], 0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
add esp, 0x26c
ret
Function at 0x10004fa0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x100145b4]
sub esp, 0x104
push ebx
xor ebx, ebx
test eax, eax
jne 0x10005016
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.winmm.dll
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.timeGetTime
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop edi
pop esi
test eax, eax
mov dword [0x100145b4], eax
pop ebp
je 0x10005020
call eax
pop ebx
add esp, 0x104
ret
mov eax, ebx
pop ebx
add esp, 0x104
ret

Function at 0x10005540
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000558e
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.ProcessorNameString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x10005590
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
mov dword [esp + 4], 0
push eax
push str.SYSTEMCurrentControlSetControlTerminal_ServerWds_rdpwdTds_tcp
push 0x80000002
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100055f0
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.PortNumber
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [esp + 4]
add esp, 0x10
ret
Function at 0x10005600
Capabilities:
Get common file path
Get memory capacity
Get session user name

Disassembly:
sub esp, 0x24
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x80
mov dword [esi + 0x368], eax
lea eax, [esi + 0x36c]
push eax
push 0
call edi
mov ecx, 0x7f
sub ecx, eax
test ecx, ecx
jle 0x1000564c
mov edx, dword [0x10014584]
test edx, edx
je 0x1000564c
push ecx
lea ecx, [eax + esi + 0x36d]
push ecx
push edx
call edi
lea edx, [esp + 8]
lea eax, [esi + 0x3ec]
push edx
push eax
mov dword [esp + 0x10], 0x20
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [esi + 0x40c]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0x7f
sub ecx, eax
test ecx, ecx
jle 0x10005692
lea edx, [eax + esi + 0x40d]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x494]
push 0x78
mov dword [esi + 0x48c], ecx
push edx
mov dword [esi + 0x490], 0
call fcn.10005540
add esp, 8
call fcn.10005590
mov word [esi + 0x50c], ax
pop edi
pop esi
add esp, 0x24
ret
Function at 0x10005b30
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x14c]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10005b9a
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [esp + 0xc], 0x10
je 0x10005b7a
lea edx, [esp + 0x38]
push edx
call fcn.10005b00
add esp, 4
test eax, eax
jne 0x10005b7b
inc edi
lea eax, [esp + 0xc]
push eax
push esi
call ebp
test eax, eax
jne 0x10005b62
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop ebp
pop edi
pop esi
add esp, 0x140
ret
mov eax, edi
pop edi
pop esi
add esp, 0x140
ret
Function at 0x10006250
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
lea edi, [ebx + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x100062c5
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push esi
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x18]
mov ecx, edi
call fcn.10001c50
cmp eax, ebx
je 0x1000629b
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebx
ret
push 0x210
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push eax
push 0
mov dword [eax], edi
mov dword [eax + 4], esi
push 0x10006120
mov dword [edi + 0x38], 1
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0x10
mov dword [edi + 0x2c], eax
pop edi
pop esi
pop ebx
ret
Function at 0x10006a00
Capabilities:
Get hostname

Disassembly:
sub esp, 0x84
mov al, 0x5c
lea ecx, [esp + 6]
mov byte [esp + 5], al
mov byte [esp + 4], al
lea eax, [esp]
mov dword [esp], 0x7c
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov eax, dword [esp + 0x88]
lea edx, [esp + 4]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__strcmpi]
neg eax
sbb eax, eax
inc eax
add esp, 0x8c
ret

Function at 0x10006d60
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push 0x210
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [esp + 0x18]
mov esi, eax
mov ecx, 0x84
xor eax, eax
mov edi, esi
add esp, 4
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
lea eax, [esi + 8]
test ebx, ebx
mov dword [esi], edi
mov byte [eax], 0
je 0x10006d9e
push ebx
push eax
mov ecx, edi
call fcn.10001c50
cmp eax, ebx
jne 0x10006db2
push esi
push 0
push 0x10006c60
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [edi + 0x30], eax
pop edi
pop esi
pop ebx
ret

Function at 0x10006dc0
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push esi
mov esi, dword [esp + 0x110]
push edi
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x110]
lea eax, [esp + 8]
push esi
push eax
call fcn.10001c50
pop edi
cmp eax, esi
pop esi
je 0x10006dfe
or eax, 0xffffffff
add esp, 0x104
ret
lea ecx, [esp]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor eax, eax
add esp, 0x104
ret

Function at 0x10006e20
Capabilities:
Delete file

Disassembly:
sub esp, 0x124
mov ecx, 0x41
xor eax, eax
push esi
mov esi, dword [esp + 0x130]
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x130]
lea eax, [esp + 0x28]
push esi
push eax
call fcn.10001c50
cmp eax, esi
je 0x10006e5e
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x124
ret
mov eax, dword [esp + 0x138]
test eax, eax
je 0x10006ea8
mov ecx, 7
xor eax, eax
lea edi, [esp + 8]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push edx
stosw word es:[edi], ax
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], ecx
mov word [esp + 0x1c], 0x614
call dword [0x100144cc]
pop edi
mov eax, 1
pop esi
add esp, 0x124
ret
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
mov eax, 1
pop esi
add esp, 0x124
ret
Function at 0x10007470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x2ac
mov ecx, 0x41
xor eax, eax
push ebx
mov ebx, dword [esp + 0x2b4]
push esi
mov esi, dword [esp + 0x2bc]
push edi
lea edi, [esp + 0x1b4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1b4]
push esi
push eax
mov ecx, ebx
call fcn.10001c50
cmp eax, esi
jne 0x10007563
mov ecx, 0x1a
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1b4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [esp + 0x2c], eax
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x74]
lea eax, [esp + 0x1b4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x1000754c
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x8c]
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
lea eax, [esp + 0x10]
push 0x68
push eax
push 0xffffffffffffffff
push 0xa022
mov ecx, ebx
call fcn.10002320
pop edi
pop esi
pop ebx
add esp, 0x2ac
ret

Function at 0x10007570
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10007596
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x100079b0
Capabilities:
Create thread

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push esi
mov esi, dword [esp + 0x110]
push edi
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x110]
lea eax, [esp + 8]
push esi
push eax
mov ecx, edi
call fcn.10001c50
cmp eax, esi
jne 0x10007a29
push ebx
push 0x210
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
push edx
mov dword [edx], edi
lea edi, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [edx + 8]
mov eax, ecx
mov esi, edi
mov edi, ebx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x100077a0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0x10
pop ebx
pop edi
pop esi
add esp, 0x104
ret

Function at 0x10007b00
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [esp + 0x110]
push esi
push edi
push ebx
call fcn.10007a40
add esp, 4
test eax, eax
jne 0x10007b27
pop edi
pop esi
pop ebx
add esp, 0x108
ret
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
ja 0x10007b47
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x108
ret
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x10], 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
lea ecx, [esp + 0x14]
push ecx
call edi
mov cl, byte [ebx]
add esp, 8
cmp cl, 0x5c
jne 0x10007bc7
cmp byte [ebx + 1], 0x5c
jne 0x10007bc7
lea edx, [esp + 0x12]
push 0x5c
push edx
call edi
add esp, 8
test eax, eax
jne 0x10007bab
pop edi
pop esi
pop ebx
add esp, 0x108
ret
inc eax
push 0x5c
push eax
call edi
add esp, 8
test eax, eax
jne 0x10007bc7
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x108
ret
push ebp
inc eax
push 0x5c
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
mov esi, eax
test esi, esi
je 0x10007be6
mov byte [esi], 0
lea eax, [esp + 0x14]
push 0
push eax
call ebx
test eax, eax
jne 0x10007bfc
call ebp
cmp eax, 0xb7
jne 0x10007c10
test esi, esi
je 0x10007c1d
mov byte [esi], 0x5c
inc esi
push 0x5c
push esi
call edi
add esp, 8
mov esi, eax
jmp 0x10007bdf
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x108
ret
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x108
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d17
nop
sub eax, 0x403cbd
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
ret