joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018f0
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x401928
mov eax, dword [0x407c20]
push eax
call fcn.00401ec1
push eax
push edi
push str.____Gethostbyname__s__error:_s_n
call fcn.00401c40
add esp, 0x10
xor eax, eax
pop edi
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 8], ecx
push edx
mov dword [esp + 0x10], ecx
mov word [esp + 0xc], 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
mov eax, dword [esi + 0xc]
push 0x10
mov ecx, dword [eax]
lea eax, [esp + 0xc]
push eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x18], edx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jge 0x401987
push str.____Connect_error._r_n
call fcn.00401c40
add esp, 4
xor eax, eax
pop edi
pop esi
add esp, 0x10
ret
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret

Function at 0x403831
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4078f8
cmp edx, dword [eax]
je 0x403853
add eax, 8
inc ecx
cmp eax, 0x407988
jl 0x403844
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4078f8]
jne 0x403981
mov eax, dword [0x407ca0]
cmp eax, 1
je 0x40395b
test eax, eax
jne 0x403884
cmp dword [0x407574], 1
je 0x40395b
cmp edx, 0xfc
je 0x403981
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4038bb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402f40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403b70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4038fe
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403b70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406774
push edi
call fcn.00401a40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402f40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402f50
lea eax, [ebp - 0xa0]
push 0x406754
push eax
call fcn.00402f50
push dword [esi + 0x4078fc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402f50
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00404fa5
add esp, 0x2c
pop edi
jmp 0x403981
lea eax, [ebp + 8]
lea esi, [esi + 0x4078fc]
push 0
push eax
push dword [esi]
call fcn.00403b70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x663014a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
xor eax, eax
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push ebx
lea edx, [ebp - 0x3c]
lea ebx, [ebp - 0x48]
push ecx
mov edi, edx
mov ecx, 9
sub esp, 0x4c
mov dword [ebp - 0x48], 0x30
rep stosd dword es:[edi], eax
mov dword [esp], ebx
mov dword [ebp - 0x40], str.MSISIP.DLL
mov dword [ebp - 0x44], 0x663031d8
mov dword [ebp - 0x34], 0x663030c0
mov dword [ebp - 0x30], str.MsiSIPPutSignedDataMsg
mov dword [ebp - 0x2c], str.MsiSIPCreateIndirectData
mov dword [ebp - 0x28], str.MsiSIPVerifyIndirectData
mov dword [ebp - 0x24], str.MsiSIPRemoveSignedDataMsg
mov dword [ebp - 0x20], str.MsiSIPIsMyTypeOfFile
call sym._CryptSIPAddProvider_4
sub esp, 4
test eax, eax
sete al
lea esp, [ebp - 0xc]
pop ecx
movzx eax, al
pop ebx
pop edi
pop ebp
lea esp, [ecx - 4]
ret
Function at 0x66302560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x663025bb
cmp byte [esi + ebx - 1], 0xa
je 0x6630258f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x66303200], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x40decb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a538]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408cc1
mov dword [ebp - 0x14], eax
cmp dword [0x455d3c], esi
jne 0x40dfbe
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40df4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e09e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e09e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e09e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x455d3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x455d40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x455d44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x455d4c], eax
test eax, eax
je 0x40dfbb
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x455d48], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40dfe3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dfd6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dff8
push 4
pop eax
jmp 0x40e0a0
cmp dword [ebp - 0x14], esi
je 0x40dff8
push dword [0x455d3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40dfdd
mov eax, dword [0x455d48]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e056
cmp dword [0x455d4c], edi
je 0x40e056
push eax
call ebx
push dword [0x455d4c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e056
test eax, eax
je 0x40e056
call ecx
test eax, eax
je 0x40e04b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e04b
test byte [ebp - 8], 1
jne 0x40e056
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e086
mov eax, dword [0x455d40]
cmp eax, edi
je 0x40e083
push eax
call ebx
test eax, eax
je 0x40e083
call eax
mov esi, eax
test esi, esi
je 0x40e083
mov eax, dword [0x455d44]
cmp eax, edi
je 0x40e083
push eax
call ebx
test eax, eax
je 0x40e083
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x455d3c]
call ebx
test eax, eax
je 0x40e09e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e0a0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404283
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x403203
pop dword [ebp - 0x34]
mov eax, 0xd33f94b9
sub eax, 0xd2ff62b6
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x757bc3a7
sub dword [ebp - 0x44], 0x27297e5c
mov dword [ebp - 0x40], 0x17fdf598
add dword [ebp - 0x40], 0x1a3556ad
mov dword [ebp - 0x3c], 0x2ca812b0
add dword [ebp - 0x3c], 0x1fa4317e
mov dword [ebp - 0x38], 0x84b70388
sub dword [ebp - 0x38], 0x84b70388
lea eax, [ebp - 0x44]
push eax
mov eax, 0x1d3b9798
sub eax, 0x1cfb2734
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x509ac53
sub dword [ebp - 0x44], 0x909742fd
mov dword [ebp - 0x40], 0x8d84e66b
add dword [ebp - 0x40], 0xb3e77b0a
mov dword [ebp - 0x3c], 0x6c7c0a12
add dword [ebp - 0x3c], 0xf6f3625a
mov dword [ebp - 0x38], 0xb5aec990
sub dword [ebp - 0x38], 0xb5aec990
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x48e1d097
add eax, 0xb75ea011
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x35f55
push 0
call eax
mov ecx, 0x4575
mov edi, eax
mov ebx, 0xfa7d6a38
add ebx, 0x5c395c8
add ebx, dword [ebp - 0x34]
mov esi, 0x5d1cfca9
xor dword [ebp - 0x30], esi
mov edx, dword [ebx]
add dword [ebp - 4], edx
add edx, esi
xor dword [ebp - 0x1c], 0x851493b1
mov dword [edi], edx
mov dword [ebp - 0x2c], 0x8f9c90ae
add edi, 4
add ebx, 0xe5d2b111
add ebx, 0x1a2d4ef3
loop 0x403319
add eax, 0x9e49fe1c
sub eax, 0x9e48f575
mov ebx, eax
add eax, 5
mov ecx, 0xa6e4e19d
add ecx, 0x595b1e63
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x406c2f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x13c], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x174], 0
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_SetCommMask]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
mov ecx, 1
test ecx, ecx
je 0x406c9d
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x178], 0
jne 0x406c84
jmp 0x406c9d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1388
jb 0x406c9b
jmp 0x406c9d
jmp 0x406c6d
push 6
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_EscapeCommFunction]
push 0xf
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x138], 0
je 0x406ced
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x190]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x406dfd
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0xc
push 0
lea eax, [ebp - 0x14]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x10]
jae 0x406e37
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
jmp 0x406e3d
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jbe 0x406f45
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x406f45
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x406f0e
push str._n_rIO_Pending
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x406f0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3e4
jne 0x406ec6
jmp 0x406e95
mov ecx, dword [ebp - 0x18]
push ecx
push 0x40a2e4
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
cmp dword [ebp - 8], 0
jbe 0x406f0c
mov ecx, dword [ebp - 8]
push ecx
push 0x40a2ec
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x406f45
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
cmp dword [ebp - 8], 0
jbe 0x406f45
mov ecx, dword [ebp - 8]
push ecx
push str._CE__u_
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x40f7e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x40f805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x40f878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x40f83a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x40f86d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x40f86b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x40f831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x40f7fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x10004530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x1000456e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10004572
cmp edx, esi
jne 0x10004557
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x10004592
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10004596
cmp edx, esi
jne 0x1000457b
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x100045b6
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x100045ba
cmp edx, esi
jne 0x1000459f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012ed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100576d5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10064040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x37
xor edx, edx
nop
mov al, byte [edx + str.c_U_KSOJ]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x10012f1d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x12
jl 0x10012f00
mov byte [ebp - 0x16], 0
mov edx, 0x100a96da
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10046320
mov ecx, 0x77
xor edx, edx
mov al, byte [edx + 0x10059f20]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x24], al
and ecx, 0x800000ff
jns 0x10012f5f
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x10
jl 0x10012f42
mov byte [ebp - 0x14], 0
mov edx, 0x100a96db
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.10046320
mov ecx, 0x6c
xor edx, edx
mov al, byte [edx + 0x10059f34]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x24], al
and ecx, 0x800000ff
jns 0x10012fa1
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x10012f84
mov byte [ebp - 0x15], 0
mov edx, 0x100a96d8
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.10046320
mov ecx, 0xb1
xor edx, edx
mov al, byte [edx + 0x10059f44]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x10012fe3
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x15
jl 0x10012fc6
mov byte [ebp - 0x13], 0
mov edx, 0x100a96d9
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.10046320
mov dword [ebp - 0x20], 0x69736f50
mov dword [ebp - 0x1c], 0x6e6f6974
mov word [ebp - 0x18], 0x5820
mov byte [ebp - 0x16], 0
push ecx
push 0x10059c24
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0x64
push eax
push 0x1006b4e0
mov edx, 4
mov dword [ebp - 0x30], 0xffffff9c
lea ecx, [ebp - 0x20]
call fcn.10048200
mov dword [ebp - 0x20], 0x69736f50
mov dword [ebp - 0x1c], 0x6e6f6974
mov word [ebp - 0x18], 0x5920
mov byte [ebp - 0x16], 0
add esp, 0x10
mov dword [ebp - 4], 5
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x64
mov edx, 4
mov dword [ebp - 0x2c], 0xffffff9c
lea ecx, [ebp - 0x20]
push 0x10059c24
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x1006b4d4
call fcn.10048200
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100555b4
mov esp, ebp
pop ebp
ret
Function at 0x10013ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005785d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10064040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0xc6
xor edx, edx
mov al, byte [edx + 0x1005a024]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x24], al
and ecx, 0x800000ff
jns 0x10013cee
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x13
jl 0x10013cd1
mov byte [ebp - 0x11], 0
mov edx, 0x100f78fe
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10046320
cmp byte [0x100f78fe], 0
je 0x10013d3a
call fcn.100541b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10054680
push 0x100104c0
push 0x1011eacc
call fcn.10053c10
call fcn.10054210
movaps xmm0, xmmword [0x10060570]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x30], 0xafe6a280
movaps xmm0, xmmword [0x100603d0]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xaf8e8789
mov word [ebp - 0x28], 0x100
lea eax, [ecx - 0x3c]
xor byte [ebp + ecx - 0x50], al
inc ecx
cmp ecx, 0x28
jb 0x10013d66
mov byte [ebp - 0x27], 0
mov ecx, 0xb6
xor edx, edx
nop
mov al, byte [edx + 0x1005a038]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x10013d9d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10013d80
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x50]
xor esi, esi
cmp byte [ebp - 0x50], 0
je 0x10013dd6
nop dword [eax]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10013dc5
sub ecx, edi
inc edx
add edx, ecx
inc esi
cmp byte [edx], al
jne 0x10013dc0
push ecx
push esi
lea eax, [ebp - 0x50]
mov edx, 0x1011ea64
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10047a30
add esp, 0x10
mov ecx, 0xee
xor edx, edx
mov al, byte [edx + 0x1005a044]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x10013e11
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10013df4
mov byte [ebp - 0x11], 0
push ecx
push 0x10059c24
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0x3e8
push eax
push 0x1006b4e4
mov edx, 4
mov dword [ebp - 0x58], 1
lea ecx, [ebp - 0x1c]
call fcn.10048200
add esp, 0x14
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.100555b4
mov esp, ebp
pop ebp
ret