joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f79c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46bd2c]
cmp byte [eax + 0xc], 0
je 0x45f909
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f902
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46f5a4], 0
jne 0x45f7f0
push 0x45f910
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45f918
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5a4], eax
cmp dword [0x46b7e0], 0
jne 0x45f8eb
push 0x45f928
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46b7e0], eax
cmp dword [0x46b7e0], 0
je 0x45f8eb
push 0x45f934
mov eax, dword [0x46b7e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5a8], eax
push 0x45f944
mov eax, dword [0x46b7e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5ac], eax
push 0x45f958
mov eax, dword [0x46b7e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5b0], eax
push 0x45f970
mov eax, dword [0x46b7e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5b4], eax
push 0x45f988
mov eax, dword [0x46b7e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5b8], eax
push 0x45f99c
mov eax, dword [0x46b7e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5bc], eax
push 0x45f9b4
mov eax, dword [0x46b7e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5c0], eax
push 0x45f9cc
mov eax, dword [0x46b7e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5c4], eax
push 0x45f9e8
mov eax, dword [0x46b7e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5c8], eax
push 0x45f9f4
mov eax, dword [0x46b7e0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46f5cc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f909
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4648ac
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d78
mov eax, dword [ebp - 8]
call fcn.00404d78
xor eax, eax
push ebp
push 0x464976
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4648f9
mov eax, dword [ebp - 8]
call fcn.0040900c
test al, al
je 0x46495b
mov eax, dword [ebp - 8]
call fcn.00404d88
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x46495b
mov eax, dword [ebp - 8]
call fcn.00464734
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x464954
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x464929
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00404d88
mov edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46495b
mov eax, dword [ebp - 0xc]
call fcn.00403a98
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46497d
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048e8
ret

Function at 0x464e54
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464f37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004048c4
lea eax, [ebp - 0x114]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathA
mov dword [ebp - 0xc], eax
test byte [ebp - 9], 0x80
sete al
neg al
sbb eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x464ef6
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404b34
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x118]
call fcn.004086e0
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 8]
mov ecx, 0x464f4c
call fcn.00404bd4
jmp 0x464efe
mov eax, dword [ebp - 8]
call fcn.004048c4
lea edx, [ebp - 0x120]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004091d4
mov eax, dword [ebp - 0x120]
call fcn.00409054
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464f3e
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.004048e8
ret
Function at 0x464f50
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d78
mov eax, dword [ebp - 8]
call fcn.00404d78
xor eax, eax
push ebp
push 0x4650f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.004033d4
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x10
call fcn.004033d4
mov dword [ebp - 0x58], 0x44
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x465110
push dword [ebp - 4]
push 0x46511c
push dword [ebp - 8]
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.00404c48
mov eax, dword [ebp - 0x6c]
call fcn.00404d88
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xe], al
cmp byte [ebp - 0xe], 0
je 0x4650a1
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle
cmp byte [ebp + 8], 0
jne 0x465028
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 0xd], 1
jmp 0x4650d1
push 0
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, 0xffffffff
je 0x465047
dec eax
jne 0x46505d
mov byte [ebp - 0xd], 1
jmp 0x46505d
mov ecx, 0x465128
mov dl, 1
mov eax, dword [0x407a14]
call fcn.0040c89c
call fcn.0040430c
mov eax, dword [0x46bb9c]
mov eax, dword [eax]
call fcn.00448018
cmp byte [ebp - 0xd], 1
jne 0x465028
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x465096
mov ecx, 0x46513c
mov dl, 1
mov eax, dword [0x407a14]
call fcn.0040c89c
call fcn.0040430c
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x4650d1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
lea eax, [ebp - 0x7c]
push eax
push 1
mov ecx, 0x465158
mov dl, 1
mov eax, dword [0x407a14]
call fcn.0040c8d8
call fcn.0040430c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4650fb
lea eax, [ebp - 0x6c]
call fcn.004048c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048e8
ret
Function at 0x4663e4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4663ec
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4665ae
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
call fcn.0046614c
pop ecx
lea edx, [ebp - 0x18]
mov eax, 0x2b
call fcn.00464e54
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, 0x4665c4
call fcn.00404bd4
mov eax, dword [ebp - 8]
call fcn.00409054
push 0
lea eax, [ebp - 0x1c]
mov ecx, 0x4665d8
mov edx, dword [ebp - 8]
call fcn.00404bd4
mov eax, dword [ebp - 0x1c]
call fcn.00404d88
push eax
lea eax, [ebp - 0x24]
call fcn.00465660
push dword [ebp - 0x24]
push 0x4665f0
push 0x4665d8
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404c48
mov eax, dword [ebp - 0x20]
call fcn.00404d88
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0x28]
mov ecx, 0x466600
mov edx, dword [ebp - 8]
call fcn.00404bd4
mov eax, dword [ebp - 0x28]
call fcn.00404d88
push eax
lea eax, [ebp - 0x30]
call fcn.00465660
push dword [ebp - 0x30]
push 0x4665f0
push 0x466600
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00404c48
mov eax, dword [ebp - 0x2c]
call fcn.00404d88
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0x34]
mov ecx, 0x466618
mov edx, dword [ebp - 8]
call fcn.00404bd4
mov eax, dword [ebp - 0x34]
call fcn.00404d88
push eax
lea eax, [ebp - 0x3c]
call fcn.00465660
push dword [ebp - 0x3c]
push 0x4665f0
push 0x466618
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404c48
mov eax, dword [ebp - 0x38]
call fcn.00404d88
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x44]
mov ecx, 0x4665d8
mov edx, dword [ebp - 8]
call fcn.00404bd4
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004654a0
mov ecx, 0x466600
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 8]
call fcn.00404bd4
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004654a0
cmp byte [ebp - 1], 0
je 0x466586
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00465290
push 1
push 0x466630
push dword [ebp - 8]
push 0x466618
push 0x466630
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.00404c48
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00464f50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4665b5
lea eax, [ebp - 0x50]
mov edx, 0x10
call fcn.004048e8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004048e8
ret
Function at 0x467234
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d78
xor eax, eax
push ebp
push 0x4672f0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
call fcn.00464a78
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 1
mov eax, 0x467304
call fcn.00409e3c
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
call fcn.00404bd4
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404d88
push eax
mov eax, dword [ebp - 8]
call fcn.00404d88
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004654a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4672f7
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004048e8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004048e8
ret

Function at 0x4681d4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x46830f
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4682ea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x105
lea eax, [ebp - 0x119]
push eax
lea eax, [ebp - 0x120]
mov dl, byte [ebp - 1]
call fcn.00404aac
lea eax, [ebp - 0x120]
mov edx, 0x468324
call fcn.00404b90
mov eax, dword [ebp - 0x120]
call fcn.00404d88
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x468287
lea eax, [ebp - 0x119]
call fcn.00409738
mov ecx, eax
lea edx, [ebp - 0x119]
mov eax, dword [ebp - 8]
call fcn.004049b4
jmp 0x46828f
mov eax, dword [ebp - 8]
call fcn.004048c4
cmp byte [ebp - 1], 0x61
jae 0x4682b5
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040d6dc
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 8]
call fcn.00404918
jmp 0x4682d3
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040d648
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 8]
call fcn.00404918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4682f1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x468328
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4683d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov al, byte [ebp - 1]
mov byte [ebp - 0x18], al
mov byte [ebp - 0x14], 2
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x4683e8
call fcn.00409e3c
mov eax, dword [ebp - 8]
call fcn.00404d88
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
sete byte [ebp - 2]
cmp byte [ebp - 2], 0
je 0x4683b4
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x1c]
mov al, byte [ebp - 1]
call fcn.004681d4
pop ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4683ac
mov eax, dword [ebp - 0x10]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
setg byte [ebp - 2]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4683d9
lea eax, [ebp - 0x1c]
call fcn.004048c4
lea eax, [ebp - 8]
call fcn.004048c4
ret
Function at 0x404452
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404491
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404491
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404491
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404491
cmp dword [ecx + 0x74], 0xe
jbe 0x404491
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100020b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100620d0
push 0x10032c40
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10065040]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov dl, 0x77
mov dword [ebp - 0x34], 0x12040277
mov dword [ebp - 0x30], 0x59454405
mov dword [ebp - 0x2c], 0x1b1b13
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0xa
jae 0x1000211b
mov al, byte [ebp + ecx - 0x33]
xor al, dl
mov byte [ebp + ecx - 0x33], al
inc ecx
mov dl, byte [ebp - 0x34]
jmp 0x10002103
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x33]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
mov ebx, eax
mov dl, 0x13
mov dword [ebp - 0x54], 0x61767813
mov dword [ebp - 0x50], 0x207f767d
mov dword [ebp - 0x4c], 0x7f773d21
mov word [ebp - 0x48], 0x7f
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 0xc
jae 0x10002164
mov al, byte [ebp + ecx - 0x53]
xor al, dl
mov byte [ebp + ecx - 0x53], al
inc ecx
mov dl, byte [ebp - 0x54]
jmp 0x1000214c
mov byte [ebp - 0x47], 0
lea eax, [ebp - 0x53]
push eax
call esi
mov edi, eax
mov dl, 0x2a
mov dword [ebp - 0x44], 0x44436c2a
mov dword [ebp - 0x40], 0x44437d4e
mov dword [ebp - 0x3c], 0x6b5d454e
mov byte [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp ecx, 0xb
jae 0x100021a5
mov al, byte [ebp + ecx - 0x43]
xor al, dl
mov byte [ebp + ecx - 0x43], al
inc ecx
mov dl, byte [ebp - 0x44]
jmp 0x1000218d
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x43]
push eax
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x101c1d88], eax
movaps xmm0, xmmword [0x100608b0]
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x58], 0x53
xor ecx, ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x10
jae 0x100021e4
mov al, byte [ebp + ecx - 0x67]
xor al, byte [ebp - 0x68]
mov byte [ebp + ecx - 0x67], al
inc ecx
jmp 0x100021ce
mov byte [ebp - 0x57], 0
lea eax, [ebp - 0x67]
push eax
push edi
call esi
mov dword [0x101c1eec], eax
cmp dword [0x101c1d88], 0
je 0x10002201
test eax, eax
jne 0x10002218
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
push edi
call esi
jmp 0x10002218
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002240
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100620f0
push 0x10032c40
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10065040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [0x101c30a4]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 6
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x10004b30
sub eax, esi
sub eax, 5
mov byte [esi], 0xe9
mov dword [esi + 1], eax
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, 6
jae 0x100022b6
mov byte [esi + eax], 0x60
inc eax
jmp 0x100022a7
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 6
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100022d1
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002eb4c
mov esp, ebp
pop ebp
ret

Function at 0x10002300
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov cl, 1
mov byte [ebp - 0x16], 0
mov bh, 0x2b
mov byte [ebp - 0x18], cl
mov al, 0x76
mov byte [ebp - 8], 0
xor al, cl
mov byte [ebp - 0x16], 0
mov cl, 0x64
mov byte [ebp - 0x17], al
mov bl, cl
mov byte [ebp - 0x10], bh
mov al, 0x68
mov byte [ebp - 8], 0
mov dl, 0x65
mov ah, 0x7e
mov ch, 0x7f
mov dh, 0xf
xor al, bh
xor cl, bh
xor dl, bh
mov byte [ebp - 0xf], al
xor ah, bh
mov byte [ebp - 0xe], cl
xor ch, bh
mov byte [ebp - 0xd], dl
xor dh, bh
mov byte [ebp - 0xb], ah
xor bl, bh
mov byte [ebp - 0xa], ch
push 1
mov byte [ebp - 0xc], bl
mov byte [ebp - 9], dh
call fcn.10039396
add esp, 4
push eax
lea eax, [ebp - 0x17]
push eax
lea eax, [ebp - 0xf]
push eax
call fcn.100361e5
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x320
push 0x1f4
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x1005bfbc
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1002eb4c
mov esp, ebp
pop ebp
ret
Function at 0x100023d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10062110
push 0x10032c40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10065040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov bl, dl
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edi], bl
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000243d
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002eb4c
mov esp, ebp
pop ebp
ret

Function at 0x10002460
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10062130
push 0x10032c40
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10065040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [edi], ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100024cd
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002eb4c
mov esp, ebp
pop ebp
ret

Function at 0x10002580
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [ecx], 0xcccccccc
je 0x100025aa
nop dword [eax + eax]
inc esi
cmp dword [ecx + esi], 0xcccccccc
jne 0x100025a0
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002eb4c
mov esp, ebp
pop ebp
ret
Function at 0x100025d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 0x10], 0x48
mov al, 0x26
xor al, byte [ebp - 0x10]
mov bl, 0x24
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x2c
mov bh, ah
mov byte [ebp - 1], ah
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
mov byte [ebp - 6], 0
xor bl, al
mov byte [ebp - 0xd], dl
xor ah, al
mov byte [ebp - 0xc], bl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 9], dh
mov cl, 0x3c
mov byte [ebp - 8], bh
xor cl, al
mov ch, 0x66
xor ch, al
mov byte [ebp - 0xe], cl
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x10]
mov byte [ebp - 7], al
lea eax, [ebp - 0xf]
push eax
mov byte [ebp - 0xa], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movaps xmm0, xmmword [0x10060c80]
mov edx, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x727a5273
xor eax, eax
mov dword [ebp - 0x14], 0x666d70
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x10002652
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101c1e20], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002680
Capabilities:
Resolve dns
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x10065040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1000278b
movsx ecx, word [eax + 0xa]
xorps xmm0, xmm0
mov eax, dword [eax + 0xc]
push ecx
movups xmmword [ebp - 0x48], xmm0
push dword [eax]
lea eax, [ebp - 0x44]
push eax
call fcn.10032ec0
add esp, 0xc
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000278b
push dword [ebp - 0x44]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [0x1005bfc8]
movq xmm0, qword [str.Data_Buffer]
push 0x3e8
push 0x28
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0xc
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
push ecx
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
je 0x10002768
push ebx
push esi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
push 0x14
call fcn.1002ef6c
push dword [ebp - 0x30]
mov esi, eax
mov byte [ebp - 0x4c], 0
mov al, 0x2e
mov byte [ebp - 0x4c], 0
mov cl, 0xb
mov byte [ebp - 0x50], al
mov dl, 0x42
mov bl, 0x4a
xor cl, al
xor dl, al
xor bl, al
mov byte [ebp - 0x4f], cl
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x4e], dl
push eax
push esi
mov byte [ebp - 0x4d], bl
call fcn.100012e0
add esp, 0x10
mov eax, esi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002eb4c
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
push 0xc
call fcn.1002ef6c
add esp, 4
lea eax, [ebp - 0x4f]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002eb4c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x1005bf3d
xor ecx, ebp
pop esi
call fcn.1002eb4c
mov esp, ebp
pop ebp
ret