joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004f470
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2d68
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x40]
push eax
call fcn.10052390
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10039400
movzx ecx, al
test ecx, ecx
je 0x1004f4d8
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10012470
mov eax, dword [ebp - 0x68]
jmp 0x1004f62e
lea ecx, [ebp - 0x58]
call fcn.100125c0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
push edx
call fcn.10051d10
add esp, 4
cmp eax, 0xffffffff
jne 0x1004f51f
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10012470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10012470
mov eax, dword [ebp - 0x6c]
jmp 0x1004f62e
lea ecx, [ebp - 0x28]
call fcn.100125c0
mov byte [ebp - 4], 2
push 4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.10050fb0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1004f57c
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10012470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10012470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10012470
mov eax, dword [ebp - 0x70]
jmp 0x1004f62e
lea eax, [ebp - 0x28]
push eax
call fcn.1004fc90
add esp, 4
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0
jne 0x1004f59f
call fcn.1005e290
mov dword [ebp - 0x60], eax
jmp 0x1004f5ac
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x74], edx
push 0
push 0
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.100546f0
add esp, 0x10
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x5c], 0
je 0x1004f5db
push 0
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0x64], 0
jne 0x1004f5f2
lea ecx, [ebp - 0x28]
call fcn.10012400
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1004f5fe
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.10012450
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10012470
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10012470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10012470
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret
Function at 0x10050fb0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2ec6
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.100a57f0
add esp, 0xc
lea ecx, [ebp - 0x12c]
call fcn.100125c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.10051e50
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.10039400
movzx eax, al
test eax, eax
je 0x10051069
mov dword [ebp - 0x148], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.10012470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10012470
mov eax, dword [ebp - 0x148]
jmp 0x1005114e
lea ecx, [ebp - 0x12c]
call fcn.10039400
movzx ecx, al
test ecx, ecx
je 0x1005108e
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1005e090
add esp, 8
lea ecx, [ebp - 0x12c]
call fcn.10012400
push eax
lea ecx, [ebp - 0x144]
call fcn.10012400
push eax
push 0x100e9768
push 0x103
lea ecx, [ebp - 0x114]
push ecx
call fcn.1004db60
add esp, 0x14
push 1
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp + 8]
call fcn.10012400
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1005111d
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.10022ed0
mov dword [ebp - 0x14c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.10012470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10012470
mov eax, dword [ebp - 0x14c]
jmp 0x1005114e
mov dword [ebp - 0x150], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.10012470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10012470
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret
Function at 0x10051170
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2efb
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x378], 0xffffffff
mov dword [ebp - 0x374], 0xffffffff
mov dword [ebp - 0x370], 0
push 0x13c
push 0
lea eax, [ebp - 0x36c]
push eax
call fcn.100a57f0
add esp, 0xc
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.100a57f0
add esp, 0xc
push 0x100e980c
mov ecx, dword [ebp + 8]
call fcn.10012400
push eax
push str.__s_s
push 0x103
lea edx, [ebp - 0x114]
push edx
call fcn.1004db60
add esp, 0x14
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0xffffffff
jne 0x1005123b
jmp 0x1005132e
mov edx, 1
test edx, edx
je 0x1005132e
mov eax, dword [ebp - 0x370]
and eax, 0x10
jne 0x100512f9
lea ecx, [ebp - 0x344]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10012400
push eax
call fcn.10051430
add esp, 8
test eax, eax
je 0x100512f9
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea edx, [ebp - 0x217]
push edx
call fcn.100a57f0
add esp, 0xc
lea eax, [ebp - 0x344]
push eax
mov ecx, dword [ebp + 8]
call fcn.10012400
push eax
push 0x100e981c
push 0x103
lea ecx, [ebp - 0x218]
push ecx
call fcn.1004db60
add esp, 0x14
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.10012560
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x101466ac
call fcn.1004d440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.10012470
push 0x140
push 0
lea ecx, [ebp - 0x370]
push ecx
call fcn.100a57f0
add esp, 0xc
lea edx, [ebp - 0x370]
push edx
mov eax, dword [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10051329
jmp 0x1005132e
jmp 0x1005123b
cmp dword [ebp - 0x374], 0xffffffff
je 0x10051344
mov ecx, dword [ebp - 0x374]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret
Function at 0x10051910
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2fcb
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.10039400
movzx eax, al
test eax, eax
je 0x1005194f
jmp 0x10051a8e
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.100a57f0
add esp, 0xc
mov dword [ebp - 0x26c], 0
push 0x13c
push 0
lea edx, [ebp - 0x268]
push edx
call fcn.100a57f0
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.10012400
push eax
push str.__s
push 0x103
lea eax, [ebp - 0x114]
push eax
call fcn.1004db60
add esp, 0x10
push 0
push 0
push 1
lea ecx, [ebp - 0x26c]
push ecx
push 0
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExA]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
je 0x10051a8e
mov eax, dword [ebp - 0x26c]
and eax, 0x10
je 0x10051a5a
mov ecx, dword [ebp - 0x26c]
and ecx, 0x4403
jne 0x10051a5a
mov edx, 1
imul eax, edx, 0
movsx ecx, byte [ebp + eax - 0x240]
cmp ecx, 0x2e
je 0x10051a5a
mov edx, 1
imul eax, edx, 0
movsx ecx, byte [ebp + eax - 0x240]
cmp ecx, 0x24
je 0x10051a5a
lea edx, [ebp - 0x240]
push edx
lea ecx, [ebp - 0x12c]
call fcn.10012560
mov dword [ebp - 4], 0
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.1004d440
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.10012470
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10051a74
jmp 0x10051a81
mov eax, 1
test eax, eax
jne 0x100519dd
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret
Function at 0x10051ab0
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3021
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea eax, [ebp - 0x11b]
push eax
call fcn.100a57f0
add esp, 0xc
push 0x100e9740
lea ecx, [ebp - 0x33c]
call fcn.10012560
mov dword [ebp - 4], 0
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x10051b50
push str._HOMEDRIVE__
lea ecx, [ebp - 0x354]
call fcn.10012560
mov byte [ebp - 4], 1
lea edx, [ebp - 0x33c]
push edx
lea eax, [ebp - 0x354]
push eax
call fcn.1005e310
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x354]
call fcn.10012470
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeA]
mov dword [ebp - 0x370], eax
cmp dword [ebp - 0x370], 0xffffffff
je 0x10051ce4
mov byte [ebp - 0x18], 0
xor edx, edx
mov dword [ebp - 0x17], edx
mov word [ebp - 0x13], dx
mov byte [ebp - 0x11], dl
mov dword [ebp - 0x374], 0
lea eax, [ebp - 0x374]
push eax
push 8
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameA]
test eax, eax
je 0x10051c95
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x10051c95
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x10051bec
lea ecx, [ebp - 0x33c]
call fcn.10012400
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.100adfd8
add esp, 8
test eax, eax
je 0x10051c95
mov byte [ebp - 0x324], 0
push 0x103
push 0
lea eax, [ebp - 0x323]
push eax
call fcn.100a57f0
add esp, 0xc
mov byte [ebp - 0x220], 0
push 0x103
push 0
lea ecx, [ebp - 0x21f]
push ecx
call fcn.100a57f0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x378]
push eax
push 0
push 0
push 0x104
lea ecx, [ebp - 0x324]
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x10051c95
mov eax, dword [ebp - 0x378]
and eax, 0x80000
jne 0x10051c95
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x36c]
call fcn.10012560
mov byte [ebp - 4], 2
lea edx, [ebp - 0x36c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1004d440
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x36c]
call fcn.10012470
push 0x104
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.100a57f0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x370]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeA]
test eax, eax
jne 0x10051cca
jmp 0x10051cd7
mov eax, 1
test eax, eax
jne 0x10051b75
mov ecx, dword [ebp - 0x370]
push ecx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x33c]
call fcn.10012470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret
Function at 0x10053480
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e329c
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1013dd8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.10053440
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10053440
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.100125c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.1004aa30
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x58
call fcn.10012450
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov cx, word [eax + 2]
mov word [edx + 0x72], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx + 0x70], cl
call fcn.10069380
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
push str.119.29.29.29
push 0x27e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call fcn.10069440
add esp, 0xc
push 5
push 0x4e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call fcn.10069440
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
push 0x2711
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call fcn.10069440
add esp, 0xc
push 0x10053e50
push 0x4e2b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call fcn.10069440
add esp, 0xc
push 0
push 0x40
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call fcn.10069440
add esp, 0xc
push 0x100e9864
push 0x27c1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call fcn.10069440
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10054ea0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x10054ec5
xor eax, eax
jmp 0x10054f05
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx], 0x4550
je 0x10054ee0
xor eax, eax
jmp 0x10054f05
mov eax, 0x8664
mov ecx, dword [ebp - 4]
mov word [ecx + 4], ax
mov edx, 0x8664
test edx, edx
je 0x10054eff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
jmp 0x10054f05
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x10055970
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x1c]
push edx
push 0x10055a20
call fcn.1005b400
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100559c9
xor al, al
jmp 0x10055a14
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100559ef
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xc]
jmp 0x10055a14
push str.injectAndBoostrapWithNewThread_wait_timeout_or_fail__
call fcn.1005b550
add esp, 4
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x10055fd0
Capabilities:
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3468
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x100e9b7e
lea ecx, [ebp - 0x28]
call fcn.10012560
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x28]
push eax
call fcn.1004f470
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1005603e
push str.create_zombie_process_fail
call fcn.1005b550
add esp, 4
jmp 0x10056128
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
lea ecx, [ebp - 0x28]
call fcn.10012400
push eax
push str.zombie_process_launched__s__d_
call fcn.1005b550
add esp, 0xc
mov dword [ebp - 0x38], 0
push 2
push 0
push 0
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1005609e
push 0x100e9d20
call fcn.1005b550
add esp, 4
jmp 0x10056128
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push str.injecting_into__d
call fcn.1005b550
add esp, 8
mov edx, dword [ebp + 8]
push edx
push 1
mov eax, dword [ebp - 0x38]
push eax
call fcn.10050a40
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x100560de
push 0x100e9d4c
call fcn.1005b550
add esp, 4
jmp 0x10056128
push 0x7d0
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1005611c
mov dword [ebp - 0x3c], 0xffffffff
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [ebp - 0x3c]
push edx
push str.exited_with_code0x_08X
call fcn.1005b550
add esp, 8
jmp 0x10056128
mov byte [ebp - 0x29], 1
xor eax, eax
jne 0x10056017
cmp dword [ebp - 0x30], 0
je 0x1005614c
movzx ecx, byte [ebp - 0x29]
test ecx, ecx
jne 0x10056142
push 0
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, byte [ebp - 0x29]
test ecx, ecx
jne 0x10056172
lea ecx, [ebp - 0x28]
call fcn.10039400
movzx edx, al
test edx, edx
jne 0x10056172
lea ecx, [ebp - 0x28]
call fcn.10012400
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov al, byte [ebp - 0x29]
mov byte [ebp - 0x31], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10012470
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret
Function at 0x100561b0
Capabilities:
Get system information on windows
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa8], 0
push 0x90
push 0
lea eax, [ebp - 0xa4]
push eax
call fcn.100a57f0
add esp, 0xc
mov dword [ebp - 0x25c], 0
xor ecx, ecx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], ecx
xor edx, edx
mov word [ebp - 0x14], dx
xor eax, eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
xor ecx, ecx
mov word [ebp - 0x238], cx
push 0x18e
push 0
lea edx, [ebp - 0x236]
push edx
call fcn.100a57f0
add esp, 0xc
mov dword [ebp - 0xa8], 0x94
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edx, dword [ebp - 0xa4]
mov dword [0x101466c0], edx
mov eax, dword [ebp - 0xa0]
mov dword [0x101466c4], eax
movzx ecx, word [ebp - 0x25c]
mov dword [0x101466c8], ecx
push 1
call fcn.1005c730
add esp, 4
lea edx, [ebp - 0x238]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x101466cc
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret
Function at 0x1005acf0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3808
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x3a], eax
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x3a], 0xffffffff
jne 0x1005ad3d
xor al, al
jmp 0x1005ae6a
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov word [ebp - 0x12], cx
mov edx, 2
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x38]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov dword [ebp - 0x1c], 0
push 0x10
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x3a]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1005adae
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x38]
push eax
push str.bind_to_0.0.0.0:_d_fail___err0x_08x
call fcn.1005b550
add esp, 0xc
xor al, al
jmp 0x1005ae6a
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], 0x100594d0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.10057cd0
add esp, 0xc
push eax
lea ecx, [ebp - 0x3c]
call fcn.10056680
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10059790
mov edx, 1
test edx, edx
je 0x1005ae54
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.100adf55
add esp, 4
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov ecx, 0x2710
div ecx
add edx, 0x5000
mov dword [ebp - 0x2c], edx
push 0
mov edx, dword [ebp - 0x24]
push edx
push 0x1005a5d0
push 0
push 0
movzx eax, word [ebp - 0x2c]
push eax
push 8
call fcn.10003410
add esp, 0x1c
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
je 0x1005ae52
mov eax, dword [ebp - 0x24]
mov cx, word [ebp - 0x2c]
mov word [eax + 0x3e], cx
jmp 0x1005ae54
jmp 0x1005ade7
mov byte [ebp - 0x25], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.10058870
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret