joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417830
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x42f520]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
push closesocket
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41786d
call dword [sym.imp.KERNEL32.dll_GetLastError]
imul eax, eax, 0xffffffff
mov dword [ebp - 8], eax
jmp 0x4178c8
push 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x417894
call dword [sym.imp.KERNEL32.dll_GetLastError]
imul eax, eax, 0xffffffff
mov dword [ebp - 8], eax
jmp 0x4178c8
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4178b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
imul eax, eax, 0xffffffff
mov dword [ebp - 8], eax
jmp 0x4178c8
mov ecx, dword [ebp - 0x28]
and ecx, 4
je 0x4178c8
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d016
mov esp, ebp
pop ebp
ret

Function at 0x41d016
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f520]
jne 0x41d020
repz ret
jmp fcn.0041d416
Function at 0x423820
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x42faac], 0
jle 0x423836
mov eax, dword [0x42faac]
jmp 0x42384e
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x10]
mov dword [0x42faac], ecx
mov eax, dword [0x42faac]
mov esp, ebp
pop ebp
ret
Function at 0x10001230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10060040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x34]
pop ecx
mov esi, str._pipediscord_ipc_0
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 0xa], ax
jmp 0x1000129c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10001282
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x100012c9
inc ax
mov word [ebp - 0xa], ax
jmp 0x1000129c
cmp eax, 0xe7
jne 0x100012c9
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x100012c9
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x10001265
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004d3ff
leave
ret
xor al, al
jmp 0x100012ba

Function at 0x10001425
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov eax, esi
test edx, edx
je 0x1000145a
cmp word [edx], di
je 0x1000145a
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10001483
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov edi, eax
test ecx, ecx
je 0x10001481
cmp ecx, esi
je 0x10001481
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x10001694
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
mov dword [0x100d6a78], 0xea60
push esi
mov eax, 0x1f4
mov dword [0x100d6a74], ebx
push edi
push ebx
mov dword [0x100d6a70], eax
mov dword [0x100d6a7c], ebx
mov dword [0x100d6a80], eax
mov dword [0x100d6a84], ebx
mov dword [0x100d6a88], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov esi, eax
mov dword [0x100d6a9c], edx
mov eax, 0x55555555
mov dword [0x100d6a98], esi
xor edi, edi
mov dword [0x100d7e18], eax
pop ecx
mov dword [0x100d7e1c], eax
inc edi
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.10051170
mov esi, eax
mov eax, 0x138
add esi, edi
mov dword [edi*8 + 0x100d6a98], esi
adc edx, ebx
mov dword [edi*8 + 0x100d6a9c], edx
inc edi
cmp edi, eax
jb 0x100016f2
movaps xmm0, xmmword [0x1005b0d0]
pop edi
pop esi
mov dword [0x100d6a90], eax
mov eax, 0x100d6a70
movups xmmword [0x100d7e20], xmm0
pop ebx
ret 0x10
Function at 0x10001a09
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x10051689
call fcn.10050e7b
mov esi, dword [0x10108ffc]
xor edi, edi
mov al, 1
xchg byte [esi], al
push 4
call fcn.1004d40d
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
push eax
push 0x10002e0f
push edi
push edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10001a69
cmp dword [esi + 0x60], edi
je 0x10001a5a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call fcn.10050e58
ret
push 6
mov dword [ebp - 0x14], edi
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x100021f2
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 6], 0
je 0x10002210
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x1b]
xor byte [ecx], al
inc ebx
cmp ebx, 5
jb 0x100021fd
pop ebx
mov byte [edx + 6], 0
mov eax, edx
ret

Function at 0x10002213
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 5], 0
je 0x10002231
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x1b]
xor byte [ecx], al
inc ebx
cmp ebx, 4
jb 0x1000221e
pop ebx
mov byte [edx + 5], 0
mov eax, edx
ret

Function at 0x10002234
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 8], 0
je 0x10002252
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x1b]
xor byte [ecx], al
inc ebx
cmp ebx, 7
jb 0x1000223f
pop ebx
mov byte [edx + 8], 0
mov eax, edx
ret

Function at 0x10002255
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xe], 0
je 0x10002273
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x1b]
xor byte [ecx], al
inc ebx
cmp ebx, 0xd
jb 0x10002260
pop ebx
mov byte [edx + 0xe], 0
mov eax, edx
ret

Function at 0x10002276
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 7], 0
je 0x10002294
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x1b]
xor byte [ecx], al
inc ebx
cmp ebx, 6
jb 0x10002281
pop ebx
mov byte [edx + 7], 0
mov eax, edx
ret

Function at 0x10002297
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x12], 0
je 0x100022b5
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x1b]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x100022a2
pop ebx
mov byte [edx + 0x12], 0
mov eax, edx
ret

Function at 0x100022b8
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x16], 0
je 0x100022d6
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x1b]
xor byte [ecx], al
inc ebx
cmp ebx, 0x15
jb 0x100022c3
pop ebx
mov byte [edx + 0x16], 0
mov eax, edx
ret

Function at 0x100022d9
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 3], 0
je 0x100022f7
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x1b]
xor byte [ecx], al
inc ebx
cmp ebx, 2
jb 0x100022e4
pop ebx
mov byte [edx + 3], 0
mov eax, edx
ret

Function at 0x100022fa
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 9], 0
je 0x10002318
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x1b]
xor byte [ecx], al
inc ebx
cmp ebx, 8
jb 0x10002305
pop ebx
mov byte [edx + 9], 0
mov eax, edx
ret

Function at 0x10002974
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x10002991
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x1b]
xor byte [ecx], al
inc edx
cmp edx, 8
jb 0x1000297f
mov byte [esi + 9], 0
pop esi
ret

Function at 0x10002993
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0x100029b0
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x1b]
xor byte [ecx], al
inc edx
cmp edx, 0x15
jb 0x1000299e
mov byte [esi + 0x16], 0
pop esi
ret
Function at 0x100029b2
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x100029cf
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x1b]
xor byte [ecx], al
inc edx
cmp edx, 0x11
jb 0x100029bd
mov byte [esi + 0x12], 0
pop esi
ret

Function at 0x100029d1
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x100029ee
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x1b]
xor byte [ecx], al
inc edx
cmp edx, 6
jb 0x100029dc
mov byte [esi + 7], 0
pop esi
ret

Function at 0x100029f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x10002a0d
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x1b]
xor byte [ecx], al
inc edx
cmp edx, 0xd
jb 0x100029fb
mov byte [esi + 0xe], 0
pop esi
ret

Function at 0x10002a0f
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x10002a2c
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x1b]
xor byte [ecx], al
inc edx
cmp edx, 7
jb 0x10002a1a
mov byte [esi + 8], 0
pop esi
ret

Function at 0x10002a2e
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x10002a4b
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x1b]
xor byte [ecx], al
inc edx
cmp edx, 4
jb 0x10002a39
mov byte [esi + 5], 0
pop esi
ret

Function at 0x10002a4d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x10002a6a
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x1b]
xor byte [ecx], al
inc edx
cmp edx, 5
jb 0x10002a58
mov byte [esi + 6], 0
pop esi
ret

Function at 0x100035e7
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xc], 0
je 0x10003605
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x1a]
xor byte [ecx], al
inc ebx
cmp ebx, 0xb
jb 0x100035f2
pop ebx
mov byte [edx + 0xc], 0
mov eax, edx
ret

Function at 0x10003608
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x10003625
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x1a]
xor byte [ecx], al
inc edx
cmp edx, 0xb
jb 0x10003613
mov byte [esi + 0xc], 0
pop esi
ret
Function at 0x1000535f
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xd], 0
je 0x1000537d
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x19]
xor byte [ecx], al
inc ebx
cmp ebx, 0xc
jb 0x1000536a
pop ebx
mov byte [edx + 0xd], 0
mov eax, edx
ret

Function at 0x1000554e
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xa], 0
je 0x1000556c
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x19]
xor byte [ecx], al
inc ebx
cmp ebx, 9
jb 0x10005559
pop ebx
mov byte [edx + 0xa], 0
mov eax, edx
ret

Function at 0x10005679
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x1a], 0
je 0x10005697
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x19]
xor byte [ecx], al
inc ebx
cmp ebx, 0x19
jb 0x10005684
pop ebx
mov byte [edx + 0x1a], 0
mov eax, edx
ret

Function at 0x1000569a
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a], 0
je 0x100056b7
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x19]
xor byte [ecx], al
inc edx
cmp edx, 0x19
jb 0x100056a5
mov byte [esi + 0x1a], 0
pop esi
ret

Function at 0x100056b9
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
je 0x100056d6
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x19]
xor byte [ecx], al
inc edx
cmp edx, 9
jb 0x100056c4
mov byte [esi + 0xa], 0
pop esi
ret

Function at 0x100056d8
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x100056f5
xor edx, edx
lea ecx, [esi + edx]
lea eax, [edx - 0x19]
xor byte [ecx], al
inc edx
cmp edx, 0xc
jb 0x100056e3
mov byte [esi + 0xd], 0
pop esi
ret

Function at 0x10008583
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x10008591
pop esi
mov eax, edx
pop ebp
ret 4

Function at 0x100085aa
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
push edi
cmp dword [ecx + 0x14], 0xf
mov edi, dword [ecx + 0x10]
jbe 0x100085bd
mov ecx, dword [ecx]
xor esi, esi
mov edx, 0x811c9dc5
test edi, edi
je 0x100085d9
movzx eax, byte [ecx + esi]
xor eax, edx
imul edx, eax, 0x1000193
inc esi
cmp esi, edi
jb 0x100085c8
pop edi
mov eax, edx
pop esi
pop ebp
ret 4

Function at 0x10008ac3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
test esi, esi
je 0x10008b1c
push edi
mov edi, dword [esi + 0x3c]
lea eax, [ebp - 4]
push eax
push 4
push 0x40
push esi
add edi, esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10008af4
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x10008b1b
lea eax, [ebp - 4]
mov esi, 0xf8
push eax
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10008b1b
push esi
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x1000b1ea
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x168
mov eax, dword [0x10060040]
xor eax, esp
mov dword [esp + 0x164], eax
mov dword [esp + 8], ecx
mov ecx, dword [0x100d69b0]
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 0xec]
mov ecx, eax
mov dword [esp + 0xc], eax
call fcn.10009f58
test eax, eax
je 0x1000b3a3
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 8], ecx
cmp dword [eax + 0x17c], ecx
jbe 0x1000b3a3
mov eax, dword [eax + 0x174]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.10009f58
test eax, eax
je 0x1000b38a
mov ecx, dword [esi + 0x10]
call fcn.10009f58
test eax, eax
je 0x1000b38a
mov esi, dword [esi + 0x10]
lea edi, [esp + 0x28]
add esi, 0x10
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000a32f
test al, al
je 0x1000b38a
cvttss2si eax, dword [esp + 0x20]
sub eax, 0xf
cmp dword [esp + 0x10], 1
mov dword [esp + 0x18], eax
jne 0x1000b38a
mov esi, dword [esp + 0x14]
lea edi, [esp + 0x40]
mov eax, dword [0x100d6a14]
mov esi, dword [esi + 0x10]
add esi, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [eax + 0x13c]
lea edi, [esp + 0x34]
add esi, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm1, dword [esp + 0x38]
movss xmm2, dword [esp + 0x34]
subss xmm2, dword [esp + 0x40]
subss xmm1, dword [esp + 0x44]
movss xmm0, dword [esp + 0x3c]
subss xmm0, dword [esp + 0x48]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
push 0x41
pop ecx
xor edx, edx
divss xmm0, dword [0x1005a8bc]
cvtss2sd xmm0, xmm0
mov al, byte [edx + 0x100557a4]
xor al, cl
inc ecx
mov byte [esp + edx + 0x4c], al
and ecx, 0x800000ff
jns 0x1000b33f
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1a
jl 0x1000b322
push ecx
push ecx
movsd qword [esp], xmm0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x74]
mov byte [esp + 0x72], 0
push eax
call fcn.10008834
lea eax, [esp + 0x78]
push eax
cvttss2si eax, dword [esp + 0x30]
push 0x101
push 0xff800080
push dword [esp + 0x34]
push eax
push dword [0x100d6a10]
push 1
call fcn.10009dd3
add esp, 0x2c
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
inc ecx
mov dword [esp + 8], ecx
cmp ecx, dword [eax + 0x17c]
jb 0x1000b241
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
xor ecx, esp
call fcn.1004d3ff
mov esp, ebp
pop ebp
ret
Function at 0x1000c5ea
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
mov ebx, ecx
push eax
push 0x40
push 2
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ax, word [edi]
mov word [ebx], ax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
leave
ret
Function at 0x1000ee3f
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x14], 0
je 0x1000ee5d
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x17]
xor byte [ecx], al
inc ebx
cmp ebx, 0x13
jb 0x1000ee4a
pop ebx
mov byte [edx + 0x14], 0
mov eax, edx
ret

Function at 0x1000eebd
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x13], 0
je 0x1000eedb
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x17]
xor byte [ecx], al
inc ebx
cmp ebx, 0x12
jb 0x1000eec8
pop ebx
mov byte [edx + 0x13], 0
mov eax, edx
ret

Function at 0x1000eede
Capabilities:
Get disk information

Disassembly:
push 0x40
mov eax, 0x10051f0c
call fcn.10050eae
mov ebx, ecx
mov dword [ebp - 0x44], ebx
and dword [ebp - 4], 0
mov dword [ebp - 0x4c], ebx
and dword [ebp - 0x48], 0
push 0x10054593
call fcn.10007a91
xor ecx, ecx
lea eax, [ebp - 0x44]
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
push ecx
mov dword [ebp - 4], ecx
push 0x1005595c
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x13]
xor edx, edx
dec ecx
push 0xa
pop esi
div esi
add dl, 0x30
mov byte [ecx], dl
test eax, eax
jne 0x1000ef2e
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
push 0xf
pop esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x13]
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
cmp ecx, eax
jne 0x1000ef63
mov edx, esi
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x2c], edx
jmp 0x1000ef75
lea eax, [ebp - 0x13]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.10007ebf
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
cmp ebx, eax
je 0x1000efa7
mov edx, dword [ebx + 0x14]
cmp edx, esi
jbe 0x1000ef8b
mov ecx, dword [ebx]
inc edx
call fcn.1000807d
push 6
xor eax, eax
mov dword [ebx + 0x14], esi
pop ecx
lea esi, [ebp - 0x40]
mov dword [ebx + 0x10], eax
mov edi, ebx
mov byte [ebx], al
rep movsd dword es:[edi], dword [esi]
push 0xf
pop esi
mov edx, esi
mov byte [ebp - 0x40], al
cmp edx, esi
jbe 0x1000efb4
mov ecx, dword [ebp - 0x40]
inc edx
call fcn.1000807d
mov eax, ebx
call fcn.10050e6c
ret
Function at 0x1000fcad
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xb], 0
je 0x1000fccb
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x17]
xor byte [ecx], al
inc ebx
cmp ebx, 0xa
jb 0x1000fcb8
pop ebx
mov byte [edx + 0xb], 0
mov eax, edx
ret
Function at 0x1001459b
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x11], 0
je 0x100145b9
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x17]
xor byte [ecx], al
inc ebx
cmp ebx, 0x10
jb 0x100145a6
pop ebx
mov byte [edx + 0x11], 0
mov eax, edx
ret

Function at 0x100145bc
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0xf], 0
je 0x100145da
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x17]
xor byte [ecx], al
inc ebx
cmp ebx, 0xe
jb 0x100145c7
pop ebx
mov byte [edx + 0xf], 0
mov eax, edx
ret

Function at 0x100145dd
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x1b], 0
je 0x100145fb
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x17]
xor byte [ecx], al
inc ebx
cmp ebx, 0x1a
jb 0x100145e8
pop ebx
mov byte [edx + 0x1b], 0
mov eax, edx
ret

Function at 0x100145fe
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x18], 0
je 0x1001461c
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x17]
xor byte [ecx], al
inc ebx
cmp ebx, 0x17
jb 0x10014609
pop ebx
mov byte [edx + 0x18], 0
mov eax, edx
ret
Function at 0x1001adfb
Capabilities:
Encode data using xor

Disassembly:
push 0x34
mov eax, 0x100527c8
call fcn.10050eae
cmp byte [0x1006145c], 0
je 0x1001afbf
movaps xmm0, xmmword [0x1005ba90]
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x100db9d
xor ebx, ebx
call fcn.1000eebd
push eax
call fcn.1002da0f
pop ecx
mov ecx, 0x98
mov edx, ebx
mov al, byte [edx + 0x10055e90]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x1001ae5b
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x1001ae3e
mov byte [ebp - 0x11], bl
sub esp, 0xc
mov dword [ebp - 4], ebx
mov edx, 0x100614b0
lea ecx, [ebp - 0x1c]
call fcn.10034738
movaps xmm0, xmmword [0x1005c030]
add esp, 0xc
movups xmmword [ebp - 0x40], xmm0
mov ecx, ebx
mov byte [ebp - 0x20], 1
movaps xmm0, xmmword [0x1005aaf0]
movups xmmword [ebp - 0x30], xmm0
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x40], al
inc ecx
cmp ecx, 0x1f
jb 0x1001ae96
push 5
mov byte [ebp - 0x20], bl
mov edx, ebx
pop ecx
mov al, byte [edx + str._OX_Bjof]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x1001aec8
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 9
jl 0x1001aeab
mov byte [ebp - 0x13], bl
push ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
mov edx, 0x100614b4
lea ecx, [ebp - 0x1c]
call fcn.10034df6
pop ecx
pop ecx
mov ecx, 0xfb
mov edx, ebx
mov al, byte [edx + 0x10055ea8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x1001af10
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 8
jl 0x1001aef3
mov byte [ebp - 0x14], bl
sub esp, 0xc
mov dword [ebp - 4], 2
mov edx, 0x100614bc
lea ecx, [ebp - 0x1c]
call fcn.10034738
add esp, 0xc
mov ecx, 0xde
mov edx, ebx
mov al, byte [edx + 0x10055eb4]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x1001af57
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 8
jl 0x1001af3a
mov byte [ebp - 0x14], bl
sub esp, 0xc
mov dword [ebp - 4], 3
mov edx, 0x100614c4
lea ecx, [ebp - 0x1c]
call fcn.10034738
add esp, 0xc
mov edx, ebx
push 0x50
pop ecx
mov al, byte [edx + 0x10055ec0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x1001af9c
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xa
jl 0x1001af7f
mov byte [ebp - 0x12], bl
sub esp, 0xc
mov dword [ebp - 4], 4
mov edx, 0x100614b8
lea ecx, [ebp - 0x1c]
call fcn.10034738
add esp, 0xc
call fcn.10050e6c
ret