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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x535e03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x535dea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x53c7a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x568c9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0053d0c0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x7e89fc
call fcn.0055ac56
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x53c833
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0055ac56
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x53c82c
push 0
mov ecx, eax
call fcn.00533930
mov dword [esi + 0xc], eax
jmp 0x53c835
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x53c835
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x55d2e3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x55d31b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0055b370
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0055b348
jmp 0x55d327
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x55e9d8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x55ea1a
call fcn.00564492
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x55ea1a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x55ea11
xor eax, eax
jmp 0x55ea22
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0055ea28
pop edi
pop esi
pop ebx
ret 4
Function at 0x5649c2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5649f0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x564a0e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00564928
jmp 0x564a0e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x564a0e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00564928
test edi, edi
mov eax, edi
jne 0x5649f8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402568
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402597
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00402b94
jmp 0x4025b5
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004024fc
mov edi, eax
test ebx, ebx
je 0x4025b5
cmp dword [esi], 0
je 0x4025b5
dec ebx
jmp 0x40259e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403930
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, 0x4097b0
mov edx, 0x8000
mov eax, dword [edi]
call fcn.004038f0
add eax, 2
call fcn.004023c0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x403a1a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jle 0x4039ff
push 0
lea eax, [ebp - 4]
push eax
mov edx, 0x8000
mov eax, dword [edi]
call fcn.004038f0
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_ReadFile_1
mov eax, dword [ebp - 4]
sub dword [edi], eax
mov ax, word [0x4097c2]
and ax, 1
cmp ax, 1
jne 0x4039d0
mov esi, dword [ebp - 4]
dec esi
test esi, esi
jl 0x4039d0
inc esi
xor ebx, ebx
call fcn.0040695c
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx]
xor al, dl
mov edx, dword [ebp - 8]
mov byte [edx + ebx], al
mov eax, dword [ebp - 8]
mov al, byte [eax + ebx]
call fcn.00406884
inc ebx
dec esi
jne 0x4039ae
lea eax, [ebp - 4]
push eax
push 0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [0x4097b8]
call fcn.00403ee4
mov ecx, 0x409778
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004038cc
cmp dword [edi], 0
jg 0x40396c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a21
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004023d8
ret

Function at 0x403ee4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
push ebx
push edx
push eax
call sub.kernel32.dll_WriteFile_1
mov esi, eax
add dword [0x4097a8], ebx
cmp dword [0x40978c], 0
jle 0x403f11
call fcn.00403e78
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x403f1c
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebx
push esi
movzx eax, word [0x409618]
cmp eax, dword [0x40961c]
jl 0x403f9b
push 0
push 0x40961c
mov edx, 0x8000
mov eax, dword [0x4097b0]
call fcn.004038f0
push eax
mov eax, dword [0x409610]
push eax
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_ReadFile_1
mov ax, word [0x4097c2]
and ax, 1
cmp ax, 1
jne 0x403f92
mov esi, dword [0x40961c]
dec esi
test esi, esi
jl 0x403f92
inc esi
xor ebx, ebx
call fcn.0040695c
mov edx, dword [0x409610]
xor byte [edx + ebx], al
mov eax, dword [0x409610]
mov al, byte [eax + ebx]
call fcn.00406884
inc ebx
dec esi
jne 0x403f73
mov word [0x409618], 0
cmp dword [0x40961c], 0
jne 0x403fba
xor eax, eax
mov dword [0x4097b0], eax
mov word [0x409618], 0
or eax, 0xffffffff
pop esi
pop ebx
ret
movzx eax, word [0x409618]
mov edx, dword [0x409610]
movzx eax, byte [edx + eax]
inc word [0x409618]
pop esi
pop ebx
ret

Function at 0x40520c
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4052f4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, esi
call fcn.00403a28
mov edx, eax
lea ecx, [ebp - 4]
mov eax, esi
call fcn.00403cdc
mov edx, dword [ebp - 4]
mov eax, 0x40530c
call fcn.00402e98
test eax, eax
jg 0x4052d9
jmp 0x405266
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00402e50
cmp dword [ebp - 4], 0
je 0x405274
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
je 0x405254
cmp dword [ebp - 4], 0
je 0x4052d9
mov eax, edi
call fcn.00403a28
mov edx, eax
lea ecx, [ebp - 8]
mov eax, edi
call fcn.00403cdc
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00402c14
mov eax, dword [ebp - 8]
call fcn.00403d84
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
call fcn.00402b48
lea eax, [ebp - 8]
mov edx, 0x405318
call fcn.00402c14
mov eax, dword [ebp - 8]
call fcn.00402dd0
call fcn.00403bf0
test al, al
je 0x4052d9
mov eax, dword [ebp - 4]
call fcn.00402dd0
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4052fb
lea eax, [ebp - 8]
mov edx, 2
call fcn.00402ad4
ret

Function at 0x405478
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x4054f6
push dword fs:[edx]
mov dword fs:[edx], esp
dec eax
jne 0x4054db
cmp byte [0x4081d0], 0
je 0x4054db
lea edx, [ebp - 4]
mov eax, 1
call fcn.004050cc
lea edx, [ebp - 8]
mov eax, 2
call fcn.004050cc
push 5
push 0x405504
mov eax, dword [ebp - 8]
call fcn.00402dd0
push eax
mov eax, dword [ebp - 4]
call fcn.00402dd0
push eax
push 0x405508
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4054fd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00402ad4
ret
Function at 0x4056b8
Capabilities:
Set current directory

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, 0x409640
xor ebx, ebx
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], 0x409660
mov eax, 0x405728
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 1
mov eax, 0x405654
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov byte [0x409770], 0
push edi
call sub.shell32.dll_SHBrowseForFolderA
mov dword [0x409768], eax
cmp dword [0x409768], 0
je 0x405721
push esi
mov eax, dword [0x409768]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
push esi
call sub.kernel32.dll_SetCurrentDirectoryA
mov bl, byte [0x409770]
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x405750
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov byte [ebp - 1], 0
push 0
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_GetFileSize_1
sub eax, dword [0x4095f0]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10016
jle 0x405783
mov dword [ebp - 8], 0x10016
cmp dword [ebp - 8], 0x16
jle 0x4058d7
mov eax, dword [ebp - 8]
call fcn.004023c0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4058d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
neg eax
mov edx, 2
call fcn.00403a3c
mov esi, dword [0x4095ec]
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_ReadFile_1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x4058b7
mov ebx, dword [ebp - 8]
sub ebx, 0x16
test ebx, ebx
jl 0x4058b7
inc ebx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax], 0x50
jne 0x4058ad
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax + 1], 0x4b
jne 0x4058ad
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax + 2], 5
jne 0x4058ad
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax + 3], 6
jne 0x4058ad
push 0
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx + 0x15]
shl edx, 8
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
movzx ecx, byte [edi + ecx + 0x14]
add edx, ecx
add edx, esi
add edx, dword [ebp - 0xc]
add edx, 0x16
cmp eax, edx
jne 0x4058ad
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax]
mov dword [0x40980c], eax
mov eax, dword [0x40980c]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.00403a3c
push 0
lea eax, [ebp - 0x10]
push eax
push 0x2e
push 0x4097dc
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_ReadFile_1
call fcn.00405954
test al, al
je 0x4058b7
mov byte [ebp - 1], 1
jmp 0x4058b7
inc dword [ebp - 0xc]
dec ebx
jne 0x4057f6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4058d7
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.004023d8
ret
cmp byte [ebp - 1], 0
jne 0x405900
push 0x10
push 0x40590c
push 0x405914
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00403388
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405954
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0xc], eax
mov ebx, 0x4097dc
xor eax, eax
push ebp
push 0x405a87
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov edi, dword [ebx + 0x2a]
mov eax, dword [0x40980c]
movzx esi, word [eax + 0xa]
dec esi
test esi, esi
jl 0x4059d4
inc esi
cmp dword [ebx], 0x2014b50
jne 0x405a71
mov eax, dword [ebx + 0x18]
add dword [0x40978c], eax
mov eax, dword [ebx + 0x2a]
cmp edi, eax
jle 0x4059a9
mov edi, eax
movzx eax, word [ebx + 0x1c]
movzx edx, word [ebx + 0x1e]
add eax, edx
mov edx, 1
call fcn.00403a3c
push 0
lea eax, [ebp - 8]
push eax
push 0x2e
push ebx
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_ReadFile_1
dec esi
jne 0x40598b
test edi, edi
jle 0x405a6d
mov eax, edi
sub eax, 2
xor edx, edx
call fcn.00403a3c
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4097ac
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_ReadFile_1
mov edx, 1
xor eax, eax
call fcn.00403a3c
movzx ebx, word [0x4097ac]
sub eax, ebx
test eax, eax
jle 0x405a6d
mov eax, dword [0x4095ec]
sub eax, ebx
xor edx, edx
call fcn.00403a3c
push 0
lea eax, [ebp - 8]
push eax
push 3
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_ReadFile_1
cmp dword [ebp - 8], 3
jne 0x405a6d
lea eax, [ebp - 0xc]
lea edx, [ebp - 4]
mov ecx, 3
call fcn.00402bf4
mov eax, dword [ebp - 0xc]
mov edx, 0x405aa0
call fcn.00402d1c
jne 0x405a6d
mov eax, dword [0x4095ec]
mov dword [0x4095f0], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a8e
lea eax, [ebp - 0xc]
call fcn.00402ab4
ret
Function at 0x405ea8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edx, edx
push ebp
push 0x405f35
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [0x4097bc], eax
push 0
lea eax, [ebp - 4]
push eax
push 0x1e
push 0x4097bc
mov eax, dword [0x4097b4]
push eax
call sub.kernel32.dll_ReadFile_1
mov eax, dword [0x4097bc]
cmp eax, dword [0x409788]
je 0x405ef4
cmp eax, 0x50000000
je 0x405ef4
xor ebx, ebx
jmp 0x405ef6
mov bl, 1
test bl, bl
je 0x405f06
mov eax, dword [0x4097ce]
mov dword [0x4097b0], eax
jmp 0x405f2b
xor edx, edx
mov dword [0x4097b0], edx
cmp eax, 0x8074b50
jne 0x405f2b
mov eax, dword [0x4095ec]
add eax, 0x10
xor edx, edx
call fcn.00403a3c
call fcn.00405ea8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x405f41
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x406884
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, 0x40977c
mov edx, dword [esi]
mov eax, ebx
call fcn.00406868
mov edi, eax
mov dword [esi], edi
and edi, 0xff
add dword [esi + 4], edi
imul ebx, dword [esi + 4], 0x8088405
inc ebx
mov dword [esi + 4], ebx
mov eax, ebx
call fcn.004037b8
call fcn.004037bc
mov edx, dword [esi + 8]
call fcn.00406868
mov dword [esi + 8], eax
pop edi
pop esi
pop ebx
ret

Function at 0x406980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.00402dc0
xor eax, eax
push ebp
push 0x406a53
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp + 8], 0
je 0x406a3d
mov eax, dword [ebp + 8]
call fcn.004068cc
mov al, byte [ebp - 1]
dec eax
test al, al
jb 0x4069fc
inc eax
mov byte [ebp - 7], al
mov bl, 0
call fcn.0040695c
mov edi, ebx
and edi, 0xff
mov edx, edi
xor ecx, ecx
mov cl, byte [ebp - 1]
add edx, ecx
xor al, byte [esi + edx]
mov byte [ebp - 6], al
mov al, byte [ebp - 6]
call fcn.00406884
mov al, byte [ebp - 6]
mov byte [esi + edi], al
inc ebx
dec byte [ebp - 7]
jne 0x4069cc
xor eax, eax
mov al, byte [ebp - 1]
mov bl, byte [esi + eax - 1]
mov ax, word [ebp - 4]
and ax, 8
cmp ax, 8
je 0x406a2a
mov eax, dword [ebp + 0x10]
call fcn.004037b8
call fcn.004037bc
cmp bl, al
jne 0x406a3d
mov byte [ebp - 5], 1
jmp 0x406a3d
xor eax, eax
mov al, bl
movzx edx, word [ebp + 0xc]
shr edx, 8
cmp eax, edx
jne 0x406a3d
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a5a
lea eax, [ebp + 8]
call fcn.00402ab4
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
add byte [esi + ebx], 0xb
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4c
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xf1
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xab
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb0
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa6
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x41
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdb
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x96
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xad
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe1
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb0
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x76
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4d
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf7
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 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x73a326fa
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rdata
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4d2e1da0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40397a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea edx, [0x4061dd]
mov ecx, edx
mov eax, dword [edx]
inc ecx
inc ecx
inc ecx
inc ecx
mov edi, dword [ecx]
mov ecx, eax
mov eax, dword [edi]
add edi, 4
mov esi, edi
mov ebx, esi
add edi, eax
mov edx, edi
dec edx
sub ecx, eax
dec ecx
dec ecx
dec ecx
dec ecx
lea eax, [0x4061dd]
mov dword [eax], ecx
inc eax
inc eax
inc eax
inc eax
mov dword [eax], edi
push ecx
mov ch, byte [edi]
mov al, byte [0x40612b]
add al, byte [esi]
xor al, ch
mov byte [edi], al
mov eax, edx
cmp esi, eax
je 0x4039ca
inc esi
pop ecx
inc edi
dec ecx
jne 0x4039ae
jmp 0x4039ce
mov esi, ebx
jmp 0x4039c3
mov edi, esi
push 0x39
push 0x4061dd
push 0x111
push dword [0x4061b9]
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [0x4061dd]
mov edi, dword [0x4061e1]
mov esi, dword [0x4061d1]
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x4039fa
mov esi, dword [0x406126]
mov ecx, dword [0x406122]
push ecx
add ecx, esi
mov dword [0x40619d], ecx
pop ecx
mov eax, dword [esi]
inc esi
inc esi
nop
inc esi
inc esi
mov edi, dword [0x4061d1]
mov ebx, esi
add ebx, eax
mov dword [0x406199], ebx
mov edx, esi
add esi, eax
mov ecx, 0
movzx eax, byte [edx]
inc eax
cmp edx, ebx
jae 0x403aa1
cmp eax, ecx
jae 0x403a46
ret
sub eax, ecx
mov ecx, eax
test ecx, ecx
je 0x403a57
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x403a4e
inc edx
mov al, byte [edx]
inc edx
movzx ecx, byte [edx]
test ecx, ecx
je 0x403a6a
push ecx
mov byte [edi], al
inc edi
dec ecx
jne 0x403a63
pop ecx
inc edx
movzx eax, byte [edx]
inc cl
cmp cl, 0
jne 0x403a8b
inc al
cmp al, 0
jne 0x403a83
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x403a87
mov al, 0
dec al
dec cl
jmp 0x403a9d
dec cl
inc al
cmp al, 0
jne 0x403a9b
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x403a9d
dec al
jmp 0x403a3d
mov ecx, dword [0x40619d]
sub ecx, esi
test ecx, ecx
je 0x403ab6
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x403aad
mov edi, dword [0x4061d1]
mov dword [0x4061d1], edi
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x558167af
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x30d4541
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219