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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1022be34]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10235c44]
push esi
push edi
xor edi, edi
mov esi, ecx
test eax, eax
jne 0x1003ce0e
push str.GlobalAccess_EC
push eax
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [0x10235c44], eax
test eax, eax
jne 0x1003ce0e
mov al, byte [ebp - 5]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10177bf5
mov esp, ebp
pop ebp
ret 8
push ebx
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [ebp + 0xc]
nop
mov ecx, dword [esi]
mov byte [ebp - 5], 0
cmp byte [ecx + 0x44], 0
je 0x1003cef5
movzx eax, word [esi + 8]
push eax
lea eax, [ebp - 5]
push eax
mov eax, dword [ecx + 4]
call eax
cmp byte [ebp - 5], 0xff
jne 0x1003cef5
mov ecx, dword [esi]
cmp byte [ecx + 0x44], 0
je 0x1003ce5f
push dword [ebp + 8]
movzx eax, word [esi + 8]
push eax
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [esi]
xor al, al
mov byte [ebp - 5], al
cmp byte [ecx + 0x44], al
je 0x1003ce7a
movzx eax, word [esi + 8]
push eax
lea eax, [ebp - 5]
push eax
mov eax, dword [ecx + 4]
call eax
mov al, byte [ebp - 5]
cmp al, byte [ebp + 8]
jne 0x1003ce20
mov ecx, dword [esi]
cmp byte [ecx + 0x44], 0
je 0x1003ce94
movzx eax, word [esi + 0xc]
push ebx
push eax
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [esi]
xor al, al
mov byte [ebp - 5], al
cmp byte [ecx + 0x44], al
je 0x1003ceaf
movzx eax, word [esi + 0xc]
push eax
lea eax, [ebp - 5]
push eax
mov eax, dword [ecx + 4]
call eax
mov al, byte [ebp - 5]
cmp al, bl
jne 0x1003ce20
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi]
xor bl, bl
mov byte [ebp - 5], bl
cmp byte [ecx + 0x44], bl
je 0x1003cede
movzx eax, word [esi + 0x10]
push eax
lea eax, [ebp - 5]
push eax
mov eax, dword [ecx + 4]
call eax
mov ecx, dword [esi]
mov bl, byte [ebp - 5]
cmp byte [ecx + 0x44], 0
je 0x1003cf0d
movzx eax, word [esi + 8]
push 0xff
push eax
mov eax, dword [ecx + 8]
call eax
jmp 0x1003cf0d
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x3e8
jle 0x1003ce20
mov bl, byte [ebp - 5]
push dword [0x10235c44]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.10177bf5
mov esp, ebp
pop ebp
ret 8
Function at 0x1004684a
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x1004689d
push esi
push dword [ebp + 8]
call fcn.10046a30
mov edi, eax
test edi, edi
je 0x10046898
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10046898
mov eax, dword [ebp - 8]
jmp 0x100468af
mov eax, dword [ebp + 0x10]
jmp 0x100468af
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc

Function at 0x10053f24
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x10053f69
call fcn.1004842b
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10053f69
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10053f85
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1005ba7e
mov ebx, eax
test edi, edi
je 0x10053f83
test esi, esi
je 0x10053f83
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10054980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x10054a3e
cmp dword [esi + 0x20], 0
je 0x10054a3e
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10054a3e
cmp dword [ebp + 8], 0
je 0x10054a3e
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.1004842b
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10054a0f
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10054a3e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.1005c606
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x10054a2f
test edi, edi
je 0x10054a2f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x10054a3a
mov ecx, esi
call fcn.10054722
mov eax, ebx
jmp 0x10054a40
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10058f12
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x101b0c9c
call fcn.1017873f
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x10058f38
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10058f98
call fcn.10043249
push eax
lea ecx, [ebp - 0x10]
call fcn.10007a80
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x101bf9dc]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.1018634b
push eax
call fcn.100075e0
add esp, 0x14
test esi, esi
je 0x10058f8b
push esi
call fcn.101862c0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10008460
mov eax, ebx
call fcn.10178708
ret 8

Function at 0x10059d04
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.10058e58
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.10059f1d
cmp esi, 3
je 0x10059d42
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x10059d8b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x10059d65
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.10042ed0
jmp 0x10059d76
push 0xff
mov ecx, esi
call fcn.10008150
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10042ef3
jmp 0x10059daf
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x10059daf
push dword [esi]
push dword [ebp - 4]
call fcn.1004b8c5
pop edi
pop esi
leave
ret 0xc

Function at 0x10059e74
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.10059f1d
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10059ebc
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.10042ed0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10042ef3
jmp 0x10059ec7
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1004b8c5
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1005cd34
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x1005cd5f
cmp dword [ebx + 0x80], 0
jne 0x1005cd5f
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.1004842b
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.1005cff0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1005cd99
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.1004842b
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1005cdd0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1005cdef
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1005ef22
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x1005ef78
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x1005ef51
call fcn.1004f355
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1005ef66
call fcn.1004f355
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1005ef78
call fcn.1004f355
call fcn.1004842b
cmp dword [eax + 0x3c], 0
je 0x1005ef8d
push edi
mov ecx, ebx
call fcn.1005e652
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1005f15f
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1005efb6
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1005efc2
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10081401
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push edi
test esi, esi
jne 0x1008141b
call fcn.1004842b
mov esi, dword [eax + 0xc]
push 0x101ca23c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x10081471
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10081471
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10081450
xor esi, esi
jmp 0x10081466
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.1008147a
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
jmp 0x10081473
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1011667a
Capabilities:
Get file system object information

Disassembly:
push 0x274
mov eax, 0x101b97af
call fcn.10178773
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.10008400
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x101c06c4
call fcn.10007130
cmp eax, 0xffffffff
jne 0x10116754
push 0
push 0x101ca1f8
lea ecx, [ebp - 0x278]
call fcn.10007130
cmp eax, 0xffffffff
jne 0x10116754
push 0
push 0x101c03d4
lea ecx, [ebp - 0x278]
call fcn.10007130
cmp eax, 0xffffffff
jne 0x10116754
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.10008400
mov edi, eax
pop ecx
mov dword [ebp - 0x27c], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x280], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x114]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x10116723
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x101bf9dc]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x27c]
mov edi, eax
call fcn.10008460
jmp 0x1011678d
lea eax, [ebp - 0x114]
push eax
call fcn.101862c0
pop ecx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.100081c0
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.10008460
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x1011677a
mov edi, dword [ebp - 0x274]
jmp 0x1011678d
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x101bf9dc]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.10008460
mov eax, edi
call fcn.1017871d
ret
Function at 0x101301d4
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.1018afce
pop ecx
test eax, eax
jne 0x10130216
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.10046d6e
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x101301dc
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x10198396
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x401be0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407048
call sym._EnterCriticalSection_4
mov ebx, dword [0x407040]
sub esp, 4
test ebx, ebx
je 0x401c2b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401c24
test esi, esi
je 0x401c24
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401c00
mov dword [esp], 0x407048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401e10
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401e60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401f38
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401e9e
cmp eax, 4
jne 0x401ec0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401eae
cmp edx, 4
je 0x401eae
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401e10

Function at 0x6da37b9e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x6da37ba8
repz ret
jmp fcn.6da37f8f
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40a60b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40a61a
pop dword [ebp - 0xc]
mov eax, 0x67278a94
sub eax, 0x66e6e47a
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x8e0d6308
add dword [ebp - 0x1c], 0xc044e243
mov dword [ebp - 0x18], 0x6bd7fadf
sub dword [ebp - 0x18], 0x39a4ae9a
mov dword [ebp - 0x14], 0x706f05f7
add dword [ebp - 0x14], 0xdbdd3e37
mov dword [ebp - 0x10], 0xe233e8ee
sub dword [ebp - 0x10], 0xe233e8ee
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x28b957f2
sub dword [ebp - 0x1c], 0xb446ee9c
mov dword [ebp - 0x18], 0x7de31c70
sub dword [ebp - 0x18], 0x3c76bafb
mov dword [ebp - 0x14], 0x9d6b833a
sub dword [ebp - 0x14], 0x39fc16ce
mov dword [ebp - 0x10], 0xdf1c82df
add dword [ebp - 0x10], 0x20e37d21
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x63c97947
sub eax, 0x6388a8fb
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x36cf8
push 0
call eax
mov ecx, 0x3bc3
mov edx, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0xc]
mov edi, 0x683f27f7
add edi, 0xd5494f51
mov esi, dword [ebx]
mov dword [ebp - 4], 0x1f9004d1
sub esi, edi
xor dword [ebp - 4], ebx
mov dword [edx], esi
xor dword [ebp - 4], ebx
add edx, 4
add ebx, 0x28ef478
add ebx, 0xfd710b8c
loop 0x40a72b
add eax, 0xe1df
mov ebx, eax
add eax, 0xf9f4ae22
add eax, 0x60b51e3
mov ecx, 0xfd0a0c49
add ecx, 0x335f3b7
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x401dca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401dd9
pop dword [ebp - 0x40]
mov eax, 0xafd0aa89
add eax, 0x506f7350
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x9cfb59ee
sub dword [ebp - 0x50], 0x4ea914a3
mov dword [ebp - 0x4c], 0x7e0b76fc
sub dword [ebp - 0x4c], 0x4bd82ab7
mov dword [ebp - 0x48], 0x731eadc1
sub dword [ebp - 0x48], 0x26d26993
mov dword [ebp - 0x44], 0x64e7de9b
sub dword [ebp - 0x44], 0x64e7de9b
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xa54a04c4
sub dword [ebp - 0x50], 0x30d79b6e
mov dword [ebp - 0x4c], 0x44fc7621
sub dword [ebp - 0x4c], 0x39014ac
mov dword [ebp - 0x48], 0x2c5465ca
sub dword [ebp - 0x48], 0xc8e4f95e
mov dword [ebp - 0x44], 0xd741e48b
sub dword [ebp - 0x44], 0xd741e48b
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xd2f3464d
add eax, 0x2d4eead7
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3f61c
push 0
call eax
mov ecx, 0x5a3de4b8
sub ecx, 0x5a3d960c
mov edi, eax
mov ebx, 0x476d5849
add ebx, 0xb8d5ebb7
add ebx, dword [ebp - 0x40]
mov esi, 0xef84578b
add dword [ebp - 0x34], 0xb12d92ad
mov edx, dword [ebx]
xor dword [ebp - 0x3c], 0x9439f82
sub edx, esi
add dword [ebp - 4], edi
mov dword [edi], edx
add edi, 4
add ebx, 0x818859c8
sub ebx, 0x818859c4
loop 0x401ef0
add eax, 0xdc2e0897
add eax, 0x23d324ec
xor ebx, ebx
add ebx, eax
add eax, 0x11295ed
add eax, 0xfeed6a18
mov ecx, 0x758d921f
add ecx, 0x8ab26de1
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x401037
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [0x439608]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x43960c]
xor ebx, ebx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.00401030
mov eax, dword [0x439610]
add dword [ebp - 0x14], 0x23f
mov dword [ebp - 0x28], eax
mov eax, dword [0x439614]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x1a2a1cc], 0xc
mov dword [ebp - 4], eax
jne 0x4010b9
push ebx
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x438]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x1a2a1cc]
cmp eax, 0xfa9
jne 0x4010d5
mov dword [0x1a2a1c8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010e9
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x1a2a11c], ebx
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [0x1a2a1c4], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 8], eax
sub esi, dword [ebp - 8]
cmp dword [0x1a2a1cc], 0xc
mov dword [ebp - 4], eax
jne 0x40114a
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], 0x61c88647
sub edi, eax
dec dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
jne 0x401089
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
leave
ret 4