joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007bb0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
mov eax, dword [esi]
xor ebx, ebx
inc ebx
push eax
mov dword [ebp - 8], ebx
add esi, 4
mov dword [ebp - 4], eax
call sub.WS2_32.dll_ntohl
mov dword [ebp - 0xc], eax
movzx eax, word [esi]
inc esi
push eax
inc esi
sub edi, 6
call sub.WS2_32.dll_ntohs
movzx eax, ax
mov dword [ebp - 0x10], eax
mov eax, 0x3ff
cmp edi, eax
jl 0x10007bf6
mov edi, eax
push edi
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.1001daa0
add esp, 0xc
mov byte [ebp + edi - 0x420], 0
call fcn.10002314
push 0
push ebx
push 2
call sub.WS2_32.dll_socket
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
jne 0x10007c3f
push edi
call sub.WS2_32.dll_closesocket
push 4
lea eax, [ebp - 4]
push 4
push eax
call fcn.100012c1
add esp, 0xc
jmp 0x10007cb6
lea eax, [ebp - 0x420]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x10007c52
push esi
jmp 0x10007c28
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.1001daa0
add esp, 0xc
push 2
pop eax
push dword [ebp - 0x10]
mov word [ebp - 0x20], ax
call sub.WS2_32.dll_htons
mov word [ebp - 0x1e], ax
lea eax, [ebp - 8]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, edi
je 0x10007c4f
push 0x10
lea eax, [ebp - 0x20]
push eax
push esi
call sub.WS2_32.dll_connect
cmp eax, edi
jne 0x10007cac
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10007c4f
mov ebx, dword [ebp - 0xc]
push esi
call fcn.100079e9
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10007cbb
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, eax
add ebx, 0x7530
and dword [ebp - 8], 0
mov dword [ebp - 4], 0x64
jmp 0x10007d73
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x218]
push eax
xor ecx, ecx
inc ecx
push 0
push 0
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x110], ecx
call dword [sym.imp.WS2_32.dll_select]
lea eax, [ebp - 0x110]
push eax
push dword [edi + 0x1c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x10007d7d
lea eax, [ebp - 0x218]
push eax
push dword [edi + 0x1c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x10007d73
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x1c]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x10007d7d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10007d7d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
cmp eax, ebx
jb 0x10007ce6
pop esi
pop ebx
leave
ret
Function at 0x10007d81
Capabilities:
Get socket status
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
add edi, 0x7530
and dword [ebp - 8], 0
mov dword [ebp - 4], 0x64
jmp 0x10007e09
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x228]
push eax
xor ecx, ecx
inc ecx
push 0
push 0
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x120], ecx
call dword [sym.imp.WS2_32.dll_select]
lea eax, [ebp - 0x120]
push eax
push dword [ebx + 0x1c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x10007e53
lea eax, [ebp - 0x228]
push eax
push dword [ebx + 0x1c]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x10007e11
call esi
cmp eax, edi
jb 0x10007da9
jmp 0x10007e53
push dword [ebp + 0x14]
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x10007e53
push 2
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x18], ax
call sub.WS2_32.dll_htons
push dword [ebp + 0x14]
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx + 0x1c]
call dword [sym.imp.WS2_32.dll_sendto]
pop edi
pop esi
leave
ret
Function at 0x10008220
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [0x1003e848]
push edi
xor edi, edi
test esi, esi
je 0x100082bb
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [esi + 4]
test eax, eax
jne 0x1000824e
cmp dword [esi + 0xc], eax
jne 0x10008259
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov edi, esi
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x10008239
jmp 0x100082ba
test eax, eax
jne 0x1000824e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xc]
cmp eax, 0x3e8
jbe 0x1000824e
cmp dword [esi + 0x10], 0
jne 0x1000827a
push 2
push dword [esi + 0x1c]
call ebx
cmp dword [esi + 0x10], 4
jne 0x10008287
push 2
push dword [esi + 0x1c]
call ebx
push dword [esi + 0x1c]
call sub.WS2_32.dll_closesocket
test eax, eax
je 0x10008299
cmp dword [esi + 0x10], 2
je 0x1000824e
mov eax, dword [esi + 0x20]
push esi
test edi, edi
je 0x100082af
mov dword [edi + 0x20], eax
call fcn.10016fc2
mov esi, dword [edi + 0x20]
pop ecx
jmp 0x10008253
mov dword [0x1003e848], eax
call fcn.10016fc2
pop ecx
pop ebx
pop edi
pop esi
ret
Function at 0x100082be
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x1003e848]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
cmp dword [0x1003e84c], edi
jne 0x100082ed
push 0x100000
call fcn.1001709f
pop ecx
mov dword [0x1003e84c], eax
cmp esi, edi
je 0x10008406
mov ebx, 0xffffc
cmp dword [esi + 4], 1
jne 0x100083fb
push 4
pop edi
push dword [esi]
cmp dword [esi + 0x10], edi
jne 0x1000837b
call sub.WS2_32.dll_htonl
mov ecx, dword [0x1003e84c]
mov dword [ecx], eax
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push ebx
add ecx, 4
push ecx
mov dword [ebp - 0xc], 0x10
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
jne 0x1000835f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100083fb
push 4
push 4
jmp 0x100083c9
test eax, eax
jbe 0x100083fb
mov ecx, dword [0x1003e84c]
mov byte [ecx + eax + 4], 0
push 5
add eax, 4
push eax
push ecx
jmp 0x100083f0
call sub.WS2_32.dll_htonl
mov ecx, dword [0x1003e84c]
mov dword [ecx], eax
lea eax, [ebp - 4]
push eax
push 0x4004667f
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp - 4], ebx
jbe 0x100083a2
mov dword [ebp - 4], ebx
cmp eax, 0xffffffff
je 0x100083c7
cmp dword [ebp - 4], 0
jbe 0x100083fb
push dword [ebp - 4]
mov eax, dword [0x1003e84c]
push dword [esi + 0x1c]
add eax, 4
call fcn.1000793c
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x100083dd
push edi
push edi
push dword [0x1003e84c]
and dword [esi + 4], 0
call fcn.100012c1
add esp, 0xc
jmp 0x100083fb
mov ecx, dword [ebp - 4]
cmp eax, ecx
jne 0x100083fb
push 5
add ecx, 4
push ecx
push dword [0x1003e84c]
call fcn.100012c1
add esp, 0xc
inc dword [ebp - 8]
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x100082fa
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000919b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
call fcn.100076c7
lea eax, [ebp - 0x10]
add esp, 0xc
push eax
call fcn.100076e0
pop ecx
mov ebx, eax
push 1
call fcn.1000c0d7
mov esi, eax
pop ecx
test esi, esi
je 0x100091e9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x100091fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x23
call fcn.10002288
add esp, 0xc
mov edx, esi
call fcn.1000c25b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009273
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94c
push ebx
push esi
push edi
xor ebx, ebx
push 0x7ff
lea eax, [ebp - 0x947]
push ebx
push eax
mov byte [ebp - 0x948], bl
call fcn.1001ec90
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.100076c7
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
call fcn.100076e0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
mov dword [esp], 0x8000
push eax
call fcn.1000139d
cmp dword [ebp - 4], ebx
pop ecx
pop ecx
jle 0x100092df
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push eax
call fcn.100013ed
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.10003e7f
pop ecx
test eax, eax
je 0x100092f9
mov dword [ebp - 8], 0x1002f6b4
jmp 0x10009310
call fcn.1000f9fe
mov dword [ebp - 8], 0x1002f6b4
test eax, eax
jne 0x10009310
mov dword [ebp - 8], 0x1002f6b8
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10009452
lea eax, [ebp - 0x148]
push eax
push edi
mov dword [ebp - 0x148], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1000934a
mov edx, edi
call fcn.1000c25b
jmp 0x10009452
call fcn.100073ac
mov ebx, dword [ebp - 0x140]
neg eax
sbb eax, eax
and eax, 0xc00
add eax, 0x400
push eax
call fcn.1000c0d7
mov esi, eax
pop ecx
test esi, esi
jne 0x10009396
push dword [ebp - 0x140]
lea eax, [ebp - 0x124]
push dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x18]
push str._s_t_d_t_d_n
push eax
call fcn.100014f7
add esp, 0x14
jmp 0x10009410
lea eax, [ebp - 0x948]
push eax
push esi
call fcn.10009207
pop ecx
pop ecx
test eax, eax
jne 0x100093af
mov byte [ebp - 0x948], al
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x100093c7
or dword [ebp - 0x1c], 0xffffffff
push esi
call fcn.10003e7f
test eax, eax
pop ecx
mov eax, 0x1002f6b8
jne 0x100093da
mov eax, dword [ebp - 8]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x948]
push ecx
push eax
push dword [ebp - 0x140]
lea eax, [ebp - 0x124]
push dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x18]
push str._s_t_d_t_d_t_s_t_s_t_d_n
push eax
call fcn.100014f7
add esp, 0x20
mov edx, esi
call fcn.1000c25b
lea eax, [ebp - 0x148]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000934a
mov edx, edi
call fcn.1000c25b
cmp dword [ebp - 4], 0
lea eax, [ebp - 0x18]
jne 0x10009439
push 0x11
jmp 0x1000943b
push 0x16
call fcn.10001559
push eax
lea eax, [ebp - 0x18]
call fcn.10001556
push eax
call fcn.100012c1
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.10001536
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000949e
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, 0x8000
push ebx
call fcn.1001709f
push dword [ebp + 8]
mov edi, eax
push str._s
push ebx
push edi
call fcn.100173fb
mov esi, dword [ebp + 0xc]
add esp, 0x14
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push edi
mov dword [ebp - 4], eax
call fcn.10016fc2
cmp dword [ebp - 4], 0xffffffff
pop ecx
je 0x1000955d
test byte [esi], 0x10
lea eax, [esi + 0x2c]
je 0x10009562
push 2
mov edi, 0x1002f6e4
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x10009543
mov esi, eax
push 3
mov edi, 0x1002f6e8
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10009543
push ebx
call fcn.1001709f
mov esi, dword [ebp + 0xc]
add esi, 0x2c
push esi
push 0x1002f51c
mov edi, eax
push ebx
push edi
call fcn.100173fb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.10009461
push 1
push edi
push dword [ebp + 8]
call dword [ebp + 0x10]
push edi
call fcn.10016fc2
add esp, 0x34
mov esi, dword [ebp + 0xc]
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100094df
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret
push 0
push eax
push dword [ebp + 8]
call dword [ebp + 0x10]
add esp, 0xc
jmp 0x10009546

Function at 0x10009830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
jne 0x1000983e
jmp 0x100098b5
mov eax, dword [ebp + 0x10]
and eax, 0xff
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0x10]
shr ecx, 8
and ecx, 0xff
mov byte [ebp - 3], cl
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xff
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
shr eax, 0x18
and eax, 0xff
mov byte [ebp - 1], al
mov dword [ebp - 8], 0
jmp 0x10009887
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x100098b5
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 4
div ecx
movzx edx, byte [ebp + edx - 4]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movsx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x1000987e
mov esp, ebp
pop ebp
ret

Function at 0x100098c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.10009fe0
mov dword [ebp - 8], eax
mov eax, 1
test eax, eax
je 0x1000991e
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x10009913
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jb 0x10009913
cmp dword [ebp - 4], 0x400
jae 0x10009913
mov edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
jne 0x10009913
jmp 0x1000991e
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
jmp 0x100098ce
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10009c00
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x10009c87
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
je 0x10009c7c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x28
mov dword [ebp - 0x10], edx
jmp 0x10009c23
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000a030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push edi
mov byte [ebp - 0x30], 0x6b
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x2d], 0x6e
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x6c
mov byte [ebp - 0x2a], 0x33
mov byte [ebp - 0x29], 0x32
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x61
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x4c
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x62
mov byte [ebp - 0x1d], 0x72
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x14], 0x4c
mov byte [ebp - 0x13], 0x6f
mov byte [ebp - 0x12], 0x61
mov byte [ebp - 0x11], 0x64
mov byte [ebp - 0x10], 0x4c
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x62
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x61
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x79
mov byte [ebp - 9], 0x45
mov byte [ebp - 8], 0x78
mov byte [ebp - 7], 0x41
mov byte [ebp - 6], 0
mov byte [ebp - 0x50], 0x56
mov byte [ebp - 0x4f], 0x69
mov byte [ebp - 0x4e], 0x72
mov byte [ebp - 0x4d], 0x74
mov byte [ebp - 0x4c], 0x75
mov byte [ebp - 0x4b], 0x61
mov byte [ebp - 0x4a], 0x6c
mov byte [ebp - 0x49], 0x41
mov byte [ebp - 0x48], 0x6c
mov byte [ebp - 0x47], 0x6c
mov byte [ebp - 0x46], 0x6f
mov byte [ebp - 0x45], 0x63
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x40], 0x56
mov byte [ebp - 0x3f], 0x69
mov byte [ebp - 0x3e], 0x72
mov byte [ebp - 0x3d], 0x74
mov byte [ebp - 0x3c], 0x75
mov byte [ebp - 0x3b], 0x61
mov byte [ebp - 0x3a], 0x6c
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x72
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x63
mov byte [ebp - 0x33], 0x74
mov byte [ebp - 0x32], 0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
lea edi, [ebp - 0x30]
xor al, al
mov ecx, 9
rep stosb byte es:[edi], al
lea edi, [ebp - 0x24]
xor al, al
mov ecx, 0xd
rep stosb byte es:[edi], al
lea edi, [ebp - 0x14]
xor al, al
mov ecx, 0xf
rep stosb byte es:[edi], al
lea edi, [ebp - 0x50]
xor al, al
mov ecx, 0xd
rep stosb byte es:[edi], al
lea edi, [ebp - 0x40]
xor al, al
mov ecx, 0xf
rep stosb byte es:[edi], al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1000a500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
jne 0x1000a50e
jmp 0x1000a585
mov eax, dword [ebp + 0x10]
and eax, 0xff
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0x10]
shr ecx, 8
and ecx, 0xff
mov byte [ebp - 3], cl
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xff
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
shr eax, 0x18
and eax, 0xff
mov byte [ebp - 1], al
mov dword [ebp - 8], 0
jmp 0x1000a557
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x1000a585
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 4
div ecx
movzx edx, byte [ebp + edx - 4]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movsx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x1000a54e
mov esp, ebp
pop ebp
ret

Function at 0x1000a590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.1000acb0
mov dword [ebp - 8], eax
mov eax, 1
test eax, eax
je 0x1000a5ee
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x1000a5e3
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jb 0x1000a5e3
cmp dword [ebp - 4], 0x400
jae 0x1000a5e3
mov edx, dword [ebp - 4]
add edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
jne 0x1000a5e3
jmp 0x1000a5ee
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
jmp 0x1000a59e
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1000a8d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
je 0x1000a957
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
add edx, dword [ecx + 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
je 0x1000a94c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x28
mov dword [ebp - 0x10], edx
jmp 0x1000a8f3
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000afed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
mov eax, ecx
cdq
idiv dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov al, byte [edx + eax]
xor byte [ecx + str.._._._.._._.__], al
inc ecx
cmp ecx, 0x1800
jl 0x1000aff2
pop ebp
ret

Function at 0x1000b00f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x1000b036
mov eax, dword [ebp + 8]
lea ecx, [esi + eax]
mov eax, esi
cdq
idiv edi
mov eax, dword [ebp + 0x10]
sub eax, edx
mov al, byte [eax + edi - 1]
xor byte [ecx], al
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x1000b01a
pop esi
pop ebp
ret
Function at 0x1000b54b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push str.._._._.._._.__
mov esi, 0x800
push esi
mov ebx, 0x10035810
push ebx
mov edi, 0x1800
call fcn.1000b00f
add esp, 0xc
xor eax, eax
xor byte [eax + 0x10035810], 0x8a
inc eax
cmp eax, esi
jl 0x1000b574
push esi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.100076c7
lea eax, [ebp - 0x10]
push eax
call fcn.10007723
movzx edi, ax
add esp, 0x10
test di, di
jle 0x1000b643
lea eax, [ebp - 0x10]
push eax
call fcn.10007723
movzx esi, ax
lea eax, [ebp - 0x10]
push eax
call fcn.10007723
movsx ebx, di
pop ecx
pop ecx
movzx ecx, ax
mov eax, dword [0x10041a0c]
shl ebx, 3
lea edi, [ebx + eax]
movsx eax, si
dec eax
mov word [edi], si
je 0x1000b60e
dec eax
je 0x1000b5f8
dec eax
jne 0x1000b623
movsx eax, cx
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10007812
pop ecx
pop ecx
push eax
push dword [edi + 4]
call fcn.1001daa0
add esp, 0xc
jmp 0x1000b623
lea eax, [ebp - 0x10]
push eax
call fcn.100076e0
pop ecx
mov ecx, dword [0x10041a0c]
mov dword [ebx + ecx + 4], eax
jmp 0x1000b623
lea eax, [ebp - 0x10]
push eax
call fcn.10007723
pop ecx
mov ecx, dword [0x10041a0c]
mov word [ebx + ecx + 4], ax
lea eax, [ebp - 0x10]
push eax
call fcn.10007723
movzx edi, ax
pop ecx
test di, di
jg 0x1000b5a3
mov esi, 0x800
mov ebx, 0x10035810
push esi
push 0
push ebx
call fcn.1001ec90
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000b8c2
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx], 0
mov eax, 0x52964ee9
je 0x1000b8e3
push esi
movzx edx, word [ecx]
mov esi, eax
movzx edx, dx
ror esi, 8
add esi, edx
inc ecx
xor eax, esi
cmp byte [ecx], 0
jne 0x1000b8cd
pop esi
ret