joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409300
Capabilities:
Move file

Disassembly:
mov eax, reloc.avifil32.dll_AVIStreamGetFrameClose
call fcn.0041d8c4
mov eax, 0x5024
call fcn.0041d9c0
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4030]
push edi
mov ebx, 0x800
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4094bf
cmp eax, ebx
jae 0x4094bf
push ebx
lea eax, [ebp - 0x5030]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4094bf
cmp eax, ebx
jae 0x4094bf
lea eax, [ebp - 0x4030]
push eax
call fcn.0040b9e0
mov dword [ebp + 8], eax
lea eax, [ebp - 0x5030]
push eax
call fcn.0040b9e0
mov edi, eax
xor ebx, ebx
cmp word [edi], bx
je 0x4094bf
push edi
push dword [ebp + 8]
call fcn.00411438
test eax, eax
je 0x4094bf
push edi
push esi
call fcn.0040b9e0
push eax
call fcn.00411438
test eax, eax
jne 0x4094bf
mov word [ebp - reloc.avifil32.dll_AVIStreamRelease], ax
mov edi, ebx
test ax, ax
jne 0x409421
push 0x800
push esi
lea eax, [ebp - 0x100c]
push eax
call fcn.0040fae7
push edi
push str.rtmp_d
push 0x800
lea eax, [ebp - 0x100c]
push eax
call fcn.0040b9e0
push eax
call fcn.00403f53
add esp, 0x10
lea eax, [ebp - 0x100c]
push eax
call fcn.00409f0f
test al, al
je 0x409406
xor eax, eax
mov word [ebp - reloc.avifil32.dll_AVIStreamRelease], ax
jmp 0x40940d
mov ax, word [ebp - reloc.avifil32.dll_AVIStreamRelease]
add edi, 0x7b
cmp edi, 0x2710
jl 0x4093b4
test ax, ax
je 0x4094bf
mov edi, 0x800
lea eax, [ebp - 0x3030]
push edi
push esi
push eax
call fcn.0040fae7
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x3030]
push eax
call fcn.0040ba56
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x3030]
push eax
call edi
test eax, eax
je 0x4094bf
lea ecx, [ebp - 0x2030]
call fcn.004094d4
push esi
mov dword [ebp - 4], ebx
call fcn.00409f0f
test al, al
jne 0x409486
push 0x12
push esi
lea ecx, [ebp - 0x2030]
call fcn.004095c0
mov bl, al
lea eax, [ebp - 0x3030]
push eax
lea eax, [ebp - 0x100c]
push eax
call edi
test bl, bl
je 0x4094b0
lea ecx, [ebp - 0x2030]
call fcn.00409572
lea ecx, [ebp - 0x2030]
call fcn.004096b9
lea ecx, [ebp - 0x2030]
call fcn.00409506
mov al, 1
jmp 0x4094c1
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b3c9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041d9c0
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x40b3e7
xor al, al
jmp 0x40b551
push ebx
push edi
push esi
call fcn.0040b563
push esi
call fcn.00422b93
pop ecx
push esi
mov edi, eax
call fcn.0040b58f
test al, al
je 0x40b479
push esi
call fcn.0040b563
test al, al
je 0x40b430
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40b54d
push dword [ebp + 0x10]
push 0x4325e0
push dword [ebp + 0xc]
call fcn.0040fae7
push dword [ebp + 0x10]
jmp 0x40b540
push 0x5c
pop eax
cmp word [esi], ax
jne 0x40b54d
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x40b54d
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x40b54d
push esi
push 0x4325e0
push dword [ebp + 0xc]
call fcn.0040fae7
push esi
push 0x4325ec
push dword [ebp + 0xc]
call fcn.0040fabf
push esi
push ebx
jmp 0x40b541
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40b54d
cmp eax, ebx
ja 0x40b54d
movzx eax, word [esi]
push eax
call fcn.0040b66a
test al, al
je 0x40b4e0
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x40b54d
push edi
push 0x4325e0
push dword [ebp + 0xc]
call fcn.0040fae7
xor eax, eax
mov word [ebp - reloc.avifil32.dll_AVIStreamRelease], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.0040fabf
jmp 0x40b53f
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040af49
lea eax, [ebp - 0x1000]
push eax
call fcn.00422b93
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x40b54d
push edi
push 0x4325e0
push dword [ebp + 0xc]
call fcn.0040fae7
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.0040fabf
cmp word [esi], 0x2e
jne 0x40b53f
movzx eax, word [esi + 2]
push eax
call fcn.0040b66a
test al, al
je 0x40b53f
add esi, 4
push edi
push esi
push dword [ebp + 0xc]
call fcn.0040fabf
mov al, 1
jmp 0x40b54f
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40c187
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40c1a4
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40c19c
cmp cl, byte [edx]
jne 0x40c1df
push esi
push edx
push 0xffffffffffffffff
call fcn.00405eab
not eax
mov ecx, ebx
cmp dword [ecx + 0x43d02c], eax
jne 0x40c1c5
cmp dword [ecx + 0x43d028], esi
je 0x40c1d0
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40c1b5
jmp 0x40c1df
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43d030]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc
Function at 0x4196ad
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push 0x4333bc
push dword [esp + 0x10]
push dword [0x440060]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4197a3
push ebx
push esi
push dword [0x440060]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x419700
push esi
push dword [0x440060]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x419700
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x419707
xor eax, eax
jmp 0x4197a2
push ebp
push edi
push ebx
xor ebp, ebp
push 2
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x41979c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x419795
push ebx
push esi
push eax
call fcn.0041ea80
add esp, 0xc
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x18]
push eax
push ebp
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41978e
push ebp
push dword [esp + 0x1c]
call fcn.00419642
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
je 0x41978e
mov ecx, dword [esi + 8]
mov dword [esi + 8], ebp
test ecx, ecx
jne 0x419786
push 0xffffff
lea eax, [esp + 0x14]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x419786
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 4

Function at 0x419d14
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0041d9c0
cmp word [0x4485fa], 0
je 0x419db0
push esi
push 6
push dword [0x43d5f8]
mov esi, 0x4485fa
push esi
call fcn.0040b9e0
push eax
call fcn.0041145a
test eax, eax
jne 0x419daf
push 0x4475f8
call fcn.00419b00
push 0x800
push esi
lea eax, [ebp - 0x1024]
push eax
call fcn.0040fae7
lea eax, [ebp - 0x1024]
push eax
call fcn.00422b93
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - reloc.avifil32.dll_AVIStreamRelease], cx
lea eax, [ebp - 0x20]
push eax
call fcn.0041e920
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419e0c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x43d610], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x419e57
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - reloc.avifil32.dll_AVIStreamRelease]
mov word [0x45de30], ax
xor eax, eax
mov word [0x45de32], ax
mov dword [0x43d610], 0x45de30
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040f9b6
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x43d600
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41a06f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041d9c0
cmp byte [0x449600], 0
je 0x41a11d
push 0x800
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0041b4dd
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a11d
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a114
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x41a0f8
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - reloc.avifil32.dll_AVIStreamRelease], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040fae7
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408ed0
nop
nop
mov ecx, 0x3aa041fe
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x5e5e03ec
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1837ee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x116c000]
push edi
or ebp, 0xffffffff
jmp 0x1837f02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1837f09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1837ef8
mov eax, 1
add ebx, ebx
jne 0x1837f1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1837f2c
jne 0x1837f4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1837f4b
dec eax
add ebx, ebx
jne 0x1837f38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1837f10
add ebx, ebx
jne 0x1837f47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1837f9d
xor ecx, ecx
sub eax, 3
jb 0x1837f63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1837fd2
sar eax, 1
mov ebp, eax
jmp 0x1837f6e
add ebx, ebx
jne 0x1837f6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1837f3c
inc ecx
add ebx, ebx
jne 0x1837f7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1837f3c
add ebx, ebx
jne 0x1837f89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1837f7e
jne 0x1837f9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1837f7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1837fbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1837fae
jmp 0x1837efe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1837fbc
add edi, ecx
jmp 0x1837efe
pop esi
mov edi, esi
mov ecx, 0xdc36
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1837fda
cmp byte [edi], 0x31
jne 0x1837fda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1837fdf
lea edi, [esi + 0x1433000]
mov eax, dword [edi]
or eax, eax
je 0x183804e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x143b1d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x143b318]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x183800c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x143b320]
or eax, eax
je 0x1838048
mov dword [ebx], eax
add ebx, 4
jmp 0x1838029
call dword [esi + 0x143b31c]
mov ebp, dword [esi + 0x143b324]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1838082
sub esp, 0xffffff80
jmp 0x5ad094
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4a4f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.04a4f1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x4a4f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4a4f06a
add dl, dl
jne 0x4a4f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4a4f0dc
xor eax, eax
add dl, dl
jne 0x4a4f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4a4f17d
add dl, dl
jne 0x4a4f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4a4f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4a4f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4a4f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x4a4f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x4a4f075
mov eax, 1
add dl, dl
jne 0x4a4f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x4a4f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4a4f0e1
sub eax, ebx
mov ebx, 1
jne 0x4a4f128
mov ecx, 1
add dl, dl
jne 0x4a4f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4a4f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4a4f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4a4f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x4a4f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x4a4f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x4a4f136
cmp eax, 0x7d00
jae 0x4a4f16d
cmp eax, 0x500
jb 0x4a4f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4a4f075
cmp eax, 0x7f
ja 0x4a4f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4a4f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x4a4f19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x4a4f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
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], 0x6e
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x59
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x60
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x69
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x6b
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x79
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf2
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf5
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x17
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x71
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4f
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf5
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xbb
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], 0xbe
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 0x406fbb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49f448]
jne 0x406fc5
repz ret
jmp fcn.004090ab

Function at 0x40874f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49f448]
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.00405d9d
and dword [ebp - 0x14], 0
cmp dword [0x4a15b8], 0
mov dword [ebp - 0x18], eax
jne 0x408802
push 0x4022c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4088aa
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4022b4
push ebx
call edi
test eax, eax
je 0x4088aa
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4022a4
push ebx
mov dword [0x4a15b8], eax
call edi
push eax
call esi
push 0x402290
push ebx
mov dword [0x4a15bc], eax
call edi
push eax
call esi
push 0x402274
push ebx
mov dword [0x4a15c0], eax
call edi
push eax
call esi
mov dword [0x4a15c8], eax
test eax, eax
je 0x408802
push 0x40225c
push ebx
call edi
push eax
call esi
mov dword [0x4a15c4], eax
mov eax, dword [0x4a15c4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40885b
cmp dword [0x4a15c8], ecx
je 0x40885b
push eax
call esi
push dword [0x4a15c8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40885b
test ebx, ebx
je 0x40885b
call edi
test eax, eax
je 0x408852
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408852
test byte [ebp - 8], 1
jne 0x40885b
or dword [ebp + 0x10], 0x200000
jmp 0x40888e
mov eax, dword [0x4a15bc]
cmp eax, dword [ebp - 0x18]
je 0x40888e
push eax
call esi
test eax, eax
je 0x40888e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40888e
mov eax, dword [0x4a15c0]
cmp eax, dword [ebp - 0x18]
je 0x40888e
push eax
call esi
test eax, eax
je 0x40888e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a15b8]
call esi
test eax, eax
je 0x4088aa
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4088ac
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406fbb
leave
ret
Function at 0x49b1d0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.00409080
cmp dword [0x825644], 0x37
jne 0x49b28d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x402c24
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea ecx, [esp + 4]
push ecx
push 0x402c38
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0x402c58
push 0x402c74
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea edx, [esp + 0x810]
push edx
push 0
push 0x402cb0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov eax, dword [0x826638]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x4a6694]
mov byte [eax + esi], dl
add esp, 0x100c
ret