joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00431219

Function at 0x4738b9
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4735cc
mov ecx, esi
add esi, ecx
call fcn.00473900
mov ecx, 0x80747f58
sub esi, 1
xor dword [edi], edx
dec ecx
sub esi, 0x9606884b
and esi, ecx
add edi, 2
sub esi, ecx
cmp edi, ebx
jl fcn.004738b9
sub ecx, 0xa06b4c17
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 7
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe4
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x44
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x1b
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4e
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xca
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x43
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x60
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb6
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x44
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2c
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xa5
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc5
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb9
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40153b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0x2c], 1
je 0x401554
movzx esi, word [esp + 0x30]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4044e0], eax
mov dword [ebp - 0x4c], 0x30
call fcn.0040152b
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x40120e
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Trick
mov dword [ebp - 0x20], eax
call fcn.0040151e
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x401626
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0x80
push str.Qindom
push str.Trick
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4044e8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4044e8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401626
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40160a
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4738d5
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4735cc
add esi, edx
sub edx, esi
call fcn.0047390c
add edx, edx
push edx
pop esi
xor dword [ecx], edi
mov esi, edx
mov edx, esi
add ecx, 2
mov esi, esi
mov esi, 0x36f50d4c
push edx
pop edx
cmp ecx, ebx
jl fcn.004738d5
or edx, edx
mov edx, 0x20a6ea39
or esi, esi
ret
Function at 0x402f74
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x448c70]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x403008
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402fc5
cmp dword [ebp + 0x10], ebx
jne 0x402ffc
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402f74
test eax, eax
jne 0x402fd7
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402fac
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004069c7
cmp eax, ebx
je 0x40300f
push ebx
push dword [0x448c70]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x403008
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x448c70], ebx
jne 0x403005
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x403005
jmp 0x403008
Function at 0x403456
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x403481
mov ecx, dword [0x448c18]
push esi
add eax, ecx
push esi
push eax
mov dword [0x420d54], eax
push dword [0x40a698]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.0040355e
cmp eax, esi
jl 0x403558
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a698]
call fcn.00406175
test eax, eax
je 0x403548
push dword [ebp + 8]
add dword [0x420d54], 4
call fcn.0040355e
mov ebx, eax
cmp ebx, esi
jl 0x403556
cmp dword [ebp + 0x10], esi
jne 0x403524
cmp dword [ebp + 8], esi
jle 0x403556
mov esi, 0x41cd50
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x4034e6
mov eax, 0x4000
push eax
push esi
push dword [0x40a698]
mov dword [ebp - 4], eax
call fcn.00406175
test eax, eax
je 0x403548
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.004061a4
test eax, eax
je 0x403520
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x420d54], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4034d5
jmp 0x403556
push 0xfffffffffffffffe
jmp 0x40354a
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x40352f
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a698]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40354d
push 0xfffffffffffffffd
pop eax
jmp 0x403558
mov ebx, dword [ebp - 4]
add dword [0x420d54], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x405b14
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x408384
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x408374
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x405b65
xor eax, eax
jmp 0x405b8c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405b8c
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x405b61
call esi
pop esi
leave
ret 4

Function at 0x405bc6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x43eda8], 0x44
push eax
xor eax, eax
push 0x43eda8
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405c05
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405c8f
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.004060d8
mov edi, eax
cmp edi, 0xffffffff
je 0x405cd0
test byte [esp + 0x10], 1
push esi
je 0x405cb2
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x405cb8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x405cc1
xor eax, eax
inc eax
jmp 0x405cd2
test byte [esp + 0x10], 4
jne 0x405cd0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405fea
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x43cda8
push esi
call fcn.0040648a
push esi
call fcn.00405f95
mov edi, eax
test edi, edi
jne 0x40600b
xor eax, eax
jmp 0x40605d
push edi
call fcn.004066f5
test byte [0x448bd8], 0x80
je 0x406024
mov al, byte [edi]
test al, al
je 0x406007
cmp al, 0x5c
je 0x406007
sub edi, esi
jmp 0x40603c
call fcn.00406932
test eax, eax
je 0x406036
test byte [eax], 0x10
je 0x406007
push esi
call fcn.00405f43
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x406028
call fcn.00405efc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x4060d8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4060f7
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x4060fd
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x40612c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40ab94]
dec edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x406171
test edi, edi
jne 0x406137
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x40616b
Function at 0x4061d3
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, 0x43f330
push 0x40abb0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
mov ebx, 0x400
je 0x406221
push 1
push 0
push esi
call fcn.004060fd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
push esi
call ebp
test eax, eax
je 0x406340
cmp eax, ebx
jg 0x406340
mov esi, 0x43f730
push ebx
push esi
push dword [esp + 0x1c]
call ebp
test eax, eax
je 0x406340
cmp eax, ebx
jg 0x406340
push esi
push edi
push str._s_s_r_n
push 0x43ef30
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x448bd0]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.004064ac
push 4
push 0xc0000000
push esi
call fcn.004060fd
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x406340
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x406339
push edi
push esi
push ebp
call fcn.00406175
test eax, eax
je 0x406339
push str._Rename__r_n
push esi
call fcn.00406062
test eax, eax
jne 0x4062d7
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x40630c
add eax, 0xa
push 0x40ab98
push eax
call fcn.00406062
mov ebp, eax
test ebp, ebp
je 0x406308
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4062f9
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4062f3
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x40630e
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x43ef30
push eax
call fcn.004060b8
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.004061a4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406345
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x406368
push dword [esp + 8]
push dword [esp + 8]
call fcn.004061d3
pop ecx
pop ecx
inc dword [0x448c50]
ret 8
Function at 0x406371
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4063e2
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x2000
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4063d1
cmp dword [ebp + 0x14], 1
je 0x4063d3
cmp dword [ebp + 0x14], 2
je 0x4063d3
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x1fff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x406959
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x40697d
xor eax, eax
test eax, eax
je 0x40698f
cmp byte [ebp + eax - 0x121], 0x5c
je 0x40698f
xor ecx, ecx
jmp 0x406992
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a28c]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406a3c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43fb34], 0
push esi
jne 0x406a73
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a4d
mov dword [ecx*4 + 0x43fb30], eax
inc ecx
cmp ecx, 0x100
jl 0x406a48
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa4
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43fb30]
xor eax, esi
inc ecx
dec edx
jne 0x406a86
pop edi
not eax
pop esi
ret 0xc
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408b40
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
shr esp, cl
adc byte [ebx - 0x74a9f3b3], cl
jne 0x408b5d
push 0xffffffffffffffdc
lea edx, [ebp + 5]
push 0x1f
mov dh, 0xd6
push edx
mov ebp, dword [eax]
or byte [ecx + 0x45ebf045], cl
dec eax
mov dword [ebp - 0xc], ecx
push eax
mov eax, dword [edx + 4]
mov dword [0x16af04d], eax
push ecx
push eax
out dx, al
inc ebp
cld
add byte [eax], al
add byte [eax], al
cmpsd dword [esi], dword es:[edi]
inc ebp
clc
add byte [eax], al
add byte [eax], al
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x408bb3
jmp 0x408ba4
push edi
mov edi, dword [0x1f40c1d8]
mov eax, 0x75ee0ad7
adc ecx, dword [ecx - 0x1ce82cfa]
in eax, 0x5d
pushal
or al, 0
call edi
mov dword [esi], 0
add byte [eax], al
pop edi
add eax, 0xb7fc80
cmpsd dword [esi], dword es:[edi]
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 4]
mov dword [esi], eax
pop esi
neg eax
sbb eax, eax
int 0x65
out dx, al
invalid

Function at 0x40b590
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
xor esi, dword [ebx - 0x75]
xor dl, byte [esi - 0x12ce3fec]
adc al, 0xed
mov edx, dword [esp - 0x3d]
neg eax
neg edx
in al, 0x67
add byte [ecx - 0x76abdbbc], cl
push esp
and al, 0x10
mov edx, dword [edi - 0x5af494dc]
jge 0x40b5cd
inc edi
mov edx, dword [esp + 0x18]
neg eax
neg ecx
sbb eax, 0
cli
inc esp
mov dh, 0x1c
mov dword [esp + 0x18], edx
cmp eax, 0x741875c0
fldenv [esp + ecx*2]
mov ebp, dword [esi]
and al, 0x14
xor edx, edx
xor al, 0xbb
mov ebx, dword [ebx]
mov eax, dword [esp + 0x10]
and al, 0x10
div ecx
mov edx, ebx
or eax, dword [ecx - 0x75]
fmul dword [ebx - 0x74e7dbb4]
push esp
and al, 0x14
mov eax, dword [esp + 0x10]
xor al, 0xeb
rcr ecx, 1
shr edx, 1
rcr eax, 1
or ebx, ebx
jne 0x40b5f7
div ecx
mov esi, eax
mul dword [esp + 0x56]
cmpsb byte [esi], byte es:[edi]
enter 0x118b, 0x50
sbb bh, dh
out 3, al
sal dword [edx + 0xe], 1
cmp ecx, ebx
and al, 0x14
insb byte es:[edi], dx
or byte [edx + 7], dh
cmp eax, dword [eax + 0x10]
jbe 0x40b5e1
dec esi
xor esp, dword [ecx]
mov esi, ecx
dec edi
jne 0x40b634
neg edx
neg eax
sbb edx, 0
pop ebx
stosb byte es:[edi], al
pop edi
ret 0x3310
Function at 0x401000
Capabilities:
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40102d
xor eax, eax
jmp 0x4010a1
push 0xb
mov eax, 0x7da
mov word [ebp - 0x18], ax
pop eax
mov word [ebp - 0x16], ax
xor eax, eax
push 0x15
mov word [ebp - 0x14], ax
pop eax
push 0x12
mov word [ebp - 0x12], ax
pop eax
push 7
mov word [ebp - 0x10], ax
pop eax
mov word [ebp - 0xe], ax
push 5
pop eax
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 0xa], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 8]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 8]
push eax
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x4010a4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x404038]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
mov esi, 0x103
push esi
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call sub.MSVCR90.dll_memset
push esi
lea eax, [ebp + 0x85]
push 0
push eax
mov byte [ebp + 0x84], 0
call sub.MSVCR90.dll_memset
add esp, 0x18
push 0x104
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x84]
push eax
call sub.MSVCR90.dll_strcpy
lea eax, [ebp + 0x84]
push 0x403198
push eax
call sub.MSVCR90.dll_strcat
lea eax, [ebp + 0x84]
push str.SysScnet.exe
push eax
call sub.MSVCR90.dll_strcat
push 1
lea eax, [ebp + 0x84]
push eax
push 0x67
call fcn.004017f3
add esp, 0x24
pop esi
test eax, eax
je 0x401154
lea eax, [ebp + 0x84]
push eax
call section..text
pop ecx
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
call fcn.00401cde
add ebp, 0x18c
leave
ret