joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fde
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a90e
mov eax, dword fs:[0]
push eax
mov eax, 0x1194
call fcn.00418270
mov eax, dword [0x433028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1194], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x118c], eax
mov eax, dword [ebp + 0x14]
push 0xe3e
mov dword [ebp - 0x1198], eax
xor ebx, ebx
lea eax, [ebp - 0x1188]
push ebx
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
push 0x7e
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0x18
push dword [edi]
lea eax, [ebp - 0x1188]
call fcn.00401118
lea eax, [ebp - 0x962]
push eax
lea ecx, [ebp - 0x1190]
call dword [0x424498]
lea ecx, [ebp - 0xb6a]
push ecx
lea ecx, [ebp - 0x119c]
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0040373e
pop ecx
pop ecx
push eax
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 1
call dword [0x424334]
lea ecx, [ebp - 0x119c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1190]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x40
lea eax, [ebp - 0x90]
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x70]
call dword [0x424340]
push 0x2b0
lea eax, [ebp - 0x344]
push ebx
push eax
mov dword [ebp - 0x348], ebx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x4500
push 0x2b4
lea eax, [ebp - 0x348]
push eax
push 0x10
push dword [edi]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [ebp - 0x134]
push eax
lea ecx, [esi + 0x5c]
call dword [0x424340]
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x403138
cmp eax, dword [esi + 0x54]
je 0x403138
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x348]
cmp eax, ebx
jne 0x403145
mov eax, dword [esi + 0x54]
push dword [ebp - 0x1194]
mov dword [esi + 0x58], eax
lea eax, [esi + 0x64]
push eax
call fcn.00402f27
push dword [ebp - 0x118c]
lea eax, [esi + 0x68]
push eax
call fcn.00402f27
push dword [ebp - 0x1198]
lea eax, [esi + 0x6c]
push eax
call fcn.00402f27
push ebx
push ebx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004179ba
leave
ret 0x10
Function at 0x413e67
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x413e89
xor esi, esi
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
pop esi
ret 4
test al, 0x10
je 0x413e92
xor esi, esi
inc esi
jmp 0x413e79
push 2
pop esi
jmp 0x413e79

Function at 0x413e97
Capabilities:
Get session user name

Disassembly:
push 0x10
mov eax, 0x418553
call fcn.0041808f
xor esi, esi
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 0x100
call dword [0x424328]
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push 2
add eax, eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90u.dll_new__
pop ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x413efc
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
call dword [0x424340]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x14], 0
je 0x413f0e
push dword [ebp - 0x14]
call sub.mfc90u.dll_delete__
pop ecx
mov eax, dword [ebp + 8]
call fcn.004180fb
ret 4
Function at 0x41481b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [edi + 0xa0], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], 1
jle 0x4148ac
push esi
test ebx, ebx
jl 0x4148b4
cmp ebx, dword [edi + 0xa0]
jge 0x4148b4
cmp dword [ebp - 8], 0
mov eax, dword [edi + 0x9c]
mov esi, dword [eax + ebx*4]
je 0x41488b
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.00416aea
mov ecx, dword [esi + 4]
mov eax, dword [eax]
or dword [ebp - 4], 1
push 4
mov dword [ebp - 8], ecx
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x41488b
mov dword [ebp - 8], 1
jmp 0x41488f
and dword [ebp - 8], 0
test byte [ebp - 4], 1
je 0x4148a2
and dword [ebp - 4], 0xfffffffe
lea ecx, [ebp - 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc ebx
cmp ebx, dword [edi + 0xa0]
jl 0x414837
pop esi
mov eax, dword [ebp - 8]
pop ebx
leave
ret 4
call fcn.004174a2
int3

Function at 0x414943
Capabilities:
Set registry value

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
xor ebx, ebx
cmp dword [ebp + 0xb4], ebx
mov dword [esp + 8], 1
jle 0x4149f7
push esi
push edi
add ebp, 0xac
mov esi, 0x4263a8
and dword [esp + 0x14], 0
mov edi, 0x434c20
mov eax, ebx
mov ecx, ebp
call fcn.0041017c
push dword [eax]
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
je 0x4149e4
add dword [esp + 0x14], 4
add edi, 4
cmp dword [esp + 0x14], 0xe4
jb 0x414978
cmp dword [esp + 0x10], 0
je 0x4149df
mov eax, ebx
mov ecx, ebp
call fcn.0041017c
mov edi, dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esp + 0x24]
push esi
push 1
push 0
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4149df
mov dword [esp + 0x10], 1
jmp 0x4149e4
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, dword [eax + 0xb4]
jl 0x41496e
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebp
pop ebx
pop ecx
pop ecx
ret 8
Function at 0x414dc4
Capabilities:
Check if file exists

Disassembly:
push 0x2c
mov eax, 0x419200
call fcn.0041805c
mov eax, dword [edi + 0x48]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x18], eax
jle 0x414ed6
mov dword [ebp - 0x14], ebx
mov eax, edi
call fcn.00412f38
test eax, eax
jne 0x414ed6
test ebx, ebx
jl 0x414edc
cmp ebx, dword [edi + 0x48]
jge 0x414edc
mov eax, dword [edi + 0x44]
lea eax, [eax + ebx*4]
mov esi, dword [eax]
test esi, esi
je 0x414ec8
push 1
push 0x38
push esi
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
je 0x414ec8
cmp byte [esi + 0x34], 0
je 0x414ec8
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.004169ca
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x414ebb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414ebb
lea ecx, [ebp - 0x38]
call dword [sym.imp.pcoshelper.dll_Ordinal_63]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
push 0x5c
pop ecx
cmp cx, ax
jne 0x414e8b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
push 1
dec eax
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Delete]
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
lea ecx, [ebp - 0x38]
push eax
call dword [sym.imp.pcoshelper.dll_Ordinal_996]
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
add eax, 0x5a
push eax
push dword [ebp - 0x10]
push dword [0x434a84]
push dword [edi + 0x90]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
add dword [ebp - 0x14], 5
inc ebx
cmp ebx, dword [ebp - 0x18]
jl 0x414de3
call fcn.004180fb
ret
call fcn.004174a2
int3
Function at 0x414ee2
Capabilities:
Copy file
Delete file

Disassembly:
push 0x28
mov eax, 0x4191d3
call fcn.0041805c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
je 0x414f19
lea edi, [eax + eax]
mov eax, dword [esi + 8]
add eax, dword [esi]
push edi
push ecx
push eax
call sub.MSVCR90.dll_memcpy
add edi, 2
add dword [esi + 8], edi
add esp, 0xc
inc dword [esi + 4]
cmp dword [esi + 4], 0x200
jge 0x414f34
cmp byte [ebp + 0xc], bl
jne 0x414f34
cmp dword [esi + 8], 0x41000
jbe 0x415050
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov byte [eax + ecx], bl
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov byte [eax + ecx + 1], bl
mov eax, dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x414f4a
sub eax, edx
sar eax, 1
je 0x415050
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call sub.mfc90u.dll_AfxGetThread
cmp eax, ebx
je 0x414f7c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x414f7e
xor eax, eax
cmp eax, ebx
jne 0x414f87
mov dword [ebp - 0x34], ebx
jmp 0x414f8d
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [esi]
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], eax
call dword [0x424328]
mov byte [ebp - 4], 1
call sub.mfc90u.dll_AfxGetThread
cmp eax, ebx
je 0x414fb8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x414fba
xor eax, eax
lea ecx, [ebp + 0xc]
push ecx
mov ecx, eax
call sub.mfc90u.dll_CWnd::GetWindowTextW
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a], eax
mov eax, 0x654
lea ecx, [ebp - 0x10]
mov word [ebp - 0x24], ax
call dword [0x424328]
mov byte [ebp - 4], 2
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 4]
push 0x4263a8
push str.IDS_MOVING_TO_RECYLE_BIN
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call dword [sym.imp.pcoshelper.dll_Ordinal_727]
mov byte [ebp - 4], 3
push dword [esi + 4]
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 0x41000
push ebx
push dword [esi]
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.004180fb
ret 8
Function at 0x4161aa
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x18
mov eax, 0x4190cd
call fcn.0041805c
and dword [ebp - 4], 0
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call dword [0x42433c]
call fcn.00413e67
xor esi, esi
inc esi
cmp eax, esi
jne 0x41626b
lea ecx, [ebp - 0x24]
call dword [sym.imp.pcoshelper.dll_Ordinal_41]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
cmp ax, 0x5c
je 0x41620c
push 0x42a2f8
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryEmptyW]
test eax, eax
setne al
test al, al
je 0x41625e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41624c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call dword [sym.imp.pcoshelper.dll_Ordinal_114]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
call fcn.004180fb
ret 4
test al, 5
jne 0x41626f
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x416271
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call dword [sym.imp.pcoshelper.dll_Ordinal_114]
xor esi, esi
jmp 0x41627e
xor esi, esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call dword [sym.imp.pcoshelper.dll_Ordinal_114]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
jmp 0x416244
Function at 0x416feb
Capabilities:
Create process on windows

Disassembly:
push 0x40
mov eax, 0x4190a0
call fcn.0041805c
mov esi, ecx
push 0x3c
pop ebx
xor edi, edi
push ebx
lea eax, [ebp - 0x4c]
push edi
push eax
mov dword [ebp - 4], edi
call sub.MSVCR90.dll_memset
add esp, 8
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0xc
mov dword [ebp - 0x40], 0x42ada0
call dword [0x42433c]
mov ebx, dword [ebp + 0xc]
call fcn.00416f79
mov dword [ebp - 0x28], eax
cmp eax, edi
je 0x417055
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esi]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
jmp 0x4170b9
lea ecx, [ebp + 0xc]
call dword [0x424328]
push 0x4263a8
push str.IDS_ERR_CONVRTING
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x434888
mov byte [ebp - 4], 1
call dword [sym.imp.pcoshelper.dll_Ordinal_727]
mov byte [ebp - 4], 2
push dword [ebp + 8]
mov eax, dword [eax]
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 1
push edi
push edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.pcoshelper.dll_Ordinal_258]
add esp, 0x14
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.004180fb
ret 8

Function at 0x4179ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433028]
jne 0x4179c4
repz ret
jmp fcn.00417ede
Function at 0x405f20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4267db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4041f4
call fcn.00406b81
push 4
mov dword [esp + 0x18], 0
call fcn.0040783b
mov edi, eax
add esp, 4
test edi, edi
je 0x405f94
push ebx
call fcn.00406a59
mov dword [edi], eax
call fcn.00406818
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406b42
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405f88
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406b6a
pop ebx
jmp 0x405f96
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4082b1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a648]
jne 0x4082bb
repz ret
jmp fcn.0040cb3c
Function at 0x411f7c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a648]
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.0040b6ad
and dword [ebp - 0x14], 0
cmp dword [0x42cf8c], 0
mov dword [ebp - 0x18], eax
jne 0x41202f
push 0x403f00
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4120d7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403ef4
push ebx
call edi
test eax, eax
je 0x4120d7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403ee4
push ebx
mov dword [0x42cf8c], eax
call edi
push eax
call esi
push 0x403ed0
push ebx
mov dword [0x42cf90], eax
call edi
push eax
call esi
push 0x403eb4
push ebx
mov dword [0x42cf94], eax
call edi
push eax
call esi
mov dword [0x42cf9c], eax
test eax, eax
je 0x41202f
push 0x403e9c
push ebx
call edi
push eax
call esi
mov dword [0x42cf98], eax
mov eax, dword [0x42cf98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412088
cmp dword [0x42cf9c], ecx
je 0x412088
push eax
call esi
push dword [0x42cf9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412088
test ebx, ebx
je 0x412088
call edi
test eax, eax
je 0x41207f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41207f
test byte [ebp - 8], 1
jne 0x412088
or dword [ebp + 0x10], 0x200000
jmp 0x4120bb
mov eax, dword [0x42cf90]
cmp eax, dword [ebp - 0x18]
je 0x4120bb
push eax
call esi
test eax, eax
je 0x4120bb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4120bb
mov eax, dword [0x42cf94]
cmp eax, dword [ebp - 0x18]
je 0x4120bb
push eax
call esi
test eax, eax
je 0x4120bb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42cf8c]
call esi
test eax, eax
je 0x4120d7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4120d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004082b1
leave
ret

Function at 0x425150
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0x7b0ce8], ax
mov word [0x7b0cec], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0x7b0ce8
mov dword [0x7b0cf4], 0x320033
mov dword [0x7b0cfc], 0x6c006c
mov word [0x7b0cee], cx
mov dword [0x7b0cf0], 0x6c0065
mov dword [0x7b0cf8], 0x64002e
mov word [0x7b0cea], dx
mov word [0x7b0d00], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x7b0ce4]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0x7b0ce0], eax
mov eax, dword [0x431d34]
push edx
push eax
mov byte [0x42cfab], 0x65
mov dword [0x42cfa1], 0x75747269
mov word [0x42cfa5], 0x6c61
mov byte [0x42cfa0], 0x56
mov word [0x42cfac], 0x7463
mov byte [0x42cfae], 0
mov dword [0x42cfa7], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret
Function at 0x425240
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0x80c
cmp dword [0x7b0ce4], 0x37
jne 0x4252db
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_VirtualLock]
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
lea ecx, [esp + 0x410]
push ecx
push 0
push 0x403f80
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov edx, dword [0x7b1cd8]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x431d34]
mov byte [edx + esi], cl
add esp, 0x80c
ret
Function at 0x425480
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b0ce4]
sub esp, 0x9cc
push ebx
push ebp
push esi
mov esi, dword [0x431d34]
shr eax, 3
push edi
test eax, eax
je 0x42562a
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jmp 0x4254b4
mov esi, dword [esp + 0x18]
cmp dword [0x7b0ce4], 0x1c
jne 0x4254d1
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x42b2d0]
mov eax, dword [0x42b2d4]
mov ecx, dword [0x42b2d8]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x24], edx
mov edx, dword [0x42b2dc]
mov ebp, 0xc6ef3720
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], 0x20
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x30]
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
lea edx, [edi + ebp]
xor eax, ecx
xor eax, edx
sub ebx, eax
mov eax, ebx
shl eax, 4
mov dword [0x7b0c54], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], eax
cmp dword [0x7b0ce4], 0x1be
jne 0x42555d
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, ebx
shr esi, 5
add esi, dword [esp + 0x34]
cmp dword [0x7b0ce4], 0x979
mov dword [0x7b0c58], 0xff6b3619
mov dword [0x7b0c5c], 0xffffffff
jne 0x4255af
mov edx, dword [esp + 0x28]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea eax, [esp + 0x1dc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebx + ebp]
xor esi, eax
mov eax, dword [esp + 0x14]
xor eax, esi
sub edi, eax
add ebp, 0x61c88647
dec dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x42550a
cmp dword [0x7b0ce4], 0x8d4
jne 0x4255e7
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ebx
cmp dword [0x7b0ce4], 0x17
jne 0x425619
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x98]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x4254b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9cc
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219