joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x23752341
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section._RDATA
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x506c4abd
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
mov esi, 0x4570ae
lea edi, [esi - 0x560ae]
push edi
or ebp, 0xffffffff
jmp 0x46eb72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46eb79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46eb68
mov eax, 1
add ebx, ebx
jne 0x46eb8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46eb80
jne 0x46eb9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46eb80
xor ecx, ecx
sub eax, 3
jb 0x46ebb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46ec22
mov ebp, eax
add ebx, ebx
jne 0x46ebbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x46ebc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x46ebec
inc ecx
add ebx, ebx
jne 0x46ebd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46ebcd
jne 0x46ebe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46ebcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46ec0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46ebfd
jmp 0x46eb6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46ec0c
add edi, ecx
jmp 0x46eb6e
pop esi
mov edi, esi
mov ecx, 0xe60
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46ec2a
cmp byte [edi], 0xc
jne 0x46ec2a
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 eax, ebx
loop 0x46ec2f
lea edi, [esi + 0x6c000]
mov eax, dword [edi]
or eax, eax
je 0x46ec9e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6e76c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6e7f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46ec5c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6e7fc]
or eax, eax
je 0x46ec98
mov dword [ebx], eax
add ebx, 4
jmp 0x46ec79
call dword [esi + 0x6e800]
popal
jmp 0x451b20
Function at 0x401180
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4035c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push 0x406128
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
push str.MicrosoftMMCjifef.dll_ProtectFile
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.0040335e
mov eax, dword [esp + 0x14]
lea ecx, [esp]
push eax
call fcn.0040335e
mov ecx, dword [esp]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x401200
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4035e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push 0x406128
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
push str.MicrosoftMMCjifef.dll_UnprotectFile
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.0040335e
mov eax, dword [esp + 0x14]
lea ecx, [esp]
push eax
call fcn.0040335e
mov ecx, dword [esp]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x401370
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x10]
push eax
push 0xf003f
push 0
push esi
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4013a1
mov esi, dword [esp + 8]
jmp 0x4013d0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push edi
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4013f9
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edi
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
je 0x4013f9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret

Function at 0x401400
Capabilities:
Delete registry key

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401445
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test esi, esi
je 0x401445
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret
Function at 0x4020a0
Capabilities:
Create shortcut via ishelllink
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x403756
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebp
push esi
mov esi, dword [esp + 0x234]
push edi
push 0x10000000
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
call sub.MFC42.DLL_CString::CString_2
call fcn.00401280
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and al, 0xfe
push eax
push esi
call edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x402290
lea eax, [esp + 0x10]
push eax
push 0x4041b0
push 1
push 0
push 0x4041a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x402257
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x4041c0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x402257
lea eax, [esp + 0x20]
push 0x104
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jl 0x402257
lea ecx, [esp + 0xc]
call fcn.00403352
mov eax, dword [esp + 0x10]
push 2
push 0
push 0x400
mov ebp, dword [eax]
push 0x400
lea ecx, [esp + 0x1c]
mov dword [esp + 0x240], 0
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [ebp + 0xc]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 1
call fcn.0040337c
lea ecx, [esp + 0x18]
mov byte [esp + 0x230], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::MakeUpper
mov eax, dword [esp + 0xc]
push str.IEXPLORE.EXE
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x402243
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x23c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x10]
push 0x4061f4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
lea ecx, [esp + 0xc]
mov dword [esp + 0x230], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 1
push esi
call edi
push 0x80000000
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
call sub.MFC42.DLL_CString::CString_2
call fcn.00401280
add esp, 8
mov ecx, dword [esp + 0x228]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x228
ret
Function at 0x4022b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x403778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x34]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x34]
push 1
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4053d8
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x40232e
push 0x4053d8
lea ecx, [esp + 8]
call fcn.0040335e
push str..lnk
lea ecx, [esp + 8]
call fcn.0040335e
mov edx, dword [esp + 4]
push 0
push edx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4023b3
push esi
push edi
mov edi, dword [esp + 0x40]
mov bl, 2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov esi, eax
mov eax, dword [esp + 0x10]
push 0x10
lea ecx, [esp + 0x14]
call dword [eax + 0x40]
test eax, eax
jne 0x4023ad
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4023ad
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov eax, dword [eax]
push edi
push eax
mov byte [esp + 0x3c], bl
call fcn.004020a0
add esp, 8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
test esi, esi
jne 0x402358
pop edi
pop esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004033e8
mov ecx, dword [esp + 0x24]
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x402480
Capabilities:
Delete registry value

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor esi, esi
push eax
push 0xf003f
push esi
push str.lnkfile
push 0x80000000
mov dword [esp + 0x20], esi
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4024ca
mov esi, dword [esp + 0xc]
push str.IsShortcut
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test esi, esi
je 0x4024ca
push esi
call ebp
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0xf003f
push 0
push str.piffile
push 0x80000000
call edi
test eax, eax
jne 0x402515
test esi, esi
je 0x4024f5
push esi
call ebp
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x402515
push str.IsShortcut
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test esi, esi
je 0x40251c
push esi
call ebp
pop edi
pop esi
pop ebp
pop ecx
ret
test esi, esi
je 0x40251c
push esi
call ebp
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x403470
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4041d0
push 0x4035a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x406214], 0xffffffff
or dword [0x406218], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40620c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x406208]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x406210], eax
call fcn.004035a7
cmp dword [0x406110], 0
jne 0x4034f3
push 0x4035a4
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00403592
push 0x405020
push 0x40501c
call sub.MSVCRT.dll__initterm
mov eax, dword [0x406204]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x406200]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x405018
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00402530
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x405280
Capabilities:
Encode data using xor

Disassembly:
push 0x405334
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
pushal
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov ebx, 0x93ecd7ec
xor al, 0xfa
inc ebp
stosb byte es:[edi], al
adc eax, edi
pop esi
pushal
jg 0x40529c
mov al, byte [pe_dos_header]
add byte [eax], al
add dword [eax], eax
add byte [eax], al
sub eax, 0x30303043
sub eax, 0x63746a65
jb 0x405331
push 0x696668
jge 0x4052ed
xor ch, byte [esi]
cmp dword [eax], esi
cmp dword [ebx], esi
xor al, 0x30
xor dh, byte [ebx]
cmp byte [ebx + esi], dh
cmp dword [edx], esi
cmp byte [0x36353334], dh
xor eax, 0x34353634
add byte ss:[edi + ebp*2 + 0x6c], ah
xor ch, byte gs:[esi]
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
adc byte [eax + eax*2], al
add bh, bh
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], dl
test byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi + 0x42], dl
xor eax, 0x2a263621
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 [esi], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or al, byte [eax]
or dword [eax + eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x5a], bh
inc edx
add byte [ebp + edx*2 + 0x40], dl
add byte [edi], bh
invalid
Function at 0x844b30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2e9000]
push edi
or ebp, 0xffffffff
jmp 0x844b52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x844b59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x844b48
mov eax, 1
add ebx, ebx
jne 0x844b6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x844b7c
jne 0x844b9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x844b9b
dec eax
add ebx, ebx
jne 0x844b88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x844b60
add ebx, ebx
jne 0x844b97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x844bed
xor ecx, ecx
sub eax, 3
jb 0x844bb3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x844c22
sar eax, 1
mov ebp, eax
jmp 0x844bbe
add ebx, ebx
jne 0x844bbe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x844b8c
inc ecx
add ebx, ebx
jne 0x844bcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x844b8c
add ebx, ebx
jne 0x844bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x844bce
jne 0x844bea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x844bce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x844c0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x844bfe
jmp 0x844b4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x844c0c
add edi, ecx
jmp 0x844b4e
pop esi
mov edi, esi
mov ecx, 0xfdae
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x844c2a
cmp byte [edi], 0x86
jne 0x844c2a
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 0x844c2f
lea edi, [esi + 0x42c000]
mov eax, dword [edi]
or eax, eax
je 0x844ca7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x448a04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x448aec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x844c5c
mov ecx, edi
jns 0x844c8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x448af4]
or eax, eax
je 0x844ca1
mov dword [ebx], eax
add ebx, 4
jmp 0x844c79
call dword [esi + 0x448af0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x844cd8
cmp al, 0xef
ja 0x844ccb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x844cad
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x844cba
mov ebp, dword [esi + 0x448af8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x844d0c
sub esp, 0xffffff80
jmp 0x5d4cc0
Function at 0x4027f0
Capabilities:
Get common file path
Get disk information
Get hostname
Get memory capacity
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2160
call fcn.0040d730
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x458108]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x45810c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x1c], edx
call fcn.004027e0
mov ecx, dword [0x458110]
mov edx, dword [0x458114]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], 0x20
jmp 0x402860
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x4665fc]
shl esi, 4
add esi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x40288c
mov dword [0x4665f8], 0xedeb2e40
jmp 0x4028a7
cmp eax, 0x3eb
jne 0x4028a7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x466088], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x4665fc], 0x9e6
mov dword [0x4665f4], 0xf4ea3dee
jne 0x4028e2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x4665fc], 0x213
jne 0x402983
push 0
lea eax, [ebp - 0x1960]
push eax
push 0
push 0x4024c0
push 0
push 0
call ebx
lea ecx, [ebp - 0x960]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x1160]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
push 0
lea ecx, [ebp - 0x2160]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
lea edx, [ebp - 0x30]
push edx
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
lea ecx, [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub edi, dword [ebp - 4]
cmp dword [0x4665fc], 0xc
jne 0x4029a1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 8]
mov edx, edi
shr edx, 5
lea ecx, [eax + edi]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 4]
xor eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x402860
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4029f0
Capabilities:
Create pipe
Create process on windows
Get thread local storage value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1408
call fcn.0040d730
mov eax, dword [0x4665fc]
mov ecx, dword [0x46608c]
shr eax, 3
test eax, eax
jbe 0x402b0c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edi, edi
cmp dword [0x4665fc], 0x959
jne 0x402af2
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
lea ecx, [ebp - 0x1408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0xc08]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.004027f0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x402a30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret