joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012904
Capabilities:
Create thread

Disassembly:
push 0x2c
mov eax, 0x10048cc6
call fcn.10023083
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x100129b2
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1004e8b1
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], eax
call fcn.10001f3a
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x38]
push eax
sete al
movzx eax, al
push eax
call fcn.10010b5d
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.100025e9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
call fcn.10010bee
mov dword [esi], vtable._01::RunnableThread.0
mov dword [esi + 0xc], 0x1000ece9
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov dword [esi + 0x14], ebx
mov eax, esi
call fcn.1002315b
ret

Function at 0x10012a26
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x10047cd8
call fcn.10023083
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x10012a40
mov eax, dword [eax + 4]
jmp 0x10012a43
add eax, 4
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
mov esi, eax
cmp esi, 1
je 0x10012a67
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x10012a63
cmp eax, 0x79
jne 0x10012a67
xor al, al
jmp 0x10012a9b
push 0x1004e8b1
lea ecx, [ebp - 0x28]
call fcn.10001f3a
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
cmp esi, 1
setne al
movzx eax, al
push eax
call fcn.10010b5d
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.100025e9
mov al, 1
call fcn.1002315b
ret

Function at 0x10012aa1
Capabilities:
Create pipe

Disassembly:
push 0x38
mov eax, 0x10048ca3
call fcn.10023083
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp dword [eax + 0x18], 8
mov dword [ebp + 0xc], edi
jb 0x10012ac0
mov eax, dword [eax + 4]
jmp 0x10012ac3
add eax, 4
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x1c]
push dword [ebp + 0x20]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, 0x1004e8b1
push esi
lea ecx, [ebp - 0x28]
mov ebx, eax
call fcn.10001f3a
lea eax, [ebp - 0x28]
push eax
cmp ebx, edi
sete al
movzx eax, al
push eax
mov dword [ebp - 4], edi
call fcn.10010b5d
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push edi
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x28]
call fcn.100025e9
push esi
lea ecx, [ebp - 0x44]
call fcn.10001f3a
lea eax, [ebp - 0x44]
push eax
cmp ebx, 0xffffffff
sete al
movzx eax, al
push eax
mov dword [ebp - 4], edi
call fcn.10010b5d
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
xor esi, esi
push esi
push edi
lea ecx, [ebp - 0x44]
call fcn.100025e9
push 8
call fcn.1001f3d6
pop ecx
cmp eax, esi
je 0x10012b65
mov dword [eax], vtable._01::SafeHandle.0
mov dword [eax + 4], ebx
mov dword [eax], vtable._01::Pipe.0
mov esi, eax
mov edi, dword [ebp + 8]
push esi
lea ecx, [edi + 4]
mov dword [edi], esi
call fcn.10012e3a
push esi
push esi
push edi
call fcn.1000ece8
add esp, 0xc
mov eax, edi
call fcn.1002315b
ret
Function at 0x10013307
Capabilities:
Create thread

Disassembly:
push 0x30
mov eax, 0x10048bc2
call fcn.10023083
lea eax, [ebp - 0x14]
push eax
xor esi, esi
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0x1004e8b1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], eax
call fcn.10001f3a
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
lea eax, [ebp - 0x3c]
push eax
sete al
movzx eax, al
push eax
call fcn.10010b5d
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.100025e9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
call fcn.10010bee
mov dword [edi], vtable._01::RemoteThread.0
mov eax, edi
call fcn.1002315b
ret 0xc

Function at 0x10013526
Capabilities:
Create http request

Disassembly:
push 0x20
mov eax, 0x10048b51
call fcn.10023083
mov edi, ecx
mov esi, edx
call fcn.10013867
mov esi, dword [ebp + 8]
mov ebx, eax
call fcn.10013867
cmp dword [edi + 0x18], 8
jb 0x10013550
mov edi, dword [edi + 4]
jmp 0x10013553
add edi, 4
xor esi, esi
push esi
push eax
push ebx
push esi
push edi
call dword [sym.imp.WININET.dll_InternetOpenW]
push 0x1004e8b1
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.10001f3a
lea eax, [ebp - 0x28]
push eax
cmp edi, esi
sete al
movzx eax, al
push eax
mov dword [ebp - 4], esi
call fcn.10010b5d
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.100025e9
mov eax, edi
call fcn.1002315b
ret

Function at 0x100135d1
Capabilities:
Connect to http server

Disassembly:
push 0x1c
mov eax, 0x10047cd8
call fcn.10023083
mov edi, ecx
mov esi, edx
call fcn.10013867
mov esi, dword [ebp + 0xc]
mov ebx, eax
call fcn.10013867
cmp dword [edi + 0x18], 8
jb 0x100135fb
mov edi, dword [edi + 4]
jmp 0x100135fe
add edi, 4
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
xor esi, esi
push esi
push esi
push 3
push eax
push ebx
push 0x50
push edi
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
push 0x1004e8b1
lea ecx, [ebp - 0x28]
mov edi, eax
call fcn.10001f3a
lea eax, [ebp - 0x28]
push eax
cmp edi, esi
sete al
movzx eax, al
push eax
mov dword [ebp - 4], esi
call fcn.10010b5d
pop ecx
pop ecx
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.100025e9
mov eax, edi
call fcn.1002315b
ret
Function at 0x10013a62
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [eax + 0x34]
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
push edi
jle 0x10013a96
movzx edi, cl
push ebx
mov edx, dword [eax + 0x260]
mov ebx, edx
shr ebx, 0x18
xor ebx, edi
shl edx, 8
xor edx, dword [ebx*4 + 0x1005bf68]
inc esi
mov dword [eax + 0x260], edx
cmp esi, dword [eax + 0x38]
jl 0x10013a72
pop ebx
mov edx, dword [eax + 0x34]
mov byte [eax + edx + 0x58], 1
mov edx, dword [eax + 0x38]
mov esi, edx
dec esi
je 0x10013b2f
dec esi
je 0x10013b16
dec esi
je 0x10013af6
mov byte [edx + eax + 0x54], 1
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [edx + esi], cl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [edx + esi], cl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [edx + esi], cl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [edx + esi], cl
inc dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
sub dl, 4
mov byte [ecx + esi], dl
jmp 0x10013b38
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [edx + esi], cl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [edx + esi], cl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
jmp 0x10013b35
mov edi, dword [eax + 0x24]
lea edx, [eax + 0x44]
mov esi, dword [edx]
mov byte [esi + edi], cl
inc dword [edx]
mov esi, dword [edx]
mov eax, dword [eax + 0x24]
mov byte [esi + eax], cl
inc dword [edx]
jmp 0x10013b3b
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x44]
mov byte [edx + esi], cl
inc dword [eax + 0x44]
pop edi
pop esi
ret
Function at 0x1001b7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10046423
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1005a760]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov edx, 7
xor ecx, ecx
xor esi, esi
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], ecx
mov word [eax + 4], si
mov dword [eax + 0x34], edx
xor edx, edx
mov dword [eax + 0x30], ecx
mov word [eax + 0x20], dx
mov dword [eax + 0x50], 0xf
mov dword [eax + 0x4c], ecx
mov byte [eax + 0x3c], cl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1001c550
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10046658
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1005a760]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.10001f00
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
xor edx, edx
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov dword [esp + 0x24], edx
mov byte [ecx + 4], dl
call fcn.100023cd
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x1001f290
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005a760]
jne 0x1001f29a
repz ret
jmp fcn.1002687f

Function at 0x10031acc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10026e7f
and dword [ebp - 4], 0
cmp dword [0x1005eabc], 0
mov ebx, eax
jne 0x10031b7d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10031c2e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10031c2e
push eax
call fcn.10026e0d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1005eabc], eax
call esi
push eax
call fcn.10026e0d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1005eac0], eax
call esi
push eax
call fcn.10026e0d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1005eac4], eax
call esi
push eax
call fcn.10026e0d
pop ecx
mov dword [0x1005eacc], eax
test eax, eax
je 0x10031b7d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10026e0d
pop ecx
mov dword [0x1005eac8], eax
mov eax, dword [0x1005eac8]
cmp eax, ebx
je 0x10031bd5
cmp dword [0x1005eacc], ebx
je 0x10031bd5
push eax
call fcn.10026e88
push dword [0x1005eacc]
mov esi, eax
call fcn.10026e88
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10031bd5
test edi, edi
je 0x10031bd5
call esi
test eax, eax
je 0x10031bcc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10031bcc
test byte [ebp - 0xc], 1
jne 0x10031bd5
or dword [ebp + 0x10], 0x200000
jmp 0x10031c0e
mov eax, dword [0x1005eac0]
cmp eax, ebx
je 0x10031c0e
push eax
call fcn.10026e88
pop ecx
test eax, eax
je 0x10031c0e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10031c0e
mov eax, dword [0x1005eac4]
cmp eax, ebx
je 0x10031c0e
push eax
call fcn.10026e88
pop ecx
test eax, eax
je 0x10031c0e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1005eabc]
call fcn.10026e88
pop ecx
test eax, eax
je 0x10031c2e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10031c30
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000113f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1000114e
pop dword [ebp - 0x48]
mov eax, 0x1000114e
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x9e414a9
sub dword [ebp - 0x58], 0xbb91cf5e
mov dword [ebp - 0x54], 0xc4937dec
add dword [ebp - 0x54], 0x6d9fce59
mov dword [ebp - 0x50], 0x938b327e
add dword [ebp - 0x50], 0xb8c111b0
mov dword [ebp - 0x4c], 0x7fbbf65
sub dword [ebp - 0x4c], 0x7fbbf65
lea eax, [ebp - 0x58]
push eax
mov eax, 0x81752a9e
add eax, 0x8e8b05aa
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xd2881700
sub dword [ebp - 0x58], 0x5e15adaa
mov dword [ebp - 0x54], 0x1886141e
sub dword [ebp - 0x54], 0xd719b2a9
mov dword [ebp - 0x50], 0xc798110d
add dword [ebp - 0x50], 0x9bd75b5f
mov dword [ebp - 0x4c], 0x3f53e7de
sub dword [ebp - 0x4c], 0x3f53e7de
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x2f9acd11
add eax, 0xe06562ef
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x36e02
push 0
call eax
mov ecx, 0x497e
xor edi, edi
add edi, eax
mov ebx, 0xdf55c067
sub ebx, 0xcf555e67
add ebx, dword [ebp - 0x48]
mov esi, 0x6d309833
sub esi, 0xf821d8a0
sub dword [ebp - 0x14], 0x1947fe4d
mov edx, dword [ebx]
xor dword [ebp - 0x10], edi
xor edx, esi
sub dword [ebp - 0x1c], 0x83882af6
mov dword [edi], edx
sub dword [ebp - 0x34], esi
add edi, 4
add ebx, 0x10a926e6
add ebx, 0xef56d91e
loop 0x10001267
add eax, 0x118cb
mov ebx, eax
add eax, 0x43148e5d
sub eax, 0x43148e58
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x10001822
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x1000182c
repz ret
jmp fcn.10001bc2
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40330d
Capabilities:
Parse pe header

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x4ab5d8]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
test eax, eax
je 0x403780
mov eax, dword [eax + 0x2c]
test byte [edi], 1
mov esi, dword [eax + 4]
je 0x40378e
cmp ecx, 1
mov eax, 2
sbb eax, 0xffffffff
lea edx, [edi + 8]
call fcn.004029b0
mov ebx, eax
cmp eax, 0xffffffff
je 0x4036f7
cmp dword [edi + 0x18], 0xffffffff
je 0x403710
lea eax, [esp + 0x18]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
lea eax, [edi + 0x18]
mov dword [esp], eax
call fcn.0041e2d0
test eax, eax
je 0x403700
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
add eax, 0xffffffff
mov ecx, dword [esp + 0x10]
adc edx, 0xffffffff
and ecx, eax
mov eax, dword [esp + 0x14]
and edx, eax
mov eax, edx
or eax, ecx
jne 0x4037d0
xor edx, edx
cmp esi, dword [esp + 0x10]
mov ecx, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sbb ecx, edx
jb 0x4037d0
mov esi, eax
lea eax, [esi - 1]
and eax, dword [edi + 8]
je 0x403710
mov dword [esp], str.Watchpoint_on_unaligned_address_is_not_supported_n
call fcn.004218d0
lea eax, [ebx + ebx*2]
shl eax, 4
mov ecx, dword [0x4ab5d8]
add eax, ecx
mov ebx, dword [eax + 0x50]
and ebx, 7
mov word [eax + 0x50], bx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], esi
mov dword [esp], str.Cannot_get_watch_size__defaulting_to__lu_n
call fcn.004218d0
lea edi, [ebx + ebx*2]
mov eax, dword [0x4ab5d8]
shl edi, 4
dec esi
and esi, 3
lea edx, [eax + edi + 0x50]
mov cl, byte [edx + 8]
and ecx, 0xfffffffc
or ecx, esi
mov byte [edx + 8], cl
lea edx, [eax + edi + 0x60]
mov eax, ebx
call fcn.00402ba0
test eax, eax
je 0x4037a8
mov dword [esp + 4], ebx
mov dword [esp], str.Watchpoint__d_at
call fcn.004218d0
mov eax, dword [0x4ab5d8]
lea eax, [eax + edi + 0x40]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.004146d0
mov dword [ebp + 8], 0x43a702
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004218d0
test byte [edi], 1
mov esi, 4
jne 0x40363e
mov dword [ebp + 8], str.Cannot_set_a_watch_point_on_register_or_register_based_variable_n
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.004218d0
mov dword [esp], str.Bad_address._Watchpoint_not_set_n
call fcn.004218d0
mov eax, dword [0x4ab5d8]
add edi, eax
mov edx, dword [edi + 0x50]
and edx, 7
mov word [edi + 0x50], dx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xc], esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], str.Unsupported_length___I64x__for_watch_points__defaulting_to__lu_n
call fcn.004218d0
jmp 0x4036cb
Function at 0x403ad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test eax, eax
jle 0x403b18
mov edx, dword [0x4ab5d8]
cmp dword [edx + 0x1300], eax
jbe 0x403b18
lea ecx, [eax + eax*2]
shl ecx, 4
add edx, ecx
mov ecx, dword [edx + 0x50]
shr cx, 3
je 0x403b18
mov eax, dword [edx + 0x50]
xor ecx, ecx
and eax, 0xfffe
test ebx, ebx
setne cl
or eax, ecx
mov dword [edx + 0x50], eax
pop ebx
pop ebp
ret
pop ebx
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], str.Invalid_breakpoint_number__d_n
pop ebp
jmp fcn.004218d0

Function at 0x404b20
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x218
lea ebx, [ebp - 0x20c]
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.kernel32.dll_K32GetProcessImageFileNameW
sub esp, 0xc
test eax, eax
je 0x404ba8
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x404be8
lea edx, [eax + 2]
cmp word [edx], 0
je 0x404b96
mov eax, edx
nop
add eax, 2
cmp word [eax], 0
jne 0x404b70
sub eax, edx
cmp eax, 0x9e
jle 0x404b96
mov dword [edx + 0x98], 0x2e002e
mov dword [edx + 0x9c], 0x2e
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ebx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push edx
mov dword [esp + 0xc], 0x50
mov dword [esp + 8], 0x4aa060
mov dword [esp + 4], 0x12
mov dword [esp], eax
call dword [0x4ae84c]
mov ebx, dword [ebp - 4]
sub esp, 0x10
mov esp, ebp
mov eax, 0x4aa060
pop ebp
ret
mov edx, ebx
jmp 0x404b67

Function at 0x405a40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x404bf0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x408da0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x14
mov dword [ebp - 0x18], ecx
mov eax, dword [eax + 0xa0]
test edx, edx
mov dword [ebp - 0x14], eax
jne 0x408dc0
mov ebx, dword [esi + 0x44]
mov eax, dword [ebp - 0x14]
add eax, 0x1c
mov edi, dword [eax]
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x408e48
xor eax, eax
cmp dword [ebp + 8], 0xffffffff
sete al
dec eax
and eax, 0x7fffffff
add eax, 0x10002
mov dword [ebp - 0x1c], eax
jmp 0x408e06
mov edx, dword [ebp - 0x18]
mov eax, edi
call fcn.00408cb0
mov eax, dword [edi + 0xc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ResumeThread]
push eax
mov edi, dword [edi]
cmp edi, dword [ebp - 0x10]
je 0x408e48
cmp ebx, 0xffffffff
je 0x408e10
cmp dword [edi + 0x10], ebx
jne 0x408dff
mov edx, dword [edi + 0xc8]
test edx, edx
je 0x408dff
mov dword [edi + 0xc8], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x40]
cmp dword [eax + 0xc], ecx
jne 0x408de8
mov eax, dword [esi + 0x44]
cmp dword [edi + 0x10], eax
jne 0x408de8
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x9c], eax
jmp 0x408de8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4098d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ecx, 1
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 8
mov edx, 0x43b460
call fcn.004093a0
mov eax, ebx
and eax, 0xf
and ebx, 0xff
shr ebx, 4
lea edi, [esi + 0x1c]
mov al, byte [eax + 0x43b44f]
mov ecx, 2
mov byte [ebp - 0x13], al
mov al, byte [ebx + 0x43b44f]
lea ebx, [ebp - 0x14]
mov byte [ebp - 0x14], al
mov edx, ebx
mov eax, edi
call fcn.00409330
mov edx, str.thread:
mov eax, esi
mov ecx, 7
call fcn.004093a0
mov eax, dword [esi + 0x44]
lea edx, [ebp - 0xc]
nop
mov ecx, eax
dec edx
shr eax, 4
and ecx, 0xf
cmp edx, ebx
mov cl, byte [ecx + 0x43b44f]
mov byte [edx], cl
jne 0x409938
mov eax, edi
mov ecx, 8
call fcn.00409330
pop ebx
mov eax, esi
pop esi
pop ebx
mov ecx, 1
pop esi
mov edx, 0x43b46a
pop edi
pop ebp
jmp fcn.004093a0
Function at 0x411310
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
mov dword [esp + 4], 0
mov dword [esp], 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
push ebx
push ebx
je 0x4114b0
mov dword [esp], 0x1300
mov ebx, eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x10
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4114de
mov dword [eax], 0x128
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.kernel32.dll_Process32First
mov esi, dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
push edx
push edx
je 0x411418
lea esi, [esi]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
lea edi, [ecx + ecx*8]
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
lea ecx, [ecx + edi*2]
shl ecx, 4
mov dword [edx + ecx + 0x128], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jb 0x4113e1
lea eax, [ecx + ecx*8]
mov dword [esp], edx
lea eax, [ecx + eax*2]
shl eax, 5
mov dword [esp + 4], eax
call esi
mov edx, eax
test eax, eax
je 0x4114c6
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
add edi, edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*2]
shl eax, 4
mov dword [edx + eax], 0x128
mov dword [esp], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + eax*8]
lea eax, [eax + edx*2]
mov edx, dword [ebp - 0x18]
shl eax, 4
add eax, edx
mov dword [esp + 4], eax
call sub.kernel32.dll_Process32Next
test eax, eax
push ecx
push ecx
jne 0x411390
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
xor ecx, ecx
or edx, 0xffffffff
push eax
test esi, esi
je 0x411470
nop
lea eax, [ecx + ecx*8]
mov edx, dword [ebp - 0x18]
lea ebx, [ecx + eax*2]
xor eax, eax
shl ebx, 4
add ebx, edx
cmp eax, ecx
je 0x41144c
mov edi, dword [ebx + 0x18]
cmp dword [edx + 8], edi
je 0x4114b8
inc eax
add edx, 0x130
cmp eax, esi
jne 0x411440
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
mov dword [ebx + 0x12c], edx
mov dword [eax], ecx
mov esi, dword [ebp - 0x14]
inc ecx
cmp esi, ecx
ja 0x411430
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.executable
mov dword [esp + 8], str.threads
mov dword [esp + 4], 0x43d214
mov dword [esp], str.___8.8s___8.8s__s__all_id:s_are_in_hex__n
mov dword [ebp - 0x20], edx
call fcn.004218d0
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, dword [ebp - 0x20]
call fcn.0040fc50
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [edx + 0x128]
mov edx, dword [edx + 0x128]
jmp 0x41145d
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
push eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x4114b0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
push ecx
jmp 0x4114b0