joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10039120
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1004f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, 0xffffffff
je 0x10039233
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1003922c
mov ebx, 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x100391ef
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x100391ef
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100391ef
mov edx, dword [esi]
test edx, edx
jne 0x100391b8
push 0x200
push edx
push dword [0x1004f95c]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10039214
lea edi, [esi + 8]
jmp 0x100391e2
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x100391e2
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x1004f95c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10039246
mov dword [esi], edx
mov ecx, dword [edi]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [edi]
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10039170
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1003922c
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1003922c
push eax
push ebx
push dword [0x1004f95c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10041f82
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x24]
jmp 0x10039214

Function at 0x10039250
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10039120
test eax, eax
jne 0x10039281
mov eax, 9
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
je 0x100392d2
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x100392ca
push ebx
nop
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100392c3
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10038fb0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10039290
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100392e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1004f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x1004fe60]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1003933c
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10041f82
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10039357
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10041f82
mov esp, ebp
pop ebp
ret

Function at 0x10039390
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x1004fe68]
sub esp, 0x10
push esi
xor esi, esi
test ecx, ecx
je 0x100393bd
mov eax, dword [0x1004fe60]
add eax, 0x14
nop dword [eax + eax]
test byte [eax], 2
je 0x100393c4
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x100393b0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x100393bd
push ebx
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10039250
mov ebx, eax
mov dword [ebp - 4], eax
add esp, 4
test ebx, ebx
jne 0x1003947f
mov ecx, dword [0x1004fe68]
push edi
cmp esi, ecx
jae 0x1003942a
imul edi, esi, 0x2c
nop word [eax + eax]
mov eax, dword [0x1004fe60]
test byte [edi + eax + 0x14], 2
jne 0x1003941f
mov ecx, esi
call fcn.100392e0
mov ebx, eax
test ebx, ebx
jne 0x10039427
mov ecx, dword [0x1004fe68]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10039400
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1003947c
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1003946d
mov ebx, eax
nop word [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10039461
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10039440
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x1004f95c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10039d30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1004f040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.xx_xx_xx
mov edx, 0x1004f3dc
call fcn.10039ba0
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 6
lea ecx, [esi + 6]
push esi
mov dword [0x1004f9cc], ecx
call edi
mov eax, 0x10039c70
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
mov byte [esi + 5], 0x90
push dword [ebp - 8]
push 6
push esi
call edi
push str.xx____xxx____xxx____xxx____xxx____xxx____xxxx
mov edx, 0x1004f36c
call fcn.10039ba0
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 6
lea ecx, [esi + 6]
push esi
mov dword [0x1004fac8], ecx
call edi
mov eax, 0x10039c90
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
mov byte [esi + 5], 0x90
push dword [ebp - 8]
push 6
push esi
call edi
push str.xx____xxx
mov edx, 0x1004f3e8
call fcn.10039ba0
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 6
lea ecx, [esi + 6]
push esi
mov dword [0x1004fb30], ecx
call edi
mov eax, 0x10039cb0
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
mov byte [esi + 5], 0x90
push dword [ebp - 8]
push 6
push esi
call edi
push str.xxxxxx
mov edx, 0x1004f39c
call fcn.10039ba0
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 6
lea ecx, [esi + 6]
push esi
mov dword [0x1004fa28], ecx
call edi
mov eax, 0x10039cd0
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
mov byte [esi + 5], 0x90
push dword [ebp - 8]
push 6
push esi
call edi
push str.xxxxx__x_xxxxxx_xx
mov edx, 0x1004f434
call fcn.10039ba0
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 7
lea ecx, [esi + 7]
push esi
mov dword [0x1004faec], ecx
call edi
mov eax, 0x10039cf0
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
mov eax, 0x90909090
mov word [esi + 5], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 7
push esi
call edi
push str.xx____xxxxxx
mov edx, 0x1004f3f4
call fcn.10039ba0
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 6
lea ecx, [esi + 6]
push esi
mov dword [0x1004fa58], ecx
call edi
mov eax, 0x10039d10
mov byte [esi], 0xe9
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 0xc]
push eax
mov byte [esi + 5], 0x90
push dword [ebp - 8]
push 6
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10041f82
mov esp, ebp
pop ebp
ret
Function at 0x4019ad
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x405164], ebp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x40522b], eax
xor eax, eax
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051bf], eax
mov dword [0x40515c], eax
mov dword [0x4051ab], 0x30
mov dword [0x4051af], 2
xor eax, eax
mov dword [0x4051b3], 0x40339c
mov dword [0x4051b7], eax
mov dword [0x4051bb], eax
mov eax, str.sunwes
mov dword [0x4051cb], 0xe
mov dword [0x4051d3], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051c7], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051c3], eax
mov dword [0x4051d7], eax
push 0x4051ab
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40515c]
push 0
push 0
push 0x1ea
push 0x208
push 0xfffff60a
push 0xfffff6d2
push 0xcf0000
push 0x4040a7
push str.sunwes
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x40521f], eax
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x40521f]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x4051db]
jmp 0x401aaf
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x401aa1
mov eax, dword [0x4051e3]
call fcn.00402ecb
ret
Function at 0x403024
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea edx, [0x405243]
mov ecx, edx
mov eax, dword [edx]
inc ecx
inc ecx
inc ecx
inc ecx
mov edi, dword [ecx]
mov ecx, eax
mov eax, dword [edi]
add edi, 4
mov esi, edi
mov ebx, esi
add edi, eax
mov edx, edi
dec edx
sub ecx, eax
dec ecx
dec ecx
dec ecx
dec ecx
lea eax, [0x405243]
mov dword [eax], ecx
inc eax
inc eax
inc eax
inc eax
mov dword [eax], edi
push ecx
mov cl, byte [edi]
mov al, byte [0x405191]
mov ah, byte [esi]
add al, ah
xor al, cl
mov byte [edi], al
mov eax, edx
cmp esi, eax
jne 0x403071
mov esi, ebx
dec esi
inc esi
pop ecx
inc edi
dec ecx
jne 0x403058
mov edi, esi
push 0x39
push 0x405243
push 0x111
push dword [0x40521f]
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [0x405243]
mov edi, dword [0x405247]
mov esi, dword [0x405237]
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x4030a3
mov esi, dword [0x40518c]
mov ecx, dword [0x405188]
push ecx
add ecx, esi
mov dword [0x405203], ecx
pop ecx
mov eax, dword [esi]
inc esi
inc esi
nop
inc esi
inc esi
mov edi, dword [0x405237]
mov ebx, esi
add ebx, eax
mov dword [0x4051ff], ebx
mov edx, esi
add esi, eax
mov ecx, 0
movzx eax, byte [edx]
inc eax
cmp edx, ebx
jae 0x40314a
cmp eax, ecx
jae 0x4030ef
ret
sub eax, ecx
mov ecx, eax
test ecx, ecx
je 0x403100
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x4030f7
inc edx
mov al, byte [edx]
inc edx
movzx ecx, byte [edx]
test ecx, ecx
je 0x403113
push ecx
mov byte [edi], al
inc edi
dec ecx
jne 0x40310c
pop ecx
inc edx
movzx eax, byte [edx]
inc cl
cmp cl, 0
jne 0x403134
inc al
cmp al, 0
jne 0x40312c
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x403130
mov al, 0
dec al
dec cl
jmp 0x403146
dec cl
inc al
cmp al, 0
jne 0x403144
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x403146
dec al
jmp 0x4030e6
mov ecx, dword [0x405203]
sub ecx, esi
test ecx, ecx
je 0x40315f
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x403156
mov edi, dword [0x405237]
mov dword [0x405237], edi
ret
Function at 0x10001ab0
Capabilities:
Check for debugger via api
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100bb084]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
call fcn.10001a10
test eax, eax
jne 0x10001bab
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], 0
jne 0x10001bab
movaps xmm0, xmmword [0x100af8a0]
xor eax, eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x6f515056
mov dword [ebp - 0x24], 0x5a5c504d
mov word [ebp - 0x20], 0x4c4c
mov byte [ebp - 0x1e], 0
mov cl, byte [ebp - 0x38]
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0x19
jb 0x10001b17
push ebx
mov byte [ebp - 0x1c], 0x64
mov al, 0xa
xor al, byte [ebp - 0x1c]
mov bl, 8
mov ah, bl
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x1c]
mov bh, ah
mov byte [ebp - 0xd], ah
xor bl, al
xor ah, al
mov byte [ebp - 0x1e], 0
xor bh, al
mov byte [ebp - 0x17], ah
mov cl, 0x10
mov byte [ebp - 0x18], bl
xor cl, al
mov byte [ebp - 0x14], bh
xor dl, dl
mov byte [ebp - 0x1a], cl
xor dl, al
mov byte [ebp - 0x12], 0
mov ch, 0x4a
mov byte [ebp - 0x19], dl
xor ch, al
xor dh, dh
xor dh, al
mov byte [ebp - 0x16], ch
mov al, byte [ebp - 0xd]
xor al, byte [ebp - 0x1c]
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x37]
push eax
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x15], dh
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
je 0x10001bb3
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x10001bb3
cmp dword [ebp - 0xc], 0
je 0x10001bb3
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005baa0
mov esp, ebp
pop ebp
ret

Function at 0x10001bd0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x100af1c0]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x150f2305
mov dword [ebp - 0x18], 0x1205140e
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10001bf5
mov byte [ebp - 0x14], 0
mov cl, 0x3c
mov dword [ebp - 0x10], 0x4e59573c
xor eax, eax
mov dword [ebp - 0xc], 0xf505952
mov dword [ebp - 8], 0x5058120e
mov word [ebp - 4], 0x50
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001c34
mov cl, byte [ebp - 0x10]
jmp 0x10001c25
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], 0
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10014db0
cmp al, 0xe9
jne 0x10001c60
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x10001c70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x15
mov dword [ebp - 0x10], 0x787c6115
mov dword [ebp - 0xc], 0x61705270
xor eax, eax
mov dword [ebp - 8], 0x70787c41
mov byte [ebp - 4], 0
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x10001ca2
mov cl, byte [ebp - 0x10]
jmp 0x10001c93
mov byte [ebp - 4], 0
mov cl, 0x6e
mov dword [ebp - 0x20], 0x1c0b056e
xor eax, eax
mov dword [ebp - 0x1c], 0x5d020b00
mov dword [ebp - 0x18], 0x20a405c
mov word [ebp - 0x14], 2
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001cd4
mov cl, byte [ebp - 0x20]
jmp 0x10001cc5
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10014db0
cmp al, 0xe9
jne 0x10001d00
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10001d10
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x6f
mov dword [ebp - 0x10], 0x1b0a286f
mov dword [ebp - 0xc], 0x40c063b
xor eax, eax
mov dword [ebp - 8], 0x11a002c
mov word [ebp - 4], 0x1b
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001d44
mov cl, byte [ebp - 0x10]
jmp 0x10001d35
mov byte [ebp - 3], 0
mov cl, 0x1d
mov dword [ebp - 0x20], 0x6f78761d
xor eax, eax
mov dword [ebp - 0x1c], 0x2e717873
mov dword [ebp - 0x18], 0x7179332f
mov word [ebp - 0x14], 0x71
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001d76
mov cl, byte [ebp - 0x20]
jmp 0x10001d67
lea eax, [ebp - 0xf]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x1f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10014db0
cmp al, 0xe9
jne 0x10001da2
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10001db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100bb084]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.Xe9__b7_]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x10001dd0
mov byte [ebp - 0x19], 0
mov cl, 0x35
mov dword [ebp - 0x18], 0x67707e35
xor eax, eax
mov dword [ebp - 0x14], 0x679707b
mov dword [ebp - 0x10], 0x59511b07
mov word [ebp - 0xc], 0x59
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001e0f
mov cl, byte [ebp - 0x18]
jmp 0x10001e00
lea eax, [ebp - 0x27]
mov byte [ebp - 0xb], 0
push eax
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 5], 0xe9
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.1005baa0
mov esp, ebp
pop ebp
ret
Function at 0x10001e60
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b3330
push 0x10060ac0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x100bb084]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001ef9
xor al, al
jmp 0x10001f82
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001f24
xor al, al
jmp 0x10001f82
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001f6f
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005baa0
mov esp, ebp
pop ebp
ret
Function at 0x10004d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009154a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100bb084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.100568d0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x10004e40
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.1005e544
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x100b8e88
push eax
call fcn.1005e7db
push edi
push esi
call fcn.10056c30
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005baa0
mov esp, ebp
pop ebp
ret 4

Function at 0x10007280
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.1000da70
call fcn.1000db50
call fcn.100197d0
mov dword [0x100bff44], eax
test eax, eax
je 0x100072b1
mov ecx, eax
call fcn.100199b0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10006df0
push 0
push 0
mov dword [0x100bfe60], eax
mov dword [0x100bfe64], edx
mov dword [0x100bfe68], eax
mov dword [0x100bfe6c], edx
call esi
mov ebx, eax
test ebx, ebx
je 0x10007324
push 0
push 0
push 0
push 0x100070c0
push 0
push 0
call esi
mov edi, eax
test edi, edi
je 0x1000732b
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ebx
call esi
push 0xffffffffffffffff
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
call fcn.100648f9
push 1
call fcn.100648f9
int3