joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ebx
lea ecx, [ebp - 0x68]
push ecx
push 0x20019
xor ebx, ebx
push ebx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x9c]
push str.SoftwarePythonPythonCore
push eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402a04
xor eax, eax
jmp 0x402b41
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x3c]
push eax
push ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x70], 0x50
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x402b35
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp + 0xa0]
inc dword [ebp - 0x6c]
mov dword [ebp - 0x70], 0x50
cmp esi, ebx
je 0x402a77
cmp byte [esi], bl
je 0x402a77
lea eax, [ebp + 0x3c]
mov cl, byte [esi]
cmp cl, byte [eax]
jne 0x402a6a
cmp cl, bl
je 0x402a66
mov cl, byte [esi + 1]
cmp cl, byte [eax + 1]
jne 0x402a6a
inc esi
inc esi
inc eax
inc eax
cmp cl, bl
jne 0x402a4c
xor eax, eax
jmp 0x402a6f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x402b13
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x14]
push str.Python_Version__s__found_in_registry_
push eax
call esi
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x64]
push str.SoftwarePythonPythonCore_sInstallPath
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402b13
push 0x10c
call fcn.00407350
mov esi, eax
pop ecx
mov dword [ebp - 0x80], 0x105
cmp esi, ebx
je 0x402b0a
lea eax, [ebp - 0x80]
push eax
push esi
push ebx
push ebx
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402b0a
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x180
push dword [ebp - 0x74]
call edi
mov ecx, dword [ebp - 0x7c]
push esi
push eax
push 0x19a
push dword [ebp - 0x74]
mov dword [esi + 0x108], ecx
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x3c]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x402a31
pop edi
pop esi
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
pop ebx
call fcn.00407875
add ebp, 0x90
leave
ret
Function at 0x4036c6
Capabilities:
Create process on windows
Resume thread
Self delete

Disassembly:
push ebp
lea ebp, [esp - 0x1e0]
sub esp, 0x260
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp + 0x1dc], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp + 0xd8]
push eax
xor edi, edi
push edi
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x2c]
push str._s.bat
push eax
call fcn.00407350
lea eax, [ebp - 0x2c]
push 0x425fc0
push eax
call fcn.00407350
mov ebx, eax
push str.:Repeat_n
push ebx
call fcn.00408778
lea eax, [ebp + 0xd8]
push eax
mov esi, str.del___s__n
push esi
push ebx
call fcn.00408778
lea eax, [ebp + 0xd8]
push eax
push str.if_exist___s__goto_Repeat_n
push ebx
call fcn.00408778
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
call fcn.00408778
add esp, 0x40
push ebx
call fcn.00408fa6
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.004076c0
add esp, 0x10
xor eax, eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x4253ac
push edi
push esi
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
push edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x54], 1
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
je 0x4037e7
mov esi, dword [sym.imp.kernel32.dll_SetThreadPriority]
push 0xfffffffffffffff1
push dword [ebp - 0x38]
call esi
push 0xf
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call esi
push 0x80
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_SetPriorityClass]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call dword [sym.imp.kernel32.dll_ResumeThread]
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x1dc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407875
add ebp, 0x1e0
leave
ret

Function at 0x403989
Capabilities:
Delete file

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call fcn.00407290
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x40399f
pop esi
ret
inc esi
movsx eax, byte [esi]
push eax
call fcn.00407350
pop ecx
test eax, eax
jne 0x40399f
push esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
pop esi
ret

Function at 0x4039b7
Capabilities:
Delete directory

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call fcn.00407290
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4039cd
pop esi
ret
inc esi
movsx eax, byte [esi]
push eax
call fcn.00407350
pop ecx
test eax, eax
jne 0x4039cd
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
pop esi
ret
Function at 0x4044dd
Capabilities:
Delete file
Read .ini file

Disassembly:
mov eax, 0x1004
call fcn.00408e10
mov eax, dword [0x42f180]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push ebp
push esi
push edi
push dword [0x43292c]
mov edi, dword [sym.imp.kernel32.dll_GetPrivateProfileStringA]
mov ebp, 0x1000
push ebp
lea eax, [esp + 0x18]
push eax
mov ebx, 0x425524
push ebx
push str.title
mov esi, 0x425f40
push esi
call edi
push 0x50
pop ecx
lea eax, [esp + 0x10]
mov edx, 0x431140
call fcn.00407350
push dword [0x43292c]
lea eax, [esp + 0x14]
push ebp
push eax
push ebx
push str.info
push esi
call edi
mov ecx, ebp
lea eax, [esp + 0x10]
mov edx, 0x431580
call fcn.00407350
push dword [0x43292c]
push 0x50
push 0x4327c0
push ebx
push str.build_info
push esi
call edi
push dword [0x43292c]
mov ebp, dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
push 1
push str.target_compile
push esi
call ebp
push dword [0x43292c]
mov dword [0x431194], eax
push 1
push str.target_optimize
push esi
call ebp
push dword [0x43292c]
mov dword [0x431190], eax
push 0xa
push 0x432590
push ebx
push str.target_version
push esi
call edi
push dword [0x43292c]
push 0x50
push 0x4312c0
push ebx
push str.name
push str.metadata
call edi
push dword [0x43292c]
push 0x104
push 0x4311a0
push ebx
push str.install_script
push esi
call edi
push dword [0x43292c]
mov ebp, 0x431550
push 0xa
push ebp
push ebx
push str.user_access_control
push esi
call edi
push 6
mov edi, str.force
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40462b
call fcn.00407350
test eax, eax
je 0x404688
call fcn.00403547
test eax, eax
jne 0x404688
call fcn.00407350
jmp 0x4046cb
push 5
mov edi, str.auto
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x404658
call fcn.00407350
test eax, eax
je 0x404688
call fcn.00403547
test eax, eax
jne 0x404688
call fcn.00407350
test eax, eax
je 0x404688
jmp 0x404621
cmp byte [0x431550], al
je 0x404688
push 5
mov edi, str.none
mov esi, ebp
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x404688
push eax
push str.oops
push str.Bad_user_access_control_value
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x431140
call fcn.00402766
push eax
mov dword [0x432580], eax
call fcn.00407350
pop ecx
pop ecx
push dword [0x432814]
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov eax, dword [0x43292c]
test eax, eax
je 0x4046bb
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, dword [0x432930]
test eax, eax
je 0x4046cb
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00407875
add esp, 0x1004
ret
Function at 0x407350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40735f
pop dword [ebp - 0x34]
mov eax, 0x13b2f9e9
sub eax, 0x1372868a
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x3f41e
push 0
mov eax, 0xab03f7d
sub eax, 0xa6ded65
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0xb2b9a5c7
add ecx, 0x4d46a83c
xor edi, edi
add edi, eax
mov edx, 0x5e2ca042
sub edx, 0x5de94c42
add edx, dword [ebp - 0x34]
mov esi, 0x68b85298
add esi, 0x8f177de7
xor dword [ebp - 0x18], eax
mov ebx, dword [edx]
sub ebx, esi
add dword [ebp - 0x1c], ecx
mov dword [edi], ebx
mov dword [ebp - 0x1c], 0xdbe17f7c
add edi, 0x71d446e3
sub edi, 0x71d446df
add edx, 4
loop 0x4073c0
add eax, 0x47f2954d
sub eax, 0x47f16a6e
xor ebx, ebx
add ebx, eax
add eax, 0x38006bae
add eax, 0xc7ff9457
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x407875
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f180]
jne 0x40787f
repz ret
jmp fcn.0040bbd7

Function at 0x40894f
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
mov edi, 0x9e128049
sub edi, edi
call fcn.00408987
push eax
mov edi, dword [esp]
add esp, 4
push 0x7912b3b4
mov eax, dword [esp]
add esp, 4
xor dword [edx], ebx
add edx, 1
or edi, eax
cmp edx, ecx
jne fcn.0040894f
sub edi, eax
ret
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 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x42e000
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
pushal
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42dfd9
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4038f9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4129e8]
jne 0x403903
repz ret
jmp fcn.004050b8

Function at 0x40c4a5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00408e14
xor ebx, ebx
cmp dword [0x414760], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40c57a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40c4e5
xor eax, eax
jmp 0x40c63e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40c4de
push eax
call fcn.00408db1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x414760], eax
call esi
push eax
call fcn.00408db1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x414764], eax
call esi
push eax
call fcn.00408db1
mov dword [0x414768], eax
lea eax, [ebp - 8]
push eax
call fcn.004048b5
test eax, eax
pop ecx
pop ecx
je 0x40c548
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00404d6d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40c57a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00408db1
cmp eax, ebx
pop ecx
mov dword [0x414770], eax
je 0x40c57a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00408db1
pop ecx
mov dword [0x41476c], eax
mov eax, dword [0x41476c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40c5f3
cmp dword [0x414770], esi
je 0x40c5f3
push eax
call fcn.00408e1d
pop ecx
call eax
cmp eax, ebx
je 0x40c5c0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x414770]
call fcn.00408e1d
pop ecx
call eax
test eax, eax
je 0x40c5c0
test byte [ebp - 0x18], 1
jne 0x40c5f3
lea eax, [ebp - 0xc]
push eax
call fcn.004048ec
test eax, eax
pop ecx
je 0x40c5db
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00404d6d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40c5ea
or dword [ebp + 0x10], 0x200000
jmp 0x40c624
or dword [ebp + 0x10], 0x40000
jmp 0x40c624
mov eax, dword [0x414764]
cmp eax, esi
je 0x40c624
push eax
call fcn.00408e1d
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40c624
mov eax, dword [0x414768]
cmp eax, esi
je 0x40c624
push dword [ebp - 4]
push eax
call fcn.00408e1d
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x414760]
call fcn.00408e1d
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40ab38
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x8215f8]
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.0040791f
and dword [ebp - 0x14], 0
cmp dword [0x825718], 0
mov dword [ebp - 0x18], eax
jne 0x40abeb
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ac93
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402480
push ebx
call edi
test eax, eax
je 0x40ac93
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402470
push ebx
mov dword [0x825718], eax
call edi
push eax
call esi
push 0x40245c
push ebx
mov dword [0x82571c], eax
call edi
push eax
call esi
push 0x402440
push ebx
mov dword [0x825720], eax
call edi
push eax
call esi
mov dword [0x825728], eax
test eax, eax
je 0x40abeb
push 0x402428
push ebx
call edi
push eax
call esi
mov dword [0x825724], eax
mov eax, dword [0x825724]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ac44
cmp dword [0x825728], ecx
je 0x40ac44
push eax
call esi
push dword [0x825728]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ac44
test ebx, ebx
je 0x40ac44
call edi
test eax, eax
je 0x40ac3b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ac3b
test byte [ebp - 8], 1
jne 0x40ac44
or dword [ebp + 0x10], 0x200000
jmp 0x40ac77
mov eax, dword [0x82571c]
cmp eax, dword [ebp - 0x18]
je 0x40ac77
push eax
call esi
test eax, eax
je 0x40ac77
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ac77
mov eax, dword [0x825720]
cmp eax, dword [ebp - 0x18]
je 0x40ac77
push eax
call esi
test eax, eax
je 0x40ac77
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x825718]
call esi
test eax, eax
je 0x40ac93
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ac95
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040aea3
leave
ret

Function at 0x40aea3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8215f8]
jne 0x40aead
repz ret
jmp fcn.0040dcf5
Function at 0x808850
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x1420
call fcn.0040e0a0
cmp dword [0x26676a4], 0x37
jne 0x808907
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x403478
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x403490
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0xc20]
push edx
push 0
push 0x4034e8
push 0x403500
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x4035a0
push 0x403648
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov eax, dword [0x26676a8]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x82a834]
mov byte [eax + esi], dl
add esp, 0x1420
ret

Function at 0x808930
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov edx, dword [0x822358]
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push ebx
mov ebx, dword [0x822360]
push ebp
mov ebp, dword [0x822364]
push esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [0x82235c]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xc6ef3720
mov dword [esp + 0x28], 0x9e3779b9
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0x20
jmp 0x808984
mov eax, dword [esp + 0x18]
mov edx, eax
mov edi, eax
shr edx, 5
shl edi, 4
add edi, ebx
add edx, ebp
xor edx, edi
mov edi, dword [esp + 0x10]
add edi, eax
xor edx, edi
sub esi, edx
mov eax, esi
shl eax, 4
mov dword [0x265d654], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
add edi, esi
cmp dword [0x26676a4], 0x1be
jne 0x8089e0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esp + 0x78]
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x24]
mov dword [0x265d658], 0xff6b3619
xor edx, edi
xor dword [esp + 0x14], edx
mov dword [0x265d65c], 0xffffffff
mov eax, dword [esp + 0x14]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x10], eax
dec dword [esp + 0x1c]
jne 0x808980
cmp dword [0x26676a4], 0x8d4
jne 0x808a4b
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
mov edx, dword [esp + 0x18]
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x64
ret 4
Function at 0xd0aa50
Capabilities:
Encode data using xor

Disassembly:
sub byte [esi - 0x55d34e32], dh
ret 0x20a5
mov ebp, 0x244d865e
mov ah, 0x3e
inc ecx
daa
cmp byte [esi - 0x4b], bl
jge 0xd0a9f3
hlt
jmp 0xd0aa5a
pushal
call 0xd0aa60
pop ebp
sub ebp, 0x10
sub ebp, 0x90aa50
jmp 0xd0aa76
mov eax, 0x90aa50
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b7
mov edx, 0x2a1a748b
xor byte [eax], dl
inc eax
dec ecx
jne 0xd0aa8d
jmp 0xd0aaa0
add byte [esi], al
add dh, byte [edi + 0xa8b8b8b]
dec edx
jae 0xd0aa37
mov ecx, dword [ebx - 0x70ccb978]
mov ecx, dword [ebx - 0x745cce75]
mov ecx, dword [ebx + 0x4388697c]
add byte [edx], cl
xchg dword [ebx + 0x4e888b8b], ecx
fcmovnu st(0), st(3)
jecxz 0xd0ab49
and edx, dword [esi - 0x752e1c75]
clc
mov ecx, dword [edx + 0x35e3afa7]
sal dword [ecx + esi], 1
arpl word [esi + 0x628b8b8b], cx
mov edi, 0x68b8b8b
out dx, eax
scasd eax, dword es:[edi]
ja 0xd0aaeb
cmpsd dword [esi], dword es:[edi]
scasd eax, dword es:[edi]
add byte [edi], ah
push cs
or dword [ebx + 0x1e008b8b], 0xffffff87
mov ecx, dword [ebx - 0x64f9ff75]
mov ecx, dword [ebx - 0x769db575]
mov edx, 0x8f490889
ret 0xe84
mov ecx, dword [ebx + 0x650f7a0a]
out 0xa7, al
or bh, byte [edx + 0xf]
out 0xa7, al
mov eax, 0x89790a42
sbb al, 9
inc ecx
or bh, byte [ecx - 0x77]
sbb al, 9
inc ecx
mov eax, 0x8e630859
ret
Function at 0x4011e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rcl ebx, 0xe8
mov eax, 0x11
ror ebx, 0x12
bswap esi
imul ebx
neg edx
add edx, 0x2c
ror esi, 0x57
neg esi
dec edi
or ebx, 6
imul eax
rcr eax, 0xe4
inc edx
add eax, 0xdd
dec edx
dec ebx
rol edx, 0xec
rcr esi, 0x11
inc ebx
neg esi
neg eax
neg edi
imul edi
ror edi, 0xe2
not esi
rcr ebx, 0x1f
inc edx
inc edi
mov edx, 0x36
inc ebx
inc edx
rcl edi, 0xee
rcr esi, 0x25
neg eax
rol edx, 0x72
or ebx, 0xf1
inc esi
mov eax, 0xda
bswap ebx
neg ebx
bswap edi
rcl ebx, 0xeb
bswap edx
dec edx
mov edi, 0x21
sbb edx, 0xf5
add ebx, 0x7c
not edi
ror eax, 0xd7
xor ecx, ecx
xor edi, edi
inc eax
and eax, 0x45
inc eax
inc edx
neg ebx
neg edi
bswap edx
bswap eax
neg esi
neg esi
dec eax
imul edi
imul edx
sbb edx, 0xc0
inc esi
dec ebx
neg eax
and eax, 0xbe
mov esi, 0x39
neg edi
inc esi
rcr eax, 0x1b
ror edi, 0xc
sbb eax, 0x80
inc eax
rol esi, 4
inc edx
neg edi
rcl edx, 0xd9
mov ebx, 4
neg edi
dec ebx
sbb esi, 0x8b
ror ebx, 0x87
imul esi
neg esi
rol ebx, 0xcc
or ebx, 0x28
ror eax, 0xd2
neg ebx
add edx, 0xb2
inc esi
neg edi
bswap ebx
add eax, 0x84
add esi, 0x45
dec edi
imul eax
or eax, 0xff
add edx, 0x7a
mov ecx, dword [ebp + 0xc]
bswap esi
inc esi
neg edi
sub esi, 0xf5
rcl edi, 0xec
inc edx
bswap eax
neg edx
sbb esi, 0x62
sbb eax, 0xdb
rcr esi, 0xe0
bswap edx
bswap ebx
neg ebx
ror ebx, 0xd6
not ebx
ror edx, 0x8a
bswap esi
sub edi, 0x27
not eax
imul edi
and ebx, 0x97
neg ebx
sbb edx, 2
rcr eax, 7
imul edi
imul edx
dec esi
sub edx, 0xed
neg edx
rcr edx, 0x69
not edi
and ebx, 0x6e
sub edx, 0xd5
imul edx
sbb eax, 0xae
dec edi
or ebx, 0xbd
add esi, 0x87
mov eax, 0xf7
ror eax, 0x6e
imul eax
sub esi, 0x5f
add esi, 0xde
add eax, 0xe1
bswap esi
bswap eax
bswap esi
mov eax, 0x38
imul eax
mov edi, dword [ebp + 8]
mov ebx, ebx
xor esi, eax
xor esi, eax
not byte [edi]
mov eax, esi
xor ebx, esi
xor eax, eax
add byte [edi], 0x56
xor esi, esi
mov esi, ebx
mov ebx, esi
sub byte [edi], 0x34
mov ebx, eax
mov ebx, ebx
xor ebx, esi
imul byte [edi]
inc edi
loop 0x40138e
pop edi
pop esi
pop ebx
pop ebp
ret