joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3a08
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], ecx
mov edi, eax
mov ebx, dword [ebp + 0xc]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
cmp esi, dword [ebp - 4]
jge 0x4e3a3d
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
call fcn.004e3860
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.004ccc70
test al, al
je 0x4e3b2d
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.0042ac18
push eax
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0042ab54
dec eax
pop edx
sub eax, edx
jl 0x4e3b2d
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x30]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0042ac18
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.0042ab54
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x4e3b21
inc edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 0x16]
sub eax, edx
mov esi, ebx
and esi, 0xff
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 2], al
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [ebp - 0x17]
sub eax, edx
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 1], al
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp - 0x18]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp + 8]
mov byte [ecx + 3], al
inc dword [ebp - 0x2c]
dec edi
jne 0x4e3ab7
inc dword [ebp - 0x30]
dec dword [ebp - 0x34]
jne 0x4e3a89
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x525770
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffdc
mov edi, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x525787
mov eax, ebx
call fcn.005250e4
cmp dword [ebx + 0x68], 0
jne 0x525794
mov eax, ebx
call fcn.00525068
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x525922
cmp dword [ebx + 0x68], 0
je 0x525922
mov edx, esp
mov eax, esi
call fcn.00529084
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.00524f48
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00529134
cmp eax, dword [esp]
je 0x525809
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00529148
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x5257e5
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.00529134
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x5257fe
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x52581c
mov eax, dword [eax + 0x28]
call fcn.0044b424
mov esi, eax
jmp 0x52581f
mov esi, dword [ebx + 0x5c]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x525830
or esi, 0xffffffff
jmp 0x52583a
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.00444374
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.00444398
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.004443c0
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.004443e4
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.005290d0
mov edx, edi
lea eax, [esp + 0x10]
call fcn.005297e8
push 0x61b
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0044b424
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0044b424
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.0044b424
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.004289e8
call fcn.0042451c
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.0044b424
push eax
call dword [0x54eed8]
push 4
mov eax, dword [ebx + 0x68]
call fcn.0044b424
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop edi
pop esi
pop ebx
ret
Function at 0x525c30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x10
call fcn.00403514
lea eax, [esp + 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
call sub.user32.dll_GetDesktopWindow
test eax, eax
je 0x525e2d
push 0
push 0x525e38
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x525e2d
push 0
push 0x525e48
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x525e2d
push 0
push 0x525e58
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
je 0x525e2d
push 0
push 0x525e68
push 0
push eax
call sub.user32.dll_FindWindowExA
mov ebp, eax
test ebp, ebp
je 0x525e2d
push 0
push 0
push 0x418
push ebp
call sub.user32.dll_SendMessageA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jle 0x525e2d
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push ebp
call sub.user32.dll_GetWindowThreadProcessId
cmp dword [esp + 8], 0
je 0x525e2d
mov eax, dword [esp + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x525e2d
push 0x40
push 0x1000
push 0x1000
push 0
push esi
call sub.kernel32.dll_VirtualAllocEx
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x525e2d
or edi, 0xffffffff
cmp edi, dword [esp + 4]
jge 0x525e15
inc edi
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x417
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x525e0b
lea eax, [esp + 0x10]
push eax
push 0x18
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x525e0b
test byte [esp + 0x51], 0xd
jne 0x525e0b
mov al, byte [esp + 0x50]
and al, 8
cmp al, 8
je 0x525e0b
lea eax, [esp + 0x10]
push eax
push 4
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x60]
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x525e0b
cmp dword [esp + 0x10], 0
je 0x525e0b
mov eax, dword [0x54d898]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
cmp eax, dword [esp]
jne 0x525e0b
mov eax, dword [esp + 0xc]
push eax
push edi
push 0x41d
push ebp
call sub.user32.dll_SendMessageA
test eax, eax
je 0x525de8
lea eax, [esp + 0x10]
push eax
push 0x10
push ebx
mov eax, dword [esp + 0x18]
push eax
push esi
call sub.kernel32.dll_ReadProcessMemory
cmp dword [esp + 0x10], 0
je 0x525e15
lea eax, [esp + 0x14]
push eax
push ebp
call sub.user32.dll_GetWindowRect
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
call fcn.00407028
jmp 0x525e15
cmp edi, dword [esp + 4]
jl 0x525d41
push 0x8000
push 0
mov eax, dword [esp + 0x14]
push eax
push esi
call sub.kernel32.dll_VirtualFreeEx
push esi
call sub.kernel32.dll_CloseHandle_1
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x546830
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x5468a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00405188
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ffc
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x546888
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040505c
jmp 0x54688f
mov eax, ebx
call fcn.00404b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5468ac
lea eax, [ebp - 4]
call fcn.00404b3c
ret
Function at 0x406060
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x411350], eax
mov ecx, 1
sub ecx, 1
lea esi, [esi]
add ecx, 1
mov edx, dword [ecx*4 + 0x41134c]
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
lea eax, [eax + ecx]
mov dword [ecx*4 + 0x411350], eax
cmp ecx, 0x26f
jl 0x406070
mov dword [0x40e410], 0x270
ret

Function at 0x4060b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, dword [0x410010]
cmp eax, dword [0x40e3c0]
je 0x4060c8
mov dword [0x40e410], 0x271
cmp dword [0x40e410], 0x270
jl 0x4061e7
cmp dword [0x40e410], 0x271
jne 0x4060ff
mov eax, dword [0x410010]
call fcn.00406060
mov eax, dword [0x410010]
not eax
mov dword [0x410010], eax
mov dword [0x40e3c0], eax
mov ebx, 0
sub ebx, 1
nop
add ebx, 1
mov eax, dword [ebx*4 + 0x411354]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x411350]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x411984]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x40e420]
xor edx, eax
mov dword [ebx*4 + 0x411350], edx
cmp ebx, 0xe2
jl 0x406108
mov ebx, 0xe3
sub ebx, 1
mov esi, esi
add ebx, 1
mov eax, dword [ebx*4 + 0x411354]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x411350]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x410fc4]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x40e420]
xor edx, eax
mov dword [ebx*4 + 0x411350], edx
cmp ebx, 0x26e
jl 0x40615c
mov eax, dword [0x411d0c]
and eax, 0x80000000
mov edx, dword [0x411350]
and edx, 0x7fffffff
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [0x411980]
xor edx, eax
and ecx, 1
mov eax, dword [ecx*4 + 0x40e420]
xor eax, edx
mov dword [0x411d0c], eax
mov dword [0x40e410], 0
mov eax, dword [0x40e410]
mov eax, dword [eax*4 + 0x411350]
add dword [0x40e410], 1
mov edx, eax
shr edx, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
pop ebx
ret
Function at 0x407a50
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x40e170]
cmp ax, 0xcb
je 0x407b4c
cmp ax, 0xcc
je 0x407b4c
mov edx, dword [0x411f60]
test edx, edx
je 0x407a82
mov eax, dword [0x411e00]
call edx
mov ebx, eax
jmp 0x407a87
mov ebx, 0x411e04
cmp word [0x411df0], 0
jle 0x407aaa
mov eax, 0x411dd0
call fcn.00407cc0
mov eax, ebx
call fcn.00407630
mov eax, ebx
call fcn.004076a0
mov edi, dword [ebx]
jmp 0x407aca
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x407ac5
mov edx, edi
mov eax, ebx
call fcn.00406b00
jmp 0x407ac8
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x407ab0
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x411df0], 0
jle 0x407b4c
mov edx, 0x411d10
mov eax, ebx
call fcn.00406c30
mov edi, eax
test edi, edi
je 0x407b1f
mov eax, dword [0x411da4]
mov dword [edi + 0xc], eax
cmp dword [0x411da4], 0
je 0x407b14
mov eax, dword [0x411da4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x411da4], eax
sub word [0x411df0], 1
cmp word [0x411df0], 0
sete bl
mov eax, 0x411dd0
call fcn.00407cd0
test bl, bl
je 0x407b4c
mov eax, 0x411dd0
call fcn.00407cb0
pop edi
pop esi
pop ebx
ret

Function at 0x40abf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
mov esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040abb0
test al, al
jne 0x40ac27
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x40ac08
mov eax, dword [ebp - 4]
leave
ret
Function at 0x40ac30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
lea esp, [esp - 0x48]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov edx, dword [eax + 0x3c]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + ecx]
mov eax, dword [eax + 0x78]
mov edx, dword [esp + 0x3c]
lea esi, [eax + edx]
mov edi, esp
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], 0
call fcn.0040a8f0
mov dword [esp + 0x28], eax
call fcn.0040a920
mov ebp, eax
mov eax, dword [esp + 0x18]
sub eax, 1
mov edi, eax
mov esi, 0
cmp edi, esi
jb 0x40ad3a
sub esi, 1
nop
add esi, 1
mov eax, esi
shl eax, 2
add eax, dword [esp + 0x30]
mov eax, dword [eax]
add eax, dword [esp + 0x3c]
mov ebx, eax
mov edx, ebx
mov eax, ebp
call fcn.0040ab80
test al, al
je 0x40acfc
mov eax, esi
shl eax, 1
add eax, dword [esp + 0x2c]
movzx eax, word [eax]
shl eax, 2
add eax, dword [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
mov dword [edx], eax
mov al, byte [esp + 0x34]
test al, al
jne 0x40ad3a
mov byte [esp + 0x34], 1
mov edx, ebx
mov eax, dword [esp + 0x28]
call fcn.0040ab80
test al, al
je 0x40ad32
mov eax, esi
shl eax, 1
add eax, dword [esp + 0x2c]
movzx eax, word [eax]
shl eax, 2
add eax, dword [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov al, byte [esp + 0x34]
test al, al
jne 0x40ad3a
mov byte [esp + 0x34], 1
cmp edi, esi
ja 0x40acb4
lea esp, [esp + 0x48]
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40b170
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x7c]
push ebx
push esi
push edi
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [ebp - 0xc], 0x20
mov dword [ebp - 8], 0x40
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], eax
mov edx, dword [eax + 0x30]
mov eax, dword [ecx + 0x3c]
lea eax, [edx + eax]
movzx edx, word [eax + 6]
add eax, 0xf8
mov dword [ebp - 0x74], eax
lea eax, [edx - 1]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x6c]
jb 0x40b2f5
sub dword [ebp - 0x6c], 1
lea esi, [esi]
add dword [ebp - 0x6c], 1
imul eax, dword [ebp - 0x6c], 0x28
mov edx, dword [ebp - 0x74]
lea esi, [eax + edx]
lea edi, [ebp - 0x4c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
or edx, eax
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
test dword [ebp - 0x50], 0xffffffff
je 0x40b2e9
mov ebx, dword [ebp - 0x28]
mov eax, ebx
and eax, 0x2000000
je 0x40b24c
push 0x4000
push dword [ebp - 0x50]
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x78]
call dword [esi + 8]
jmp 0x40b2e9
mov eax, ebx
and eax, 0x20000000
je 0x40b25e
mov dword [ebp - 0x68], 1
jmp 0x40b265
mov dword [ebp - 0x68], 0
mov eax, ebx
and eax, 0x40000000
je 0x40b277
mov dword [ebp - 0x64], 1
jmp 0x40b27e
mov dword [ebp - 0x64], 0
mov eax, ebx
and eax, 0x80000000
je 0x40b290
mov dword [ebp - 0x60], 1
jmp 0x40b297
mov dword [ebp - 0x60], 0
mov eax, ebx
and eax, 0x4000000
je 0x40b2a9
mov dword [ebp - 0x5c], 1
jmp 0x40b2b0
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x68]
shl eax, 4
lea eax, [ebp + eax - 0x24]
mov edx, dword [ebp - 0x64]
lea ecx, [eax + edx*8]
mov eax, dword [ebp - 0x60]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x5c], 1
jne 0x40b2d6
or dword [ebp - 0x54], 0x200
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x78]
call dword [esi + 4]
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x6c]
ja 0x40b1f4
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x41515a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
sub byte [esi + ebx], 4
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf6
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xac
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc4
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x12
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7f
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4e
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x3d
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 8
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x14
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x38
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xfc
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x2d
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x1a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x9c
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

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

Function at 0x40370b
Capabilities:
Query environment variable

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

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040b1c2
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040b1c2
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040b1c2
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040b1c2
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040b1c2
mov dword [0x41203c], eax
call fcn.0040b1c2
test eax, eax
jge 0x402550
push 8
call fcn.0040b1c2
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040b1c2
pop ecx
push 1
call fcn.0040b1c2
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040b1c2
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040b1c2
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040b1c2
jmp 0x402495

Function at 0x40b1c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40b1d1
pop dword [ebp - 0x48]
mov eax, 0x40b1d1
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x3789b
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x63021428
add ecx, 0x9cfe2cba
mov esi, eax
mov edx, 0x6178fb76
sub edx, 0x6137bfb2
add edx, dword [ebp - 0x48]
mov ebx, 0x5722f8b8
add ebx, 0x151383a2
add dword [ebp - 0x18], 0x2fcc8575
mov edi, dword [edx]
mov dword [ebp - 0x28], 0xa314eedd
add edi, ebx
xor dword [ebp - 0x40], 0xc813061a
mov dword [esi], edi
sub dword [ebp - 0x2c], 0x14041dfa
add esi, 4
add edx, 0x22df13a
add edx, 0xfdd20eca
loop 0x40b226
add eax, 0x6df27d7c
sub eax, 0x6df18721
mov ebx, eax
add eax, 0xec510cd7
sub eax, 0xec510cd2
mov ecx, 0x82b5ed6d
sub ecx, 0x8275ed6d
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x40a22e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f458]
jne 0x40a238
repz ret
jmp fcn.0040cf5b

Function at 0x40a9cb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43f458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004084e7
and dword [ebp - 0x14], 0
cmp dword [0x4419e0], 0
mov dword [ebp - 0x18], eax
jne 0x40aa7e
push 0x4021f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ab26
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021e4
push ebx
call edi
test eax, eax
je 0x40ab26
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4021d4
push ebx
mov dword [0x4419e0], eax
call edi
push eax
call esi
push 0x4021c0
push ebx
mov dword [0x4419e4], eax
call edi
push eax
call esi
push 0x4021a4
push ebx
mov dword [0x4419e8], eax
call edi
push eax
call esi
mov dword [0x4419f0], eax
test eax, eax
je 0x40aa7e
push 0x40218c
push ebx
call edi
push eax
call esi
mov dword [0x4419ec], eax
mov eax, dword [0x4419ec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40aad7
cmp dword [0x4419f0], ecx
je 0x40aad7
push eax
call esi
push dword [0x4419f0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40aad7
test ebx, ebx
je 0x40aad7
call edi
test eax, eax
je 0x40aace
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aace
test byte [ebp - 8], 1
jne 0x40aad7
or dword [ebp + 0x10], 0x200000
jmp 0x40ab0a
mov eax, dword [0x4419e4]
cmp eax, dword [ebp - 0x18]
je 0x40ab0a
push eax
call esi
test eax, eax
je 0x40ab0a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ab0a
mov eax, dword [0x4419e8]
cmp eax, dword [ebp - 0x18]
je 0x40ab0a
push eax
call esi
test eax, eax
je 0x40ab0a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4419e0]
call esi
test eax, eax
je 0x40ab26
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ab28
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a22e
leave
ret