joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404330
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x423530]
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push edi
xor edi, edi
push esi
xor esi, esi
cmp eax, ebx
jne 0x40437e
call ebp
mov edi, eax
cmp edi, ebx
je 0x40435f
mov dword [0x423530], 1
jmp 0x404387
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
je 0x404459
mov dword [0x423530], 2
jmp 0x40440d
cmp eax, 1
jne 0x404408
cmp edi, ebx
jne 0x404397
call ebp
mov edi, eax
cmp edi, ebx
je 0x404459
mov eax, edi
cmp word [edi], bx
je 0x4043ac
inc eax
inc eax
cmp word [eax], bx
jne 0x40439e
inc eax
inc eax
cmp word [eax], bx
jne 0x40439e
sub eax, edi
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sar eax, 1
inc eax
push ebx
push ebx
push ebx
push ebx
push eax
push edi
push ebx
push ebx
mov dword [esp + 0x34], eax
call ebp
mov esi, eax
cmp esi, ebx
je 0x4043fd
push esi
call fcn.00406b48
pop ecx
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x4043fd
push ebx
push ebx
push esi
push eax
push dword [esp + 0x24]
push edi
push ebx
push ebx
call ebp
test eax, eax
jne 0x4043f9
push dword [esp + 0x10]
call fcn.00406b19
pop ecx
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
jmp 0x40445b
cmp eax, 2
jne 0x404459
cmp esi, ebx
jne 0x40441d
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
je 0x404459
mov eax, esi
cmp byte [esi], bl
je 0x40442d
inc eax
cmp byte [eax], bl
jne 0x404423
inc eax
cmp byte [eax], bl
jne 0x404423
sub eax, esi
inc eax
mov ebp, eax
push ebp
call fcn.00406b48
pop ecx
mov edi, eax
cmp edi, ebx
jne 0x404443
xor edi, edi
jmp 0x40444e
push ebp
push esi
push edi
call fcn.00402890
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, edi
jmp 0x40445b
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x404855
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x422a70
sub esp, 0x1a4
xor ecx, ecx
mov edx, dword [ebp + 8]
cmp edx, dword [eax]
je 0x404877
sub eax, 0xfffffff8
inc ecx
cmp eax, 0x422b00
jl 0x404868
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x422a70]
jne 0x4049a5
mov eax, dword [0x4233b8]
cmp eax, 1
je 0x40497f
test eax, eax
jne 0x4048a8
cmp dword [0x42289c], 1
je 0x40497f
cmp edx, 0xfc
je 0x4049a5
push 0x104
lea eax, [ebp - 0x1a4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4048df
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405110
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004056e0
pop ecx
inc eax
cmp eax, 0x3c
jbe 0x404922
lea eax, [ebp - 0x1a4]
push eax
call fcn.004056e0
mov edi, eax
lea eax, [ebp - 0x1a4]
push 3
add eax, 0xffffffc5
push 0x40946c
add edi, eax
push edi
call fcn.00407490
add esp, 0x10
push str.Runtime_Error__n_nProgram:
lea eax, [ebp - 0xa0]
push eax
call fcn.00405110
push edi
lea eax, [ebp - 0xa0]
push eax
call fcn.00405120
push 0x40944c
lea eax, [ebp - 0xa0]
push eax
call fcn.00405120
lea eax, [ebp - 0xa0]
push dword [esi + 0x422a74]
push eax
call fcn.00405120
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
lea eax, [ebp - 0xa0]
push eax
call fcn.00407405
sub esp, 0xffffffd4
pop edi
jmp 0x4049a5
push 0
lea eax, [ebp + 8]
lea esi, [esi + 0x422a74]
push eax
push dword [esi]
call fcn.004056e0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x8e12c8
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e12ce
pop ebp
sub ebp, 6
sub ebp, 0x4e12c8
jmp 0x8e132c
jmp 0x8e1335
add al, 0
add byte [eax], al
dec ebp
mov edx, dword [esi + 0x50]
mov eax, 0x4e12c8
add eax, ebp
add eax, 0x93
mov ecx, 0x61a
mov edx, 0xf4064ea3
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e134c
jmp 0x8e135f
leave
jecxz 0x8e132d
mov dword [0xcba3a3b3], eax
mov dword [0x90a38f6f], eax
arpl bx, si
pop esp
lahf
out 0xa3, eax
sub byte [esi + 0x28], ch
sub bl, byte [edi + 0x22a3a3a3]
bound ebx, qword [ebx - 0x5d]
mov dword [0x1b6ea0a3], eax
movsd dword es:[edi], dword [esi]
mov dword [0x8b19a3a3], eax
mov dword [0x4154a3a3], eax
mov al, byte [0xaf22286b]
mov dword [0x66a0a3a3], eax
retf
Function at 0x402039
Capabilities:
Get common file path

Disassembly:
mov ebp, ebp
push ebx
mov ebx, esp
cmp dword [ebx + 0xc], 0
push esi
mov esi, ecx
push ebp
mov ebp, 0x105
push ebp
push esi
je 0x402057
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
jmp 0x40205d
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [esi + 0x108], eax
cmp eax, ebp
jb 0x402073
and dword [esi + 0x108], 0
mov byte [esi], 0
jmp 0x4020c0
test eax, eax
je 0x4020c0
add eax, esi
cmp byte [eax - 1], 0x5c
je 0x402088
mov byte [eax], 0x5c
inc dword [esi + 0x108]
push edi
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
mov eax, dword [esi + 0x108]
sub ebp, eax
cmp ebp, edi
jbe 0x4020b5
add eax, esi
push ebp
push dword [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
add dword [esi + 0x108], edi
jmp 0x4020bf
and dword [esi + 0x108], 0
mov byte [esi], 0
pop edi
mov eax, dword [esi + 0x108]
pop ebp
pop esi
pop ebx
ret 8

Function at 0x4020d1
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov eax, dword [0x4040ac]
mov ebp, esp
mov dword [ebp - 4], eax
sub esp, 0x98
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [0x4040ec], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [ebp - 0x88], 2
sete al
test al, 1
je 0x402124
cmp dword [ebp - 0x94], 5
jb 0x402124
push 2
pop ecx
jmp 0x402126
xor ecx, ecx
or eax, ecx
test al, 2
je 0x40213c
cmp dword [ebp - 0x90], 1
jb 0x40213c
mov ecx, 0x80
jmp 0x40213e
xor ecx, ecx
or eax, ecx
test al, 1
jne 0x402152
cmp dword [ebp - 0x90], 0xa
jb 0x402152
push 8
pop ecx
jmp 0x402154
xor ecx, ecx
or eax, ecx
test al, 9
jne 0x40215f
push 4
pop ecx
jmp 0x402161
xor ecx, ecx
or eax, ecx
mov ecx, dword [0x4040ec]
mov dword [0x4040e8], eax
cmp ecx, 0x3a4
je 0x40218e
cmp ecx, 0x3a8
je 0x40218e
cmp ecx, 0x3b4
jbe 0x402196
cmp ecx, 0x3b6
ja 0x402196
or eax, 0x10
mov dword [0x4040e8], eax
push esi
test al, 2
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
je 0x4021b0
push 0x52
call esi
test eax, eax
je 0x4021b0
or dword [0x4040e8], 0x20
push 0x2a
call esi
test eax, eax
pop esi
je 0x4021d0
test byte [0x4040e8], 2
jne 0x4021c9
or dword [0x4040e8], 0x20
or dword [0x4040e8], 0x40
mov ecx, dword [ebp - 4]
call fcn.00402d1d
leave
ret

Function at 0x4022de
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov eax, dword [0x4040ac]
mov ebp, esp
sub esp, 0x114
push ebx
xor ebx, ebx
cmp dword [0x4040fc], ebx
mov dword [ebp - 4], eax
jne 0x40235e
lea eax, [ebp - 0x114]
push eax
push 0x40119c
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40235e
push esi
push ebx
lea ecx, [ebp - 0x110]
mov esi, 0x401190
push esi
mov byte [ebp - 0x110], bl
mov dword [ebp - 8], ebx
call fcn.00402039
test eax, eax
je 0x40235d
lea eax, [ebp - 0x110]
push dword [ebp - 8]
push eax
push 1
push ebx
push esi
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.00402d1d
leave
ret
Function at 0x402968
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [0x404040]
push dword [0x40403c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4029a6
push 0x4013e4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x4013d8
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4029c4
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
leave
ret

Function at 0x402a32
Capabilities:
Enumerate gui resources
Set registry value

Disassembly:
push ebp
mov eax, dword [0x4040ac]
mov edi, edi
mov ebp, esp
sub esp, 0x114
push ebx
xor ebx, ebx
push edi
push ebx
push 0x4029cb
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_EnumWindows]
lea eax, [ebp - 0x110]
push eax
push 0x20006
push ebx
push 0x401374
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402aa5
push 4
lea eax, [ebp - 0x114]
push eax
push 4
push ebx
push 0x401398
push dword [ebp - 0x110]
mov dword [ebp - 0x114], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x108]
xor edi, edi
push esi
mov esi, 0x104
push esi
push eax
mov dword [ebp - 0x10c], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
cmp eax, ebx
je 0x402b40
add eax, 0xf
cmp eax, esi
jae 0x402b40
mov eax, 0x4013ac
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402ad3
lea edi, [ebp - 0x108]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x402ae3
mov esi, edx
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x108]
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x402b40
push 0x4013bc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x402b40
lea ecx, [ebp - 0x10c]
push ecx
call eax
cmp eax, ebx
jne 0x402b40
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x402b40
call sub.MSCTF.dll_TF_InvalidAssemblyListCacheIfExist
pop esi
mov eax, dword [ebp - 0x10c]
cmp eax, ebx
je 0x402b51
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
je 0x402b5c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.00402d1d
leave
ret
Function at 0x402e35
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x401420
call fcn.00403038
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x402e72
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402e72
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x402e8a
cmp eax, 0x20b
je 0x402e77
mov dword [ebp - 0x1c], ebx
jmp 0x402e9e
cmp dword [ecx + 0x84], 0xe
jbe 0x402e72
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x402e98
cmp dword [ecx + 0x74], 0xe
jbe 0x402e72
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x404204], 0xffffffff
or dword [0x404208], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x404154]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x404150]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40420c], eax
call fcn.0040302e
cmp dword [0x4040b0], ebx
jne 0x402ef9
push fcn.0040302e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00403017
push 0x404010
push 0x40400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x40414c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push dword [0x404148]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x404008
push section..data
call sub.msvcrt.dll__initterm
sub esp, 0xffffffdc
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x402f8f
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x402f63
cmp al, 0x22
jne 0x402f55
cmp byte [esi], 0x22
jne 0x402f6c
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x402f76
cmp al, 0x20
jbe 0x402f68
lea eax, [ebp - 0x80]
mov dword [ebp - 0x54], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x402f9a
movzx eax, word [ebp - 0x50]
jmp 0x402f9d
cmp byte [esi], 0x20
jbe 0x402f6c
inc esi
mov dword [ebp - 0x20], esi
jmp 0x402f8f
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x402fba
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x402fef
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00403073
ret

Function at 0x414de8
Capabilities:
Encode data using xor

Disassembly:
xor dword [eax], esi
add edx, 0x7a0b072d
add eax, 4
inc ecx
cmp eax, edi
jne fcn.00414de8
add ebx, ecx
ret
Function at 0x408ffc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41003c]
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.0040583e
and dword [ebp - 0x14], 0
cmp dword [0x411ca8], 0
mov dword [ebp - 0x18], eax
jne 0x4090af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409157
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409157
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411ca8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411cac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411cb0], eax
call edi
push eax
call esi
mov dword [0x411cb8], eax
test eax, eax
je 0x4090af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411cb4], eax
mov eax, dword [0x411cb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409108
cmp dword [0x411cb8], ecx
je 0x409108
push eax
call esi
push dword [0x411cb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409108
test ebx, ebx
je 0x409108
call edi
test eax, eax
je 0x4090ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4090ff
test byte [ebp - 8], 1
jne 0x409108
or dword [ebp + 0x10], 0x200000
jmp 0x40913b
mov eax, dword [0x411cac]
cmp eax, dword [ebp - 0x18]
je 0x40913b
push eax
call esi
test eax, eax
je 0x40913b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40913b
mov eax, dword [0x411cb0]
cmp eax, dword [ebp - 0x18]
je 0x40913b
push eax
call esi
test eax, eax
je 0x40913b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411ca8]
call esi
test eax, eax
je 0x409157
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409159
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402b34
leave
ret

Function at 0x805fc4
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x805fca
pop ebp
sub ebp, 6
sub ebp, 0x405fc4
jmp 0x806028
jmp 0x806031
mov eax, 0x405fc4
add eax, ebp
add eax, 0x93
mov ecx, 0x631
mov edx, 0x6f71e5ff
xor byte [eax], dl
inc eax
dec ecx
jne 0x806048
jmp 0x80605b
xchg ebp, eax
mov edi, 0xffefff97
call dword [edi - 0x2ccc01]
jle 0x806078
pop ss
aas
pop ds
mov bh, 0x7e
movhps qword [edi], xmm7
pop ds
mov bh, 0xcc
aas
scasd eax, dword es:[edi]
add byte [edx - 1], ch
leave
jmp [edi + 0x76743274]
jmp [esi]
Function at 0x8e106c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e1072
pop ebp
sub ebp, 6
sub ebp, 0x4e106c
jmp 0x8e10d0
jmp 0x8e10d9
mov eax, 0x4e106c
add eax, ebp
add eax, 0x93
mov ecx, 0x629
mov edx, 0x2e2364ef
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e10f0
jmp 0x8e1103
test dword [edi - 0x10001079], ebp
out dx, eax
xchg edi, ebp
and eax, ebx
out dx, eax
fsubr qword [edi]
mov edi, 0xbed37a10
stosd dword es:[edi], eax
out dx, eax
mov edi, 0x66642264
shr edi, cl
out dx, eax
out dx, eax
outsb dx, byte [esi]
pop ss
out dx, eax
out dx, eax
out dx, eax
in al, dx
and dl, byte [edi - 0x17]
out dx, eax
out dx, eax
out dx, eax
push ebp
invalid

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
xchg byte [ebx + 0x78ec83ec], cl
push esi
mov eax, dword [esi + 0x458dedd7]
mov byte [edx + 0x78], ch
inc ebp
push esi
call 0x604086e0
dec esp
dec ebp
Function at 0x8e1100
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8e1106
pop ebp
sub ebp, 6
sub ebp, 0x4e1100
jmp 0x8e1164
jmp 0x8e116d
mov eax, 0x4e1100
add eax, ebp
add eax, 0x93
mov ecx, 0x628
mov edx, 0x476f70c4
xor byte [eax], dl
inc eax
dec ecx
jne 0x8e1184
jmp 0x8e1197
scasb al, byte es:[edi]
test byte [esp + eax*8 - 0x533b3b2c], ch
les ecx, [eax]
call 0x9493096a
cmp edx, dword [ecx - 8]
xchg ebp, eax
add ah, 0x94
dec edi
or dword [edi + 0x4d], ecx
clc
invalid

Function at 0x40226a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0
mov eax, 0x4021d6
sub eax, 0x401cf5
mov dword [ebp - 4], eax
push 8
push 0x408008
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406350
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
push 0x401cf5
lea eax, [ebp - 0x104]
push eax
call fcn.00406464
add esp, 0xc
push 0x100
push 0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00406890
add esp, 0xc
call fcn.00401d3d
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406464
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40648a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 0x10]
jge 0x40654c
mov edx, dword [ebp - 0xc]
add edx, 1
and edx, 0x800000ff
jns 0x4064ac
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp - 0x10]
add edx, ecx
and edx, 0x800000ff
jns 0x4064ce
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov cl, byte [eax]
mov byte [edx], cl
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [ebp - 4]
mov byte [edx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x40651d
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 4], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 4]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x14]
mov byte [ecx], dl
jmp 0x406481
mov esp, ebp
pop ebp
ret
Function at 0x418ff0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x419028
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x419023
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
add byte [eax], al
add byte [eax], al
cmp edx, 0x3000
jne 0x41900d
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x419015
cmp edx, ebx
jne 0x419163
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x418fe4
add eax, dword [eax + 4]
jmp 0x418fd1
mov dword [ebp + 0xc], ebx
jmp 0x419033
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41904b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x419069
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4190c7
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4190ae
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4190b7
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4190c1
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4190a3
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41902d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x419114
dec eax
je 0x41910b
sub eax, 3
je 0x419102
mov dword [ebp - 4], 0x40
jmp 0x419131
mov dword [ebp - 4], 4
jmp 0x419117
mov dword [ebp - 4], 0x20
jmp 0x419117
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x419163
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4190e3
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret