joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439940
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x439a93
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00439840
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x439a66
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp - 4], eax
cmp ebx, esi
jne 0x4399de
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x439a59
mov eax, dword [eax + 4]
movzx edi, word [ecx + 8]
cmp di, word [eax + 8]
jne 0x439a1a
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x439a12
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x439a59
mov edi, eax
cmp ebx, eax
je 0x439a36
mov eax, dword [eax + 4]
mov edi, eax
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
mov esi, dword [ebp + 8]
je 0x439a6f
cmp ebx, eax
jne 0x439a20
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov ebx, dword [ebp - 0xc]
mov ecx, edx
cmp edx, esi
jne 0x4399a2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x439a59
push str.invalid_hash_bucket_count
call fcn.00445499
int3
Function at 0x44b0c3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4595fc
push 0x4595f4
push str.FlsAlloc
push 0x1e
call fcn.0044afa1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44b0f7
push dword [ebp + 8]
mov ecx, esi
call dword [0x455308]
call esi
jmp 0x44b0fd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44b141
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x45960c
push 0x459604
push str.FlsGetValue
push 0x20
call fcn.0044afa1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44b178
push dword [ebp + 8]
mov ecx, esi
call dword [0x455308]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x44ca0b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x44caa8
push ebx
push esi
call fcn.0044c9d4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0044ad74
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x44ca55
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44caa7
push edi
push eax
call fcn.0044aa61
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x44ca75
call fcn.0044aa27
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x44caa6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0044ad74
add esp, 0x20
test eax, eax
jne 0x44ca94
push edi
call fcn.0044aa27
jmp 0x44ca9c
push ebx
call fcn.0044aa27
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10002d90
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0xc3
push 0x17e27d1
mov dword [esi + 8], 0x19f78c0
mov dword [esi + 0xc], 0x19b24b0
mov dword [esi + 4], 0xa3004a4
mov dword [esi + 0x10], 0x1c32b10
mov dword [esi + 0x14], 0x1c32b14
mov dword [esi + 0x18], 0x1c32b18
mov dword [esi + 0x28], 0xa300a94
mov dword [esi + 0x2c], 0x17db926
call fcn.10014b90
push 5
push 0x90
push 0x12bcd03
call fcn.10014b50
push 0x100032a0
push 0x12bcd03
push 0xe8
call fcn.10014bd0
add esp, 0x20
mov dword [esi + 0x30], 0x420c0000
mov dword [esi + 0x34], 2
push 0
push 0
push 0
push 0x10003210
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [esi + 0x78], 1
pop esi
ret

Function at 0x10004190
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
sub esi, 1
push edi
mov edi, dword [esp + 0xc]
js 0x10004257
movzx ecx, byte [edi]
lea edi, [edi + 1]
shl ecx, 8
xor eax, ecx
lea ecx, [eax + eax]
mov edx, ecx
xor edx, 0x10213465
and eax, 0x8000
cmove edx, ecx
lea eax, [edx + edx]
mov ecx, eax
xor ecx, 0x10213465
and edx, 0x8000
cmove ecx, eax
lea eax, [ecx + ecx]
mov edx, eax
xor edx, 0x10213465
and ecx, 0x8000
cmove edx, eax
lea eax, [edx + edx]
mov ecx, eax
xor ecx, 0x10213465
and edx, 0x8000
cmove ecx, eax
lea eax, [ecx + ecx]
mov edx, eax
xor edx, 0x10213465
and ecx, 0x8000
cmove edx, eax
lea eax, [edx + edx]
mov ecx, eax
xor ecx, 0x10213465
and edx, 0x8000
cmove ecx, eax
lea eax, [ecx + ecx]
mov edx, eax
xor edx, 0x10213465
and ecx, 0x8000
cmove edx, eax
lea ecx, [edx + edx]
mov eax, ecx
xor eax, 0x10213465
and edx, 0x8000
cmove eax, ecx
sub esi, 1
jns 0x100041a5
pop edi
pop esi
ret

Function at 0x10004260
Capabilities:
Read file on windows

Disassembly:
push ebx
push 0x10066820
push ecx
call fcn.1004dd0e
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10004277
pop ebx
ret
push esi
push edi
push 2
push 0
push ebx
call fcn.1004e322
push ebx
call fcn.1004e981
push 0
push 0
push ebx
mov esi, eax
call fcn.1004e322
push esi
call fcn.10046deb
push ebx
push esi
mov edi, eax
push 1
push edi
call fcn.1004defe
push esi
push edi
call fcn.10004190
push ebx
mov esi, eax
call fcn.1004dc27
push edi
call fcn.10046df4
add esp, 0x40
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x10013250
Capabilities:
Create process on windows

Disassembly:
mov ecx, 0x1009bfb8
call fcn.10019e50
call fcn.10003e40
mov ecx, 0x1009bf30
call fcn.10018bd0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
call fcn.100158a0
mov ecx, 0x10091d70
call fcn.10003dd0
mov ecx, 0x1009bfb8
call fcn.1001a790
mov ecx, 0x10099098
call fcn.10014880
call fcn.10015c90
mov ecx, 0x10091c58
call fcn.10003950
call fcn.1000c680
call fcn.10014040
call fcn.100155f0
call fcn.10019000
mov ecx, 0x10097920
call fcn.10013a50
mov ecx, 0x1009c2f8
call fcn.1001af50
cmp byte [0x1009c063], 0
je 0x100132d9
call fcn.10013300
cmp byte [0x10091d70], 0
je 0x100132e7
call fcn.10013540
cmp byte [0x1009c098], 0
jne 0x10013560
ret
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x8c
mov eax, dword [0x1008a884]
xor eax, esp
mov dword [esp + 0x88], eax
push esi
push 0x44
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.10049e20
add esp, 0xc
lea ecx, [esp + 0x74]
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
push 0x1009c09c
call fcn.10005570
cmp dword [esp + 0x88], 0x10
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x94]
cmovae eax, dword [esp + 0x94]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [esp + 0x88]
mov esi, eax
cmp edx, 0x10
jb 0x1001360f
mov ecx, dword [esp + 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013605
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013638
push edx
push ecx
call fcn.10046a7f
add esp, 8
test esi, esi
je 0x10013625
mov eax, dword [esp + 0x10]
mov dword [0x10097904], eax
mov eax, dword [esp + 0x1c]
mov dword [0x10097908], eax
mov ecx, dword [esp + 0x8c]
pop esi
xor ecx, esp
call fcn.10046da7
mov esp, ebp
pop ebp
ret
call fcn.1004b97f
int3
Function at 0x10013300
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
sub esp, 0x34
mov eax, dword [0x1008a884]
xor eax, esp
mov dword [esp + 0x30], eax
push ebp
push esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x12]
movzx esi, word [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
imul esi, eax
movzx eax, word [esp + 0x16]
imul esi, eax
xor esi, 0x22894375
cmp byte [0x1009c063], 0
je 0x10013469
call ebp
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
call ebp
push eax
call fcn.1001bfb0
add esp, 8
mov dword [esp + 0xc], eax
cmp dword [esp + 8], 2
jge 0x1001339e
lea eax, [esp + 0x20]
mov ecx, 0x1009bfb8
push eax
call fcn.100131b0
push 5
mov ecx, eax
call fcn.10013830
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x20]
call fcn.10006b80
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
mov edi, dword [eax + 4]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100133a7
sub ecx, edx
xor eax, eax
push ebx
mov bl, 1
test ecx, ecx
jle 0x100133d4
nop dword [eax]
mov dl, byte [edi + eax]
cmp dl, 0x30
jl 0x100133cd
cmp dl, 0x39
jle 0x100133cf
xor bl, bl
inc eax
cmp eax, ecx
jl 0x100133c0
xor eax, eax
test bl, bl
pop ebx
je 0x100133e4
push edi
call fcn.1004ee69
add esp, 4
pop edi
cmp esi, eax
je 0x10013419
lea eax, [esp + 0x20]
mov ecx, 0x1009bfb8
push eax
call fcn.100131b0
push 5
mov ecx, eax
call fcn.10013830
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x20]
call fcn.10006b80
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esp + 8], 5
jne 0x10013469
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 8]
movq xmm0, qword [eax]
movq qword [0x1009bf7b], xmm0
mov ax, word [eax + 8]
mov word [0x1009bf83], ax
mov eax, dword [ecx + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [0x1009bf85], xmm0
mov eax, dword [eax + 0x10]
mov dword [0x1009bf95], eax
push dword [ecx + 0x10]
call fcn.1004ee69
add esp, 4
mov dword [0x10091d6c], eax
mov byte [0x10091d68], 1
cmp byte [0x1009c07c], 0
je 0x100134f9
call ebp
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
call ebp
push eax
call fcn.1001bfb0
add esp, 8
mov esi, eax
cmp dword [esp + 8], 2
jl 0x1001350a
push str.mnrn3r
push dword [esi + 4]
call fcn.10055ea8
add esp, 8
test eax, eax
jne 0x1001350a
cmp dword [esp + 8], 5
jne 0x100134f9
mov eax, dword [esi + 8]
movq xmm0, qword [eax]
movq qword [0x1009bf7b], xmm0
mov ax, word [eax + 8]
mov word [0x1009bf83], ax
mov eax, dword [esi + 0xc]
movups xmm0, xmmword [eax]
movups xmmword [0x1009bf85], xmm0
mov eax, dword [eax + 0x10]
mov dword [0x1009bf95], eax
push dword [esi + 0x10]
call fcn.1004ee69
add esp, 4
mov dword [0x10091d6c], eax
mov byte [0x10091d68], 1
mov ecx, dword [esp + 0x38]
pop esi
pop ebp
xor ecx, esp
call fcn.10046da7
add esp, 0x34
ret
lea eax, [esp + 0x20]
mov ecx, 0x1009bfb8
push eax
call fcn.10013230
push 5
mov ecx, eax
call fcn.10013830
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x20]
call fcn.10006b80
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10013540
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10013640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10013680
Capabilities:
Create thread

Disassembly:
push ecx
push str.MutexExample
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
test eax, eax
jne 0x100136a7
push eax
push str.Mutex_failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ecx
ret
push 1
lea eax, [esp + 0xb]
push eax
push 0x1c324e0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.100131d0
add esp, 4
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp byte [esp + 3], 0x32
mov dword [0x10097900], eax
je 0x100136fe
push 0
push 0
push 0
push 0x10013150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ecx
ret

Function at 0x10013860
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x1001388f
push edi
mov edi, dword [esp + 0xc]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
mov edx, ecx
sub edx, eax
mov al, byte [edx + 0x1008a574]
xor byte [ecx + edi], al
inc ecx
cmp ecx, esi
jl 0x10013870
pop edi
pop esi
ret

Function at 0x100138a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x1008a884]
xor eax, esp
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x34]
sub esi, 1
mov dword [esp + 4], 0xfecd11ab
mov dword [esp + 8], 0xa3c52318
mov dword [esp + 0xc], 0xccc133ca
mov dword [esp + 0x10], 0xf3216766
mov dword [esp + 0x14], 0x35151232
mov dword [esp + 0x18], 0x1dfeff29
mov dword [esp + 0x1c], 0x41cdef44
mov dword [esp + 0x20], 0x4d4e3c26
js 0x10013930
push ebx
mov bl, byte [ecx + esi]
lea edx, [ecx + esi]
push edi
mov edi, dword [esp + 0x38]
sub edi, ecx
nop word [eax + eax]
mov cl, byte [edx - 1]
lea eax, [edi + edx]
and eax, 0x1f
lea edx, [edx - 1]
mov al, byte [esp + eax + 0xc]
xor al, cl
xor al, bl
sub esi, 1
mov byte [edx + 1], al
mov bl, cl
jns 0x10013910
pop edi
pop ebx
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
call fcn.10046da7
add esp, 0x24
ret

Function at 0x10013940
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x1008a884]
xor eax, esp
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], 0xfecd11ab
mov dword [esp + 4], 0xa3c52318
mov dword [esp + 8], 0xccc133ca
mov dword [esp + 0xc], 0xf3216766
mov dword [esp + 0x10], 0x35151232
mov dword [esp + 0x14], 0x1dfeff29
mov dword [esp + 0x18], 0x41cdef44
mov dword [esp + 0x1c], 0x4d4e3c26
test edx, edx
jle 0x100139b9
push esi
mov esi, dword [esp + 0x30]
sub esi, ecx
lea eax, [esi + ecx]
and eax, 0x1f
lea ecx, [ecx + 1]
mov al, byte [esp + eax + 4]
xor al, byte [ecx - 2]
xor byte [ecx - 1], al
sub edx, 1
jne 0x100139a0
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10046da7
add esp, 0x24
ret
Function at 0x10014ad0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x40
push 4
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword ds:[eax], edx
lea eax, [esp]
push eax
push dword [esp + 4]
push 4
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret

Function at 0x10014b10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [esp + 0x18]
push edi
call fcn.100496c0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
pop ecx
ret

Function at 0x10014b50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push dword [esp + 0x18]
push edi
call fcn.10049e20
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
pop ecx
ret

Function at 0x10014b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [esp + 0x10]
mov byte [edi], al
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ecx
ret

Function at 0x10014bd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push 0x40
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [esp + 0xc]
cmp al, 0xff
je 0x10014bf0
mov byte [esi], al
mov eax, dword [esp + 0x14]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 5
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
pop ecx
ret

Function at 0x10014c20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movsd xmm0, qword [esp + 0x10]
lea eax, [esp + 4]
push eax
push dword [esp + 8]
movsd qword [edi], xmm0
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ecx
ret

Function at 0x10014c60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esp + 0x10]
mov dword [edi], eax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ecx
ret
Function at 0x10014ca0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push dword [esp + 8]
movss dword [edi], xmm0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ecx
ret

Function at 0x10014ce0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push 0x40
push 2
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, word [esp + 0x10]
mov word [edi], ax
lea eax, [esp + 4]
push eax
push dword [esp + 8]
push 2
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ecx
ret

Function at 0x10014d20
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x14]
push eax
push 0x40
push esi
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10014d54
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
add esp, 8
ret
push esi
push dword [esp + 0x1c]
push edi
call fcn.100496c0
add esp, 0xc
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10014d48
pop edi
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x100166c0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
mov eax, dword [0x1008a884]
xor eax, esp
mov dword [esp + 8], eax
push esi
push 0x10069d1c
push 0x10069d34
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.1001c540
add esp, 8
lea ecx, [esp + 4]
push 0
push 5
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [esi + 4]
lea ecx, [esp + 4]
cmp eax, dword [ecx]
jne 0x10016715
movzx eax, byte [esi + 8]
cmp al, byte [ecx + 4]
je 0x1001672c
push 0x2710
mov ecx, esi
call fcn.10002290
push 0x2710
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0xc]
pop esi
xor ecx, esp
call fcn.10046da7
add esp, 0xc
ret
Function at 0x10017d40
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push 0
push 0
push 0
imul eax, dword [eax + 4], 0x3e8
push 0x10014070
push 0
push 0
mov dword [0x10097cfc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret 4

Function at 0x100181f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
push edi
mov edi, 5
cmp byte [esi + 4], bl
jbe 0x1001825e
push ebp
mov ebp, 0x100
nop dword [eax]
movzx eax, byte [edi + esi + 0x17]
mov dl, byte [edi + esi]
add eax, 0x2800
push eax
mov al, dl
xor al, 0x80
test dl, dl
movzx ecx, al
movzx eax, dl
cmovns ecx, eax
movzx eax, byte [edi + esi + 1]
movzx ecx, cl
imul ecx, ebp
add cx, ax
movzx eax, cx
mov ecx, 0x1009c570
push eax
call fcn.1001ca80
movzx eax, byte [edi + esi + 0x43]
inc ebx
lea edi, [edi + eax*8]
movzx eax, byte [esi + 4]
lea edi, [edi + 0x44]
cmp ebx, eax
jl 0x10018210
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x10019140
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library

Disassembly:
sub esp, 0x2a4
mov eax, dword [0x1008a884]
xor eax, esp
mov dword [esp + 0x2a0], eax
mov eax, dword [0x1008a6ec]
push esi
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push edi
push dword [eax]
mov edi, dword [esp + 0x2b4]
call esi
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [0x1008a6ec]
mov dword [ecx], eax
mov eax, dword [0x1008a6ec]
cmp dword [eax], 0xffffffff
jne 0x100191de
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x1b0]
push str.Error_msg:__d__d
push eax
call fcn.10002470
add esp, 0x10
lea eax, [esp + 0x1a8]
push 0
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1001927b
mov eax, 2
push edi
mov word [esp + 0xc], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [esp + 0x2b4]
mov dword [esp + 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
lea eax, [esp + 8]
push 0x10
push eax
mov eax, dword [0x1008a6ec]
push dword [eax]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
mov eax, dword [0x1008a6ec]
je 0x10019242
push 3
push 0x400
push dword [0x1009d8b0]
push dword [eax]
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
cmp eax, 0xffffffff
jne 0x10019250
mov eax, dword [0x1008a6ec]
push dword [eax]
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x1001927b
mov word [0x6e2be9c], 0
mov ecx, 0x1009c33c
push dword [0x1c3249c]
call fcn.1001b8d0
push dword [0x1c3249c]
mov ecx, 0x1009c318
call fcn.1001b8d0
mov al, 1
mov ecx, dword [esp + 0x2a8]
pop edi
pop esi
xor ecx, esp
call fcn.10046da7
add esp, 0x2a4
ret 8