joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ca5
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
mov ebx, dword [ebp + 0xc]
lea edi, [ebx + 4]
mov dword [ebp - 0x34], 0x10
xor eax, dword [edi]
mov dword [ebp - 0x2c], eax
push 0
push eax
push ebx
push 0
call fcn.00406cf0
add esp, 0x10
xor eax, esi
mov esi, dword [ebp - 0x2c]
add edi, 4
dec dword [ebp - 0x34]
jne 0x406cbc
mov ecx, dword [ebx + 0x44]
xor ecx, eax
xor esi, dword [ebx + 0x48]
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
ret

Function at 0x406e25
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x48faa0
mov edi, dword [ebp + 0xc]
lea ecx, [edi + 0x4c]
mov edx, pe_nt_image_headers32
mov esi, dword [eax]
mov dword [ecx], esi
add eax, 4
add ecx, 4
dec edx
jne 0x406e35
cmp eax, 0x490aa0
jl 0x406e30
xor ecx, ecx
mov esi, 0x48fa58
add edi, 4
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x3c], 4
xor ebx, ebx
mov bl, byte [ecx + edx]
shl eax, 8
or eax, ebx
inc ecx
cmp ecx, dword [ebp + 0x14]
jl 0x406e71
xor ecx, ecx
dec dword [ebp - 0x3c]
jne 0x406e5f
xor eax, dword [esi]
mov dword [edi], eax
add esi, 4
add edi, 4
cmp esi, 0x48faa0
jl 0x406e56
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp + 0xc]
lea esi, [ebx + 8]
mov edi, 9
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0
call fcn.00406c40
add esp, 0x14
mov edx, dword [ebp - 0x24]
mov dword [esi - 4], edx
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
add esi, 8
dec edi
jne 0x406e9b
lea esi, [ebx + 0x50]
mov dword [ebp - 0x40], 4
mov edi, 0x80
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
push ebx
push 0
call fcn.00406c40
add esp, 0x14
mov eax, dword [ebp - 0x24]
mov dword [esi - 4], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esi], ecx
add esi, 8
dec edi
jne 0x406ed0
dec dword [ebp - 0x40]
jne 0x406ecb
ret

Function at 0x407065
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
mov ebx, dword [ebp + 0xc]
lea edi, [ebx + 0x48]
mov dword [ebp - 0x34], 0x10
xor eax, dword [edi]
mov dword [ebp - 0x2c], eax
push 0
push eax
push ebx
push 0
call fcn.00406cf0
add esp, 0x10
xor eax, esi
mov esi, dword [ebp - 0x2c]
sub edi, 4
dec dword [ebp - 0x34]
jne 0x40707c
mov ecx, dword [ebx + 8]
xor ecx, eax
xor esi, dword [ebx + 4]
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
ret
Function at 0x422e60
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push eax
xor eax, eax
pop eax
je 0x422e71
invalid
mov edi, 0x4bd5a4
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
mov ebx, ecx
mov ecx, eax
cmp eax, ebx
jb 0x422e90
mov ecx, ebx
mov esi, dword [edx + 4]
mov edi, 0x4bd5a4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x422ea3
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x422eb4
cmp eax, ebx
jb 0x422eb4
cmp eax, ebx
setne dl
test edx, edx
je 0x422f04
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x422f04
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x422ed8
mov eax, 0x48d810
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x422f01
lea ecx, [ebp - 0x1c]
push ecx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call ebx
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4378c0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push eax
xor eax, eax
pop eax
je 0x4378ce
invalid
push eax
xor eax, eax
pop eax
je 0x4378d6
invalid
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43793b
lea ecx, [ebp - 0x10]
push ecx
push 0x4b4a9c
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x43793b
mov eax, dword [ebp - 4]
push 0
push 0
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x43793b
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esp, ebp
pop ebp
ret
Function at 0x439a40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push eax
xor eax, eax
pop eax
je 0x439a51
invalid
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
mov eax, dword [esi]
mov dword [ebp + 8], eax
je 0x439abd
mov ecx, eax
cmp eax, ecx
jne 0x439abd
mov edi, dword [esi + 4]
mov eax, dword [0x4bee3c]
cmp edi, eax
mov esi, edi
je 0x439a98
mov eax, dword [esi + 8]
mov ecx, ebx
push eax
call fcn.0040a050
mov esi, dword [esi]
push edi
call fcn.00485078
mov eax, dword [0x4bee3c]
add esp, 4
cmp esi, eax
mov edi, esi
jne 0x439a77
mov ecx, dword [ebx + 4]
lea edx, [ebp - 0x10]
push edx
mov dword [ecx + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 0xc], 0
mov ecx, ebx
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
call fcn.00449300
jmp 0x439ade
cmp eax, esi
je 0x439ade
lea ecx, [ebp + 8]
mov edi, eax
call fcn.00409860
lea eax, [ebp - 0xc]
push edi
push eax
mov ecx, ebx
call fcn.00409c50
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x439ac1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x439c04
xor ecx, ecx
mov dword [ebp - 0xc], ecx
jmp 0x439af9
mov eax, dword [ebp - 0x10]
mov edx, 1
shl edx, cl
test eax, edx
je 0x439bf4
mov eax, dword [0x4b4ab4]
add cl, 0x41
mov dword [ebp - 4], eax
mov byte [ebp - 4], cl
lea ecx, [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x439bf4
mov edi, dword [ebx + 4]
mov edx, dword [0x4bee3c]
mov cl, byte [ebp - 4]
mov al, 1
mov esi, dword [edi + 4]
cmp esi, edx
je 0x439b57
mov al, byte [esi + 0xc]
mov edi, esi
cmp cl, al
setl al
test al, al
je 0x439b50
mov esi, dword [esi]
jmp 0x439b53
mov esi, dword [esi + 8]
cmp esi, edx
jne 0x439b3e
mov dl, byte [ebx + 8]
test dl, dl
je 0x439b7a
lea edx, [ebp - 4]
lea eax, [ebp - 0x14]
push edx
push edi
push esi
push eax
mov ecx, ebx
call fcn.00413360
mov ecx, dword [eax]
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x28], ecx
jmp 0x439bf4
test al, al
mov dword [ebp - 8], edi
je 0x439bbc
lea edx, [ebp - 0x18]
mov ecx, ebx
push edx
call fcn.00449300
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
cmp ecx, edx
jne 0x439bb1
lea edx, [ebp + 0xb]
lea eax, [ebp - 4]
push edx
push eax
push edi
lea ecx, [ebp - 0x1c]
push esi
push ecx
mov ecx, ebx
mov byte [ebp + 0xb], 1
call fcn.00413360
push eax
jmp 0x439bec
lea ecx, [ebp - 8]
call fcn.00413d60
mov cl, byte [ebp - 4]
mov edx, dword [ebp - 8]
cmp byte [edx + 0xc], cl
jge 0x439be0
lea eax, [ebp + 0xb]
lea ecx, [ebp - 4]
push eax
push ecx
push edi
lea edx, [ebp - 0x20]
push esi
push edx
mov ecx, ebx
mov byte [ebp + 0xb], 1
call fcn.00413360
push eax
jmp 0x439bec
lea eax, [ebp + 0xb]
lea ecx, [ebp - 8]
push eax
mov byte [ebp + 0xb], 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00413d40
mov ecx, dword [ebp - 0xc]
inc ecx
cmp ecx, 0x1a
mov dword [ebp - 0xc], ecx
jl 0x439af6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439c10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
push eax
xor eax, eax
pop eax
je 0x439c29
invalid
mov bl, byte [ebp + 0xc]
movsx eax, bl
push eax
call fcn.0042b7b4
add esp, 4
test eax, eax
jne 0x439c90
mov ebx, dword [ebp + 8]
mov cl, byte [ebp + 0xf]
mov edi, 0x4bd5a4
push 1
mov byte [ebx], cl
or ecx, 0xffffffff
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, ebx
push esi
mov dword [ebp + 0xc], esi
call fcn.00401850
test al, al
je 0x439d86
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov esi, 0x4bd5a4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x439d7c
mov al, byte [0x4bd5a4]
mov edx, dword [0x4b4ab4]
mov byte [ebp - 0x10c], al
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [ebp - 0x10c]
push esi
push esi
rep stosd dword es:[edi], eax
push esi
push esi
mov dword [ebp - 4], edx
push esi
lea ecx, [ebp - 0x10c]
push 0x104
lea edx, [ebp - 4]
push ecx
push edx
mov byte [ebp - 4], bl
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ebx, dword [ebp + 8]
test eax, eax
jne 0x439d32
mov al, byte [ebp + 0xf]
mov edi, 0x4bd5a4
mov byte [ebx], al
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebx
push esi
mov dword [ebp + 0xc], esi
call fcn.00401850
test al, al
je 0x439d86
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov esi, 0x4bd5a4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x439d7c
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [ebp + 0xf]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov esi, ecx
push 1
push esi
mov ecx, ebx
mov byte [ebx], dl
mov dword [ebp + 0xc], esi
call fcn.00401850
test al, al
je 0x439d86
mov edi, dword [ebx + 4]
mov ecx, esi
mov eax, ecx
lea esi, [ebp - 0x10c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [eax + ecx], 0
pop edi
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43a0c0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push eax
xor eax, eax
pop eax
je 0x43a0cf
invalid
mov bl, byte [ebp + 8]
movsx eax, bl
push eax
call fcn.0042b7b4
add esp, 4
test eax, eax
jne 0x43a0ef
or eax, 0xffffffff
or edx, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x4b4ab4]
lea edx, [ebp - 0xc]
push edx
push 0
lea eax, [ebp - 4]
push 0
mov dword [ebp - 4], ecx
push eax
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x43a11e
or eax, 0xffffffff
or edx, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x441590
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
push eax
xor eax, eax
pop eax
je 0x44159f
invalid
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4415b2
mov eax, 0xc000000d
pop edi
mov esp, ebp
pop ebp
ret 8
mov ecx, 0xa
xor eax, eax
lea edi, [ebp - 0x30]
push 4
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
push 0x28
lea eax, [ebp - 8]
push ecx
push eax
push edx
call dword [sym.imp.ntdll.dll_ZwSetInformationFile]
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x4415e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push eax
xor eax, eax
pop eax
je 0x4415ee
invalid
mov eax, dword [ebp + 8]
test eax, eax
jne 0x441600
mov eax, 0xc000000d
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
push 0x14
lea ecx, [ebp - 8]
push 8
lea edx, [ebp - 0x10]
push ecx
push edx
push eax
call dword [sym.imp.ntdll.dll_ZwSetInformationFile]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x441630
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push eax
xor eax, eax
pop eax
je 0x44163e
invalid
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x441650
mov eax, 0xc000000d
mov esp, ebp
pop ebp
ret 4
push eax
xor eax, eax
pop eax
je 0x441658
invalid
push 0xd
lea eax, [ebp + 0xb]
push 1
lea edx, [ebp - 8]
push eax
push edx
push ecx
mov byte [ebp + 0xb], 1
call dword [sym.imp.ntdll.dll_ZwSetInformationFile]
mov esp, ebp
pop ebp
ret 4
Function at 0x448450
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bdf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push eax
xor eax, eax
pop eax
je 0x448476
invalid
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jne 0x44848f
mov dword [0x104d5000], 0x104d5000
mov al, byte [0x4c8728]
push ebx
lea ecx, [ebp - 0x20]
mov byte [0x4c8ca1], 1
mov byte [ebp - 0x20], al
call fcn.004017b0
mov ecx, dword [0x491cd4]
push ecx
push ebx
push 0x4c8728
lea ecx, [ebp - 0x20]
call fcn.004094e0
mov edi, 0x4b0b48
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x491cd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 4], ebx
mov esi, ecx
mov ecx, dword [ebp - 0x18]
sub edx, ecx
cmp edx, esi
ja 0x4484e4
call fcn.00479494
cmp esi, ebx
jbe 0x448524
mov eax, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x20]
lea ebx, [eax + esi]
push ebx
call fcn.00401850
test al, al
je 0x448524
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov esi, 0x4b0b48
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20]
call fcn.004099d0
mov eax, dword [0x491cd4]
lea ecx, [ebp - 0x20]
push eax
push 0
push 0x4c8b60
call fcn.00412f80
mov edi, 0x4b0b48
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x18]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x491cd4]
sub ecx, edx
cmp ecx, esi
ja 0x44855e
call fcn.00479494
test esi, esi
jbe 0x44859f
mov edx, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x20]
lea ebx, [edx + esi]
push ebx
call fcn.00401850
test al, al
je 0x44859f
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov ecx, esi
mov esi, 0x4b0b48
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov byte [ecx + ebx], 0
mov edx, dword [0x491cd4]
lea ecx, [ebp - 0x20]
push edx
push 0
push 0x4c8c20
call fcn.00412f80
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4485c1
mov eax, 0x48d810
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4485d9
mov eax, 0x48d810
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x448612
mov al, byte [ecx - 1]
test al, al
je 0x448608
cmp al, 0xff
je 0x448608
dec al
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call fcn.00485078
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448915
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
mov ebx, dword [ebp + 0xc]
lea edi, [ebx + 4]
mov dword [ebp - 0x34], 0x10
xor eax, dword [edi]
mov dword [ebp - 0x2c], eax
push 0
push eax
push ebx
push 0
call fcn.00448960
add esp, 0x10
xor eax, esi
mov esi, dword [ebp - 0x2c]
add edi, 4
dec dword [ebp - 0x34]
jne 0x44892c
mov ecx, dword [ebx + 0x44]
xor ecx, eax
xor esi, dword [ebx + 0x48]
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
ret

Function at 0x448a95
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, 0x4a68a4
mov edi, dword [ebp + 0xc]
lea ecx, [edi + 0x4c]
mov edx, pe_nt_image_headers32
mov esi, dword [eax]
mov dword [ecx], esi
add eax, 4
add ecx, 4
dec edx
jne 0x448aa5
cmp eax, 0x4a78a4
jl 0x448aa0
xor ecx, ecx
mov esi, 0x4a685c
add edi, 4
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x3c], 4
xor ebx, ebx
mov bl, byte [ecx + edx]
shl eax, 8
or eax, ebx
inc ecx
cmp ecx, dword [ebp + 0x14]
jl 0x448ae1
xor ecx, ecx
dec dword [ebp - 0x3c]
jne 0x448acf
xor eax, dword [esi]
mov dword [edi], eax
add esi, 4
add edi, 4
cmp esi, 0x4a68a4
jl 0x448ac6
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp + 0xc]
lea esi, [ebx + 8]
mov edi, 9
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push ebx
push 0
call fcn.004488b0
add esp, 0x14
mov edx, dword [ebp - 0x24]
mov dword [esi - 4], edx
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
add esi, 8
dec edi
jne 0x448b0b
lea esi, [ebx + 0x50]
mov dword [ebp - 0x40], 4
mov edi, 0x80
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x24]
push edx
push ebx
push 0
call fcn.004488b0
add esp, 0x14
mov eax, dword [ebp - 0x24]
mov dword [esi - 4], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esi], ecx
add esi, 8
dec edi
jne 0x448b40
dec dword [ebp - 0x40]
jne 0x448b3b
ret

Function at 0x448db5
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx]
mov ebx, dword [ebp + 0xc]
lea edi, [ebx + 0x48]
mov dword [ebp - 0x34], 0x10
xor eax, dword [edi]
mov dword [ebp - 0x2c], eax
push 0
push eax
push ebx
push 0
call fcn.00448960
add esp, 0x10
xor eax, esi
mov esi, dword [ebp - 0x2c]
sub edi, 4
dec dword [ebp - 0x34]
jne 0x448dcc
mov ecx, dword [ebx + 8]
xor ecx, eax
xor esi, dword [ebx + 4]
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
ret
Function at 0x44e269
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, 0x4c4fa0
jmp 0x44e250
push 0xffffffffffffffff
push 0x48c0e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x49aa0c
mov al, byte [esp + 0xb]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [esi + 8], al
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov cl, byte [esp + 0xb]
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x18], cl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 2
call fcn.00454f10
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 3
call fcn.00454f10
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x4a7904
mov word [esi + 4], bx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], 0xffffffff
mov byte [esi + 0x30], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x450940
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48c37e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x49aa0c
mov al, byte [esp + 0x1c]
mov cl, byte [esp + 0x20]
mov dl, byte [esp + 0x1c]
xor ebx, ebx
mov byte [esi + 4], al
mov byte [esi + 5], cl
mov byte [esi + 0x20], dl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esp + 0x14], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 1
call fcn.00454f10
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 2
call fcn.00454f10
mov ecx, dword [esp + 0xc]
mov dword [esi], 0x4a7920
mov dword [esi + 8], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x454400
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x455220
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x48c6a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
lea ecx, [esp + 8]
lea eax, [esi + 8]
push eax
call fcn.00455010
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0
push esi
push 0x455370
push 0
push 0
call fcn.0042d76b
add esp, 0x18
test eax, eax
je 0x4552a3
cmp eax, 0xffffffff
je 0x4552a3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
lea ecx, [esp + 8]
inc eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esi + 4], eax
call fcn.00455050
mov al, 1
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call fcn.00455050
mov ecx, dword [esp + 0x10]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x45b990
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0xc]
push 0
push ecx
mov eax, dword [edi + eax*4 + 0x7c]
push edx
push eax
call dword [sym.imp.WSOCK32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45b9e2
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x45b9ca
pop edi
xor eax, eax
pop esi
ret
push eax
push edi
call fcn.00466420
push eax
mov eax, dword [edi]
push str.Send_failure:__s
push eax
call fcn.0045b7b0
add esp, 0x14
mov eax, esi
pop edi
pop esi
ret

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

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov eax, dword [ebp]
mov eax, dword [eax + 8]
test eax, eax
je 0x45bae4
push eax
call fcn.00466a00
add esp, 4
mov byte [esp + 0x14], 1
test al, al
jne 0x45bae9
mov byte [esp + 0x14], 0
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 0x80]
mov ebx, dword [esp + 0x24]
mov al, byte [esp + 0x14]
xor ecx, ecx
cmp edi, edx
sete cl
test al, al
mov esi, ecx
mov dword [ebx], 0
je 0x45bb7a
mov edx, dword [ebp + 0x4138]
mov eax, dword [ebp + 0x413c]
mov ecx, dword [esp + 0x20]
sub eax, edx
cmp eax, ecx
jb 0x45bb26
mov eax, ecx
test eax, eax
jbe 0x45bb63
mov edi, dword [esp + 0x1c]
mov ecx, eax
lea esi, [edx + ebp + 0x138]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x4138]
pop edi
add ecx, eax
mov byte [ebp + 0xd6], 0
mov dword [ebp + 0x4138], ecx
pop esi
mov dword [ebx], eax
pop ebp
xor eax, eax
pop ebx
ret
cmp ecx, 0x4000
mov eax, ecx
jb 0x45bb72
mov eax, 0x4000
lea ecx, [ebp + 0x138]
jmp 0x45bba7
mov eax, dword [ebp]
mov eax, dword [eax + 0x294]
test eax, eax
mov ecx, eax
jne 0x45bb8e
mov ecx, 0x4000
mov edx, dword [esp + 0x20]
cmp edx, ecx
jge 0x45bb9a
mov eax, edx
jmp 0x45bba3
test eax, eax
jne 0x45bba3
mov eax, 0x4000
mov ecx, dword [esp + 0x1c]
mov dl, byte [esi + ebp + 0x84]
test dl, dl
je 0x45bbca
push eax
push ecx
push esi
push ebp
call fcn.0045daf0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x45bbf9
pop edi
pop esi
pop ebp
or eax, eax
pop ebx
ret
mov edx, dword [ebp + 0x128]
test edx, edx
jne 0x45bbe4
push 0
push eax
push ecx
push edi
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
jne 0x45bbf9
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x45bc2d
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
test eax, eax
jl 0x45bc2d
mov cl, byte [esp + 0x14]
test cl, cl
je 0x45bc2b
mov edi, dword [esp + 0x1c]
mov ecx, eax
mov edx, ecx
lea esi, [ebp + 0x138]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x413c], eax
mov dword [ebp + 0x4138], eax
add dword [ebx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret