joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412c00
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42cd90
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4352f4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x4352f4]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x411fe0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x29
xor ebx, ebx
push str.d1318ca0_db4a_4847_9bfa_4643086c163e_GH
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.00405500
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x28]
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jae 0x412c7b
lea eax, [esp + 0x28]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, ebx
mov dword [0x437950], eax
je 0x412caa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x3c], esi
jb 0x412ddf
mov eax, dword [esp + 0x28]
push eax
jmp 0x412dd7
cmp dword [esp + 0x3c], esi
mov eax, dword [esp + 0x28]
jae 0x412cb8
lea eax, [esp + 0x28]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x437950], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x412cea
mov ecx, dword [0x437950]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x3c], esi
jmp 0x412dd0
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str.._KI_Process_Protect__
mov byte [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
je 0x412d41
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push 4
lea ecx, [esp + 0x30]
push ecx
push 0x222004
push esi
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0x4304e8
jmp 0x412d46
push 0x4304ec
call fcn.00411af0
add esp, 4
cmp esi, ebx
mov byte [esp + 0x50], bl
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x412d5f
push esi
call edi
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00414bb0
push str.start...
call fcn.00411af0
add esp, 4
push ebx
push ebx
push ebx
push 0x4129f0
push ebx
push ebx
call fcn.00416476
add esp, 0x18
cmp eax, ebx
je 0x412d96
push eax
call edi
call fcn.00412620
push str.end...
call fcn.00411af0
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebx
je 0x412db7
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x412dcb
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
cmp dword [esp + 0x3c], 0x10
jb 0x412ddf
mov edx, dword [esp + 0x28]
push edx
call fcn.00414c4a
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00414c0c
mov esp, ebp
pop ebp
ret
Function at 0x413a00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42b4c6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4352f4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov byte [esi + 0x14], bl
lea edi, [esi + 0x30]
mov dword [esp + 0x18], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov byte [esp + 0x18], 1
push ebx
mov dword [esi], 1
call fcn.004166ec
add esp, 4
push 0xffffffffffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [0x437954]
push ebx
push 0x43795c
mov ecx, edi
mov dword [esi + 0x2c], eax
call fcn.00405420
mov ecx, dword [0x437958]
mov dword [esi + 0x4c], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x413c00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push 0
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push esi
mov dword [esp + 0x1c], 0
call ebp
test eax, eax
je 0x413c7f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x413c7f
mov ecx, dword [edi + 0x14]
cmp eax, ecx
ja 0x413c45
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00407480
jmp 0x413c4e
push 0
sub eax, ecx
call fcn.00405380
mov eax, dword [edi + 0x14]
push 0
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, edi
mov dword [esp + 0x14], 0
call fcn.004044d0
push eax
push esi
call ebp
test eax, eax
je 0x413c7f
mov edx, dword [edi + 0x14]
cmp edx, dword [esp + 8]
jne 0x413c7f
pop edi
mov al, 1
pop ebp
pop ecx
ret
pop edi
xor al, al
pop ebp
pop ecx
ret
Function at 0x413c90
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42b898
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
mov eax, dword [0x4352f4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x413ccd
lea eax, [esp + 0x28]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x413d48
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x413cec
lea eax, [esp + 0x28]
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x413d48
mov eax, dword [edi + 0x14]
push ebx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, edi
mov dword [esp + 0x1c], ebx
call fcn.004044d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x413d41
mov edx, dword [edi + 0x14]
cmp edx, dword [esp + 0x10]
jne 0x413d41
mov eax, ebp
call fcn.00413c00
test al, al
je 0x413d41
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x3c], 0x10
jb 0x413d5c
mov eax, dword [esp + 0x28]
push eax
call fcn.00414c4a
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x414bb0
Capabilities:
Create thread

Disassembly:
push ebx
push 0
xor bl, bl
call fcn.004166ec
push eax
call fcn.00416728
add esp, 8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi], eax
je 0x414bf6
push 0
push 0
push eax
push 0x414850
push 0
push 0
call fcn.00416476
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
mov al, 1
jne 0x414bf8
mov al, bl
pop ebx
ret

Function at 0x414c0c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4352f4]
jne 0x414c16
repz ret
jmp fcn.004169b2

Function at 0x416b35
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x435470]
je 0x416b50
inc edi
cmp edi, 0x17
jb 0x416b41
cmp edi, 0x17
jae 0x416cd0
push ebp
push 3
call fcn.0041e4f1
cmp eax, 1
pop ecx
je 0x416c9c
push 3
call fcn.0041e4f1
test eax, eax
pop ecx
jne 0x416b84
cmp dword [0x4352f0], 1
je 0x416c9c
cmp ebx, 0xfc
je 0x416ccf
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x436f70
push ebp
call fcn.0041a135
add esp, 0xc
test eax, eax
je 0x416bba
push esi
push esi
push esi
push esi
push esi
call fcn.00415624
add esp, 0x14
push 0x104
mov esi, 0x436f89
push esi
push 0
mov byte [0x43708d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x416bfe
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0041a135
add esp, 0xc
test eax, eax
je 0x416bfe
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00415624
add esp, 0x14
push esi
call fcn.004178c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x416c43
push esi
call fcn.004178c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x437284
push 0x42d85c
sub ecx, eax
push ecx
push eax
call fcn.0041e43e
add esp, 0x14
test eax, eax
je 0x416c43
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00415624
add esp, 0x14
jmp 0x416c45
xor esi, esi
push 0x42d858
push ebx
push ebp
call fcn.0041e3cd
add esp, 0xc
test eax, eax
je 0x416c65
push esi
push esi
push esi
push esi
push esi
call fcn.00415624
add esp, 0x14
push dword [edi*8 + 0x435474]
push ebx
push ebp
call fcn.0041e3cd
add esp, 0xc
test eax, eax
je 0x416c87
push esi
push esi
push esi
push esi
push esi
call fcn.00415624
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0041e210
add esp, 0xc
jmp 0x416ccf
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x416ccf
cmp ebp, 0xffffffff
je 0x416ccf
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x435474]
push dword [esi]
call fcn.004178c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x41e210
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00416de8
xor ebx, ebx
cmp dword [0x4375d4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x41e2e6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41e3c6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x41e3c6
push eax
call fcn.00416d7a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4375d4], eax
call esi
push eax
call fcn.00416d7a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4375d8], eax
call esi
push eax
call fcn.00416d7a
mov dword [0x4375dc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041a3b5
test eax, eax
pop ecx
pop ecx
je 0x41e2b4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00415624
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x41e2e6
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00416d7a
cmp eax, ebx
pop ecx
mov dword [0x4375e4], eax
je 0x41e2e6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00416d7a
pop ecx
mov dword [0x4375e0], eax
mov eax, dword [0x4375e0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x41e36b
cmp dword [0x4375e4], ecx
je 0x41e36b
push eax
call fcn.00416df1
push dword [0x4375e4]
mov esi, eax
call fcn.00416df1
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x41e36b
cmp edi, ebx
je 0x41e36b
call esi
cmp eax, ebx
je 0x41e338
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41e338
test byte [ebp - 0x18], 1
jne 0x41e36b
lea eax, [ebp - 0x10]
push eax
call fcn.0041a3ec
test eax, eax
pop ecx
je 0x41e353
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00415624
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x41e362
or dword [ebp + 0x10], 0x200000
jmp 0x41e3a6
or dword [ebp + 0x10], 0x40000
jmp 0x41e3a6
mov eax, dword [0x4375d8]
cmp eax, dword [ebp - 8]
je 0x41e3a6
push eax
call fcn.00416df1
cmp eax, ebx
pop ecx
je 0x41e3a6
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41e3a6
mov eax, dword [0x4375dc]
cmp eax, dword [ebp - 8]
je 0x41e3a6
push eax
call fcn.00416df1
cmp eax, ebx
pop ecx
je 0x41e3a6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4375d4]
call fcn.00416df1
cmp eax, ebx
pop ecx
je 0x41e3c6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41e3c8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001a30
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097e98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100bd078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x100b1900]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0xd173b1d
mov dword [ebp - 0x28], 0xa1d0c16
mov byte [ebp - 0x24], 0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x17
jb 0x10001a74
mov byte [ebp - 0x24], 0
mov cl, 0x10
mov dword [ebp - 0x1c], 0x62757b10
xor eax, eax
mov dword [ebp - 0x18], 0x237c757e
mov dword [ebp - 0x14], 0x7c743e22
mov word [ebp - 0x10], 0x7c
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x10001ab3
mov cl, byte [ebp - 0x1c]
jmp 0x10001aa4
lea eax, [ebp - 0x3b]
mov byte [ebp - 0xf], 0
push eax
lea eax, [ebp - 0x1b]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10017380
cmp al, 0xe9
jne 0x10001b5d
movaps xmm0, xmmword [0x100b1800]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x11
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x10
jb 0x10001af0
cmp byte [ebp - 0x1f], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jne 0x10001b1d
xor ecx, ecx
jmp 0x10001b2c
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001b23
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002880
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.1001ab40
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x10001b5d
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.10002760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10001b70
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100bd078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x6a
mov dword [ebp - 0x1c], 0x7031e6a
mov dword [ebp - 0x18], 0x1e0f2d0f
xor eax, eax
mov dword [ebp - 0x14], 0xf07033e
mov byte [ebp - 0x10], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xb
jae 0x10001bc1
mov cl, byte [ebp - 0x1c]
jmp 0x10001bb2
mov byte [ebp - 0x10], 0
mov cl, 0x4e
mov dword [ebp - 0x34], 0x3c2b254e
xor eax, eax
mov dword [ebp - 0x30], 0x7d222b20
mov dword [ebp - 0x2c], 0x222a607c
mov word [ebp - 0x28], 0x22
xor byte [ebp + eax - 0x33], cl
inc eax
cmp eax, 0xc
jae 0x10001bf3
mov cl, byte [ebp - 0x34]
jmp 0x10001be4
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x27], 0
push eax
lea eax, [ebp - 0x33]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10017380
cmp al, 0xe9
jne 0x10001c9d
movaps xmm0, xmmword [0x100b17c0]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x28], 0x1e
nop
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x10
jb 0x10001c30
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x27], 0
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
jne 0x10001c5d
xor ecx, ecx
jmp 0x10001c6c
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001c63
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x24]
call fcn.10002880
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.1001ab40
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x10001c9d
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.10002760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10001cb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097ef8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
mov eax, dword [0x100bd078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov cl, 0x34
mov dword [ebp - 0x20], 0x40517334
mov dword [ebp - 0x1c], 0x5f575d60
xor eax, eax
mov dword [ebp - 0x18], 0x5a415b77
mov word [ebp - 0x14], 0x40
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001d04
mov cl, byte [ebp - 0x20]
jmp 0x10001cf5
mov byte [ebp - 0x13], 0
mov cl, 0x5f
mov dword [ebp - 0x30], 0x2d3a345f
xor eax, eax
mov dword [ebp - 0x2c], 0x6c333a31
mov dword [ebp - 0x28], 0x333b716d
mov word [ebp - 0x24], 0x33
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 0xc
jae 0x10001d36
mov cl, byte [ebp - 0x30]
jmp 0x10001d27
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x23], 0
push eax
lea eax, [ebp - 0x2f]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.10017380
cmp al, 0xe9
jne 0x10001e1a
mov bh, 0x5f
mov byte [ebp - 0xd], 0x7f
mov byte [ebp - 0xe], bh
mov al, 0x42
mov bh, byte [ebp - 0xd]
mov cl, 0x48
mov byte [ebp - 0x20], 0x2b
mov dl, 0x40
xor bh, byte [ebp - 0x20]
mov bl, 0x68
xor al, byte [ebp - 0x20]
mov ah, 0x44
mov byte [ebp - 0xd], bh
mov ch, 0x5e
mov byte [ebp - 0x1f], bh
mov dh, 0x45
mov bh, byte [ebp - 0xe]
mov byte [ebp - 0x1e], al
mov al, byte [ebp - 0x20]
xor cl, al
mov byte [ebp - 0x16], 0
xor dl, al
mov byte [ebp - 0x1d], cl
xor bl, al
mov byte [ebp - 0x1c], dl
xor ah, al
mov byte [ebp - 0x1b], bl
xor ch, al
mov byte [ebp - 0x1a], ah
xor dh, al
mov byte [ebp - 0x19], ch
xor bh, al
mov byte [ebp - 0x18], dh
cmp byte [ebp - 0xd], 0
mov byte [ebp - 0x17], bh
mov byte [ebp - 0x16], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jne 0x10001dd8
xor ecx, ecx
jmp 0x10001de9
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001de0
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x38]
call fcn.10002880
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.1001ab40
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x10001e1a
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.10002760
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100bd078]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [str.D_a6__0_]
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 0x10001e50
mov byte [ebp - 0x19], 0
mov cl, 0x43
mov dword [ebp - 0x18], 0x11060843
xor eax, eax
mov dword [ebp - 0x14], 0x700f060d
mov dword [ebp - 0x10], 0x2f276d71
mov word [ebp - 0xc], 0x2f
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001e8f
mov cl, byte [ebp - 0x18]
jmp 0x10001e80
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.10067c75
mov esp, ebp
pop ebp
ret

Function at 0x10001f90
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b56c8
push 0x10082600
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x100bd078]
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 0x10002029
xor al, al
jmp 0x100020b2
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 0x10002054
xor al, al
jmp 0x100020b2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x1000209f
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.10067c75
mov esp, ebp
pop ebp
ret
Function at 0x100029e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097f91
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x100bd078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.10080320
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.100077d0
mov dword [ebp - 4], 0
mov cl, 0x4e
movaps xmm0, xmmword [0x100b18a0]
mov al, 0x13
xor al, cl
mov byte [ebp - 0xaa], 0
mov byte [ebp - 0xab], al
xor eax, eax
mov byte [ebp - 0xac], cl
mov byte [ebp - 0xaa], 0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb0], 0x2f5400
nop word [eax + eax]
mov cl, byte [ebp - 0xc0]
xor byte [ebp + eax - 0xbf], cl
inc eax
cmp eax, 0x12
jb 0x10002a90
lea edx, [ebp - 0xbf]
mov byte [ebp - 0xad], 0
lea ecx, [ebp - 0xa8]
call fcn.100052c0
mov esi, eax
test esi, esi
je 0x10002ac8
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
or dword [eax + 0x14], 4
test esi, esi
jne 0x10002ad4
xor ecx, ecx
jmp 0x10002adb
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
push 0
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0xd8]
push 8
push eax
call fcn.10063c24
add esp, 0xc
mov ecx, eax
test esi, esi
jne 0x10002b08
xor eax, eax
jmp 0x10002b0f
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push dword [ecx + 0xc]
push dword [ecx + 8]
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
mov eax, dword [eax + 4]
push ebx
mov byte [eax + esi + 0x40], 0x30
call fcn.10003090
lea edx, [ebp - 0xab]
mov ecx, eax
call fcn.100052c0
push edi
lea ecx, [ebp - 0xa8]
call fcn.10004ff0
lea ecx, [ebp - 0x58]
call fcn.10005570
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.1006347f
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067c75
mov esp, ebp
pop ebp
ret