joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f0f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408010]
jne 0x404450
repz ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x409368], eax
mov dword [0x409364], ecx
mov dword [0x409360], edx
mov dword [0x40935c], ebx
mov dword [0x409358], esi
mov dword [0x409354], edi
mov word [0x409380], ss
mov word [0x409374], cs
mov word [0x409350], ds
mov word [0x40934c], es
mov word [0x409348], fs
mov word [0x409344], gs
pushfd
pop dword [0x409378]
mov eax, dword [ebp]
mov dword [0x40936c], eax
mov eax, dword [ebp + 4]
mov dword [0x409370], eax
lea eax, [ebp + 8]
mov dword [0x40937c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x4092b8], 0x10001
mov eax, dword [0x409370]
mov dword [0x40926c], eax
mov dword [0x409260], 0xc0000409
mov dword [0x409264], 1
mov eax, dword [0x408010]
mov dword [ebp - 0x328], eax
mov eax, dword [0x408014]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x4092b0], eax
push 1
call fcn.00406093
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x401d80
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x4092b0], 0
jne 0x40453c
push 1
call fcn.00406093
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x40614e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40615d
pop dword [ebp - 0xc]
mov eax, 0x27e42b69
add eax, 0xd85c35f4
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0xaf72df9e
add dword [ebp - 0x1c], 0x9edf65ad
mov dword [ebp - 0x18], 0xd56264f9
sub dword [ebp - 0x18], 0xa32f18b4
mov dword [ebp - 0x14], 0xaeddd418
sub dword [ebp - 0x14], 0x62918fea
mov dword [ebp - 0x10], 0xfc00b346
sub dword [ebp - 0x10], 0xfc00b346
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x9d836d57
sub dword [ebp - 0x1c], 0x29110401
mov dword [ebp - 0x18], 0xf24a294c
sub dword [ebp - 0x18], 0xb0ddc7d7
mov dword [ebp - 0x14], 0x6ad87b70
add dword [ebp - 0x14], 0xf896f0fc
mov dword [ebp - 0x10], 0xfd5c878f
add dword [ebp - 0x10], 0x2a37871
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3726e
push 0
call eax
mov ecx, 0x467fc93d
sub ecx, 0x467f842e
xor edi, edi
add edi, eax
mov ebx, 0xf8292307
sub ebx, 0xf7e5eb07
add ebx, dword [ebp - 0xc]
mov esi, 0xab8fa5bb
sub dword [ebp - 8], 0x9dd71424
mov edx, dword [ebx]
xor dword [ebp - 4], ebx
add edx, esi
mov dword [ebp - 4], 0xd098cf9
mov dword [edi], edx
add edi, 0xa7b6486
add edi, 0xf5849b7e
add ebx, 0x211fb089
sub ebx, 0x211fb085
loop 0x406271
add eax, 0x788e45eb
sub eax, 0x788d3edc
xor ebx, ebx
add ebx, eax
add eax, 0xde453ca5
add eax, 0x21bac360
mov ecx, 0x7d65efbb
sub ecx, 0x7d25efbb
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100896dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100896eb
pop dword [ebp - 0x28]
invalid
mov eax, 0x9247e41
sub eax, 0xf91be756
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x26db9184
add dword [ebp - 0x38], 0x2776b3c7
mov dword [ebp - 0x34], 0xd1557b4f
sub dword [ebp - 0x34], 0x9f222f0a
mov dword [ebp - 0x30], 0x50e828d9
add dword [ebp - 0x30], 0xfb641b55
mov dword [ebp - 0x2c], 0x6fa28539
sub dword [ebp - 0x2c], 0x6fa28539
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xfb514a52
sub dword [ebp - 0x38], 0x86dee0fc
mov dword [ebp - 0x34], 0xf6145f58
sub dword [ebp - 0x34], 0xb4a7fde3
mov dword [ebp - 0x30], 0x407989b4
sub dword [ebp - 0x30], 0xdd0a1d48
mov dword [ebp - 0x2c], 0x2821e090
add dword [ebp - 0x2c], 0xd7de1f70
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xcd523bc8
add eax, 0x42bc5588
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x8853d
push 0
call eax
mov ecx, 0x54ae
mov edx, eax
mov esi, 0x4ee2005e
sub esi, 0x3ec9ec5e
add esi, dword [ebp - 0x28]
mov ebx, 0xecef8132
sub ebx, 0xc70b293b
sub dword [ebp - 0x18], 0x27dd1af
mov edi, dword [esi]
sub dword [ebp - 0xc], edi
add edi, ebx
sub dword [ebp - 0x10], ecx
mov dword [edx], edi
xor dword [ebp - 0x14], 0x3d67e70d
add edx, 0x380078b4
add edx, 0xc7ff8750
add esi, 4
loop 0x10089802
add eax, 0xb7b86123
add eax, 0x4848e468
mov ebx, eax
add eax, 0x9afd1328
sub eax, 0x9afd1323
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x10092bb8
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100f53f8]
xor byte [esi + ecx], al
inc esi
cmp esi, 0x51
jb 0x10092bbc
pop edi
mov byte [ecx + 0x51], 0
mov eax, ecx
pop esi
ret
Function at 0x401000
Capabilities:
Check if file exists
Copy file
Delete directory
Get common file path

Disassembly:
sub esp, 0x324
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x320], eax
push esi
push edi
push 0x103
lea eax, [esp + 0x119]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x120], 0
call fcn.00420f50
add esp, 0xc
push 0x103
lea ecx, [esp + 0x11]
push 0
push ecx
mov byte [esp + 0x18], 0
call fcn.00420f50
add esp, 0xc
push 0x103
lea edx, [esp + 0x221]
push 0
push edx
mov byte [esp + 0x228], 0
call fcn.00420f50
add esp, 0xc
lea eax, [esp + 0x114]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jge 0x4010b4
push str.Fail_to_get_app_data_path.
mov ecx, 0x43b48c
call fcn.0040a090
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.0041aec3
add esp, 0x324
ret
push str.huawei_svn3000
lea ecx, [esp + 0x118]
push ecx
push 0x42ced8
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0041af4d
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x14
lea eax, [esp + 0xc]
push eax
call edi
test eax, eax
jne 0x401100
push str.The_old_svn_dir_deosnt_exists.
mov ecx, 0x43b48c
call fcn.0040a090
add esp, 4
jmp 0x40123b
push str.log_
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.0041af88
add esp, 0xc
push str.svn3000.ini
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.0041af88
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call edi
test eax, eax
je 0x401199
push str.svn_client.ini
push str._svnclient
lea ecx, [esp + 0x11c]
push ecx
push str._s_slog_s
lea edx, [esp + 0x22c]
push 0x104
push edx
call fcn.0041af4d
add esp, 0x18
push 0
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4011ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Fail_to_copy_old_svn_config_file_to_new_dir__error_code:__d.
mov ecx, 0x43b48c
call fcn.0040a090
add esp, 8
jmp 0x4011ab
push str.The_old_svn_config_file_isnt_exist.
mov ecx, 0x43b48c
call fcn.0040a090
add esp, 4
push 0x104
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00420f50
add esp, 0xc
push str.huawei_svn3000
lea eax, [esp + 0x118]
push eax
push str._s_s
lea ecx, [esp + 0x18]
push 0x104
push ecx
call fcn.0041af4d
add esp, 0x14
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00401260
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea eax, [esp + 0xc]
push eax
call esi
push 0x104
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.00420f50
add esp, 0xc
push str.huawei
lea edx, [esp + 0x118]
push edx
push str._s_s
lea eax, [esp + 0x18]
push 0x104
push eax
call fcn.0041af4d
add esp, 0x14
lea ecx, [esp + 0xc]
push ecx
call esi
mov ecx, dword [esp + 0x328]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0041aec3
add esp, 0x324
ret
Function at 0x401260
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x460
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x45c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x470]
push edi
push 0x104
lea eax, [esp + 0x25c]
push 0
push eax
mov ebx, ecx
call fcn.00420f50
add esp, 0xc
push 0x104
lea ecx, [esp + 0x364]
push 0
push ecx
call fcn.00420f50
add esp, 0xc
push 0x104
lea edx, [esp + 0x154]
push 0
push edx
call fcn.00420f50
add esp, 0xc
push esi
lea eax, [esp + 0x25c]
push 0x104
push eax
call fcn.0041aff9
add esp, 0xc
push 0x42cfb8
lea ecx, [esp + 0x25c]
push 0x104
push ecx
call fcn.0041af88
add esp, 0xc
push esi
lea edx, [esp + 0x364]
push 0x104
push edx
call fcn.0041aff9
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40132d
xor eax, eax
jmp 0x401414
mov edi, 0x42cfc0
lea esi, [esp + 0x3c]
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x401346
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4013f4
mov edi, 0x42cfc4
lea esi, [esp + 0x3c]
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x401367
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4013f4
lea edx, [esp + 0x360]
push edx
lea eax, [esp + 0x154]
push 0x104
push eax
call fcn.0041aff9
add esp, 0xc
push 0x42cfc8
lea ecx, [esp + 0x154]
push 0x104
push ecx
call fcn.0041af88
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x154]
push 0x104
push eax
call fcn.0041af88
add esp, 0xc
test byte [esp + 0x10], 0x10
je 0x4013e6
lea ecx, [esp + 0x150]
push ecx
mov ecx, ebx
call fcn.00401260
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x4013f4
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40132d
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041aec3
add esp, 0x460
ret 4
Function at 0x401430
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub esp, 0x4ac
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x4a4], eax
push esi
push edi
push 0x206
lea eax, [esp + 0x2a6]
push 0
push eax
mov word [esp + 0x2ac], 0
call fcn.00420f50
add esp, 0xc
push 0x18e
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.00420f50
add esp, 0xc
push 0x104
lea edx, [esp + 0x19c]
push 0
push edx
call fcn.00420f50
add esp, 0xc
push 0x104
lea eax, [esp + 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x42cfcc
lea ecx, [esp + 0x19c]
push 0x104
push ecx
call fcn.0041af88
add esp, 0xc
lea edx, [esp + 0x198]
push 0
push edx
call fcn.0041b0e5
add esp, 8
cmp eax, 0xffffffff
jne 0x401510
lea eax, [esp + 0x198]
push eax
push str.Failed_to_install_NSP___s_does_not_exist_
mov ecx, 0x43b48c
call fcn.0040a090
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x4a4]
xor ecx, esp
call fcn.0041aec3
add esp, 0x4ac
ret
push 0x104
lea ecx, [esp + 0x2a4]
push ecx
push 0x21
push str._SystemRoot__system32pfmnsp.dll
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [esp + 8]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40156d
push str.Failed_to_install_NSP__unable_to_load_Winsock_
mov ecx, 0x43b48c
call fcn.0040a090
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x4a4]
xor ecx, esp
call fcn.0041aec3
add esp, 0x4ac
ret
lea edi, [esp + 0x2a0]
call fcn.004017c0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x4ac]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
xor ecx, esp
call fcn.0041aec3
add esp, 0x4ac
ret
Function at 0x401da0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esi + 0x210]
sub esp, 0x20
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x401db7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x10f]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 1
lea ecx, [esp + 0x14]
push ecx
mov dword [esi + 0x210], eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea ecx, [esi + 0x10]
push ecx
push edi
push ebx
push 4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push 0xffffffffffffffff
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi], eax
jne 0x401e27
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
xor eax, eax
pop ebx
add esp, 0x20
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401e3b
mov dword [esi + 0xc], 1
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ebx
push ebx
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 0x214], eax
jne 0x401e69
mov edx, dword [esi]
push edx
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
add esp, 0x20
ret
mov dword [esi + 8], 1
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x402160
Capabilities:
Get common file path
Query environment variable

Disassembly:
sub esp, 0x214
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push edi
push 0x105
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x402225
lea eax, [esp + 0x110]
mov edx, str._SYSTEMROOT__system32
mov ecx, eax
xor edi, edi
mov esi, 0x105
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x4021b8
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x4021a5
jmp 0x4021bc
test esi, esi
jne 0x4021c4
sub eax, 1
mov edi, 0x8007007a
test edi, edi
mov byte [eax], 0
jge 0x4021fb
push edi
push str.LoadUpdateProviderFunctions:_StringCchCopyA_failed:_0x_x_n
call fcn.0041b248
add eax, 0x40
push eax
call fcn.0041b0f9
add esp, 0xc
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041aec3
add esp, 0x214
ret
push 0x105
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jne 0x402225
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadUpdateProviderFunctions:_Unable_to_expand_environment_string:__d_n
jmp 0x4021d1
lea edi, [esp + 8]
call fcn.00403470
test eax, eax
jge 0x40223a
push eax
push str.LoadUpdateProviderFunctions:_StringCchCatA_failed:_0x_x_n
jmp 0x4021d1
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x402286
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0xc]
push edx
push str.LoadUpdateProviderFunctions:_Unable_to_load__s:__d_n
call fcn.0041b248
add eax, 0x40
push eax
call fcn.0041b0f9
add esp, 0x10
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041aec3
add esp, 0x214
ret
push str.WSCUpdateProvider
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x218]
mov dword [0x43ada0], eax
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0041aec3
add esp, 0x214
ret
Function at 0x4027c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x4c8
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x4c4], eax
push ebp
mov ebp, dword [esp + 0x4d0]
push esi
push 0x98
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x24], 0
call fcn.00420f50
xor ecx, ecx
add esp, 0xc
cmp ecx, str.SVN3000_Client_Service_Provider
je 0x402866
test edi, edi
je 0x402866
test ebx, ebx
je 0x402866
mov eax, str.SVN3000_Client_Service_Provider
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402813
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0xff
sub eax, edx
lea edx, [esp + 0xbc]
push edx
add eax, 1
push eax
push str.SVN3000_Client_Service_Provider
push 0
push 0
call esi
test eax, eax
jne 0x402881
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SVN3000_Client_Service_Provider
push str.InstallLsp:_MultiByteToWideChar_failed_to_convert__s__Error___d_n
call fcn.0041b248
add eax, 0x40
push eax
call fcn.0041b0f9
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x4cc]
pop esi
pop ebp
xor ecx, esp
call fcn.0041aec3
add esp, 0x4c8
ret 4
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x402886
push 0x104
sub eax, edx
lea ecx, [esp + 0x2bc]
push ecx
add eax, 1
push eax
push edi
push 0
push 0
call esi
test eax, eax
jne 0x4028bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.InstallLsp:_MultiByteToWidechar_failed_to_convert__s:_Error___d_n
jmp 0x402855
test ebp, ebp
jne 0x4028d8
push str.InstallLsp:_Error__Must_specify_at_least_one_provider_to_layer_over__n_n
call fcn.0041b248
add eax, 0x40
push eax
call fcn.0041b0f9
add esp, 8
jmp 0x402866
mov eax, dword [0x43936c]
mov edx, dword [0x439368]
mov ecx, dword [0x439370]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov edx, dword [0x439374]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 6
jb 0x402944
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0xc]
lea ecx, [esp + 0x2bc]
call fcn.00402c30
cmp eax, 0xffffffff
je 0x402866
mov eax, 1
jmp 0x402868
mov eax, dword [ebx]
lea edx, [esp + 0xb8]
push edx
push eax
call fcn.004022b0
mov esi, eax
test esi, esi
jne 0x402964
push str.InstallLsp:_CreateDummyEntry_failed__n
jmp 0x4028c5
lea ecx, [esp + 8]
push ecx
mov ecx, esi
lea edx, [esp + 0x2bc]
call fcn.004029f0
test eax, eax
mov eax, esi
je 0x402987
call fcn.004027a0
jmp 0x402866
call fcn.004027a0
push ebp
push ebx
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x2c4]
lea edx, [esp + 0x14]
call fcn.00402f50
cmp eax, 0xffffffff
jne 0x40293a
lea ecx, [esp + 8]
call fcn.004029c0
jmp 0x402866
Function at 0x4032e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x24], eax
xor eax, eax
mov cl, 0xd2
mov dword [esp], eax
mov byte [esp + 0x1e], al
mov byte [esp + 0xe], al
lea eax, [esp]
mov byte [esp + 0x22], cl
mov byte [esp + 0x12], cl
mov dl, 0xea
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x1c], 0x6acd2327
mov word [esp + 0x20], 0x3dea
mov word [esp + 0x22], 0x2123
mov byte [esp + 0x24], 0x41
mov byte [esp + 0x25], 0x23
mov byte [esp + 0x27], 0x37
mov byte [esp + 0x28], 0x92
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], 0x12
mov dword [esp + 0xc], 0x6acd2327
mov word [esp + 0x10], 0x3dea
mov word [esp + 0x12], 0x2123
mov byte [esp + 0x14], 0x41
mov byte [esp + 0x15], 0x23
mov byte [esp + 0x17], 0x37
mov byte [esp + 0x18], 0x92
mov byte [esp + 0x19], dl
mov byte [esp + 0x1b], 0x13
call sub.WS2_32.dll_WSCDeinstallProvider
lea edx, [esp]
push edx
lea eax, [esp + 0x18]
push eax
call sub.WS2_32.dll_WSCDeinstallProvider
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0041aec3
add esp, 0x2c
ret

Function at 0x403400
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x104
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x100], eax
push 0xff
lea eax, [esp + 4]
push 0
push eax
call fcn.00420f50
mov edx, dword [esp + 0x114]
lea ecx, [esp + 0x118]
push ecx
push edx
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.0041b615
add esp, 0x1c
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0041aec3
add esp, 0x104
ret

Function at 0x4038d0
Capabilities:
Get disk information

Disassembly:
push ecx
test esi, esi
mov dword [esp], 0
je 0x403910
push 0
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x42dbe0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x403914
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetUserIdentifier_last_err:_d
call fcn.0041b3c3
add esp, 8
xor eax, eax
pop ecx
ret
mov ecx, dword [esp]
mov dword [esi], ecx
mov eax, 1
pop ecx
ret

Function at 0x403b90
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 8
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 4], eax
push edi
lea edi, [esi + 4]
mov dword [esi + 8], 0xffffffff
mov dword [edi], 0
nop
mov eax, dword [esi]
push eax
call fcn.0041b96e
xor ecx, ecx
add esp, 4
mov eax, 0x400
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ae22
add esp, 4
push edi
push 0x1000
push eax
mov dword [esi], eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x403bf5
shr dword [edi], 2
mov dword [esi + 8], 1
cmp dword [edi], 0x400
jae 0x403bb0
mov eax, dword [esi]
test eax, eax
je 0x403c23
mov ecx, dword [esi + 8]
cmp ecx, dword [edi]
jae 0x403c23
mov eax, dword [eax + ecx*4]
add ecx, 1
mov dword [esi + 8], ecx
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0041aec3
add esp, 8
ret
mov ecx, dword [esp + 8]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0041aec3
add esp, 8
ret
Function at 0x403c60
Capabilities:
Enumerate process modules

Disassembly:
cmp dword [esi], 0
push edi
lea edi, [esi + 8]
mov dword [edi], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 4], 0
je 0x403ce9
lea ecx, [ecx]
mov eax, dword [esi + 4]
push eax
call fcn.0041b96e
xor ecx, ecx
mov eax, 0x400
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ae22
add esp, 8
push edi
push 0x1000
push eax
mov dword [esi + 4], eax
mov eax, dword [esi]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x403cc7
shr dword [edi], 2
mov dword [esi + 0xc], 0
cmp dword [edi], 0x400
jae 0x403c80
cmp dword [esi], 0
je 0x403ce9
mov ecx, dword [esi + 0xc]
cmp ecx, dword [edi]
jae 0x403ce9
mov edx, dword [esi + 4]
mov eax, dword [edx + ecx*4]
add ecx, 1
mov dword [esi + 0xc], ecx
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x403eb0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x238
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x234], eax
lea eax, [esp]
push eax
push esi
mov dword [esp + 8], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x403f59
push 0x103
lea ecx, [esp + 0x12d]
push 0
push ecx
mov byte [esp + 0x134], 0
call fcn.00420f50
add esp, 0xc
cmp dword [esp + 0x23c], 0
push edi
je 0x403f18
push str._s.exe
push 0x104
lea edx, [esp + 0x134]
push edx
jmp 0x403f2a
push 0x42dd4c
push 0x104
lea eax, [esp + 0x134]
push eax
call fcn.0041af4d
add esp, 0x10
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x12c]
push edx
call fcn.0041d5c0
add esp, 8
test eax, eax
je 0x403f79
lea eax, [esp]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403f32
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.0041aec3
add esp, 0x238
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, dword [esp + 8]
xor ecx, esp
call fcn.0041aec3
add esp, 0x238
ret 4

Function at 0x403fa0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x134
mov eax, dword [0x4382c4]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x403fe5
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x404000
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0041aec3
add esp, 0x134
ret
cmp dword [esp + 0x10], ebx
je 0x404017
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x404000
jmp 0x40401c
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0041aec3
add esp, 0x134
ret
Function at 0x404040
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push eax
push 0
push 0x100001
mov edi, 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404070
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret