joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40996c
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x409982
push 0x80004005
call fcn.00408bce
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x409985
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x409e93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x433e80]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.004098e4
mov edi, eax
cmp edi, esi
je 0x409efb
lea ecx, [ebp - 0x70]
call fcn.0040987f
mov eax, edi
mov ecx, dword [ebp + 0x94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004151e0
add ebp, 0x98
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x409f13
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.00409e93
cmp eax, esi
jne 0x409f46
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x409f03
lea ecx, [ebp - 0x70]
call fcn.0040987f
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040987f
mov eax, esi
jmp 0x409ee1
Function at 0x40f76a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x404
lea ebp, [esp - 4]
mov eax, dword [0x433e80]
xor eax, ebp
mov dword [ebp + 0x404], eax
push 0x20
mov eax, 0x42808d
call fcn.00415222
mov edi, ecx
mov eax, dword [ebp + 0x414]
mov esi, dword [ebp + 0x410]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
call dword [0x433e58]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp], ebx
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x40f824
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408b6a
add esp, 0xc
test eax, eax
jl 0x40f824
mov edi, dword [ebp - 0x24]
cmp edi, 0x400
jg 0x40f80c
push edi
call fcn.00409213
test al, al
pop ecx
je 0x40f80c
mov eax, edi
call fcn.00418990
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x40f815
push edi
lea ecx, [ebp - 0x20]
call fcn.0040963b
push dword [ebp - 0x1c]
push edi
push esi
push eax
call fcn.00409721
cmp eax, ebx
jne 0x40f869
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40f834
lea ecx, [ebp]
call fcn.00409e3f
lea ecx, [ebp - 0x20]
call fcn.00408fb7
mov eax, 0x8007000e
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.004151e0
add ebp, 0x408
leave
ret 0x10
push 2
push ebx
push eax
call fcn.0040a07f
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
jne 0x40f887
call fcn.004097a4
mov esi, eax
jmp 0x40f94a
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x40f8a4
call fcn.004097a4
jmp 0x40f93f
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x40f89a
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x18], esi
jae 0x40f8eb
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40f8d7
lea ecx, [ebp]
call fcn.00409e3f
mov esi, 0x8007000e
lea ecx, [ebp - 0x20]
call fcn.00408fb7
mov eax, esi
jmp 0x40f841
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0040a691
mov dword [ebp - 4], 1
jmp 0x40f90c
cmp dword [ebp], ebx
jne 0x40f918
mov esi, 0x8007000e
jmp 0x40f941
push esi
push dword [ebp - 0x14]
push esi
push dword [ebp]
call fcn.00408c1b
mov eax, dword [ebp]
add esp, 0x10
push dword [ebp + 0x41c]
mov byte [eax + esi], bl
push dword [ebp]
lea ecx, [ebp - 0x2c]
call fcn.0040b22b
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x40f8dc
lea ecx, [ebp]
call fcn.00409e3f
jmp 0x40f8dc
Function at 0x410e5f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call fcn.00410cf1
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.DLL_FindResourceA]
push 5
push dword [esp + 0x24]
xor ebp, ebp
push esi
mov dword [esp + 0x1c], ebp
call edi
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x410f2e
push ebx
push 0xf0
push dword [esp + 0x28]
push esi
call edi
cmp eax, ebp
mov edi, dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, dword [sym.imp.KERNEL32.DLL_LockResource]
je 0x410eb5
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x410f12
push eax
call ebx
mov edi, eax
test edi, edi
je 0x410f12
push ebp
push edi
call fcn.00408e83
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call fcn.0040917f
test eax, eax
mov dword [esp + 0x14], eax
jne 0x410efe
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x410f1c
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x410f1c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop ebx
je 0x410f2e
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x410f6b
Capabilities:
Accept command line arguments

Disassembly:
push 0x10
mov eax, 0x4282d6
call fcn.004151ef
mov esi, ecx
mov dword [ebp - 0x18], esi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
lea ecx, [esi + 0x20]
call fcn.0040a6c9
mov dword [esi], vtable.CMainDlg.0
mov eax, dword [0x433028]
mov dword [esi + 0x4c], eax
mov eax, dword [0x433028]
mov dword [esi + 0xa8], eax
mov eax, dword [0x433028]
lea edi, [esi + 0xb8]
mov dword [edi], eax
mov eax, dword [0x433028]
lea ebx, [esi + 0xbc]
mov dword [ebx], eax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401d81
push 2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00403411
push 0x429af0
push eax
call fcn.00401f1a
lea ecx, [ebp - 0x14]
mov byte [esi + 0xad], al
call fcn.004010f1
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
mov dword [0x43533c], esi
call fcn.0040114e
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.0040114e
push 0x698
call fcn.00417211
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
mov byte [ebp - 4], 9
je 0x411051
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.00401d4e
mov ecx, dword [ebp - 0x14]
call fcn.0040896d
jmp 0x411053
xor eax, eax
push 0
push 0
mov ecx, esi
mov byte [ebp - 4], 8
mov dword [0x435338], eax
call fcn.00410f39
mov eax, dword [0x435338]
cmp byte [eax + 0x46], 0
je 0x411076
push 6
jmp 0x411078
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x43533c]
mov ecx, dword [0x435338]
mov eax, dword [eax + 4]
mov dword [ecx + 0x4c], eax
lea ecx, [ebp - 0x10]
call fcn.004010f1
lea ecx, [ebp + 8]
call fcn.004010f1
lea ecx, [ebp + 0xc]
call fcn.004010f1
mov eax, esi
call fcn.0041528e
ret 8

Function at 0x411cf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
neg esi
sbb esi, esi
lea eax, [ecx - 0x20]
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x411d33
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x411d24
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x411d39
cmp dword [ebp + 0xc], 0
jne 0x411d33
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x411d50
mov eax, dword [ebp + 0x10]
shr eax, 0x10
movsx eax, ax
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x20]
call fcn.00411804
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x412091
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x4ac]
sub esp, 0x52c
mov eax, dword [0x433e80]
xor eax, ebp
mov dword [ebp + 0x4a8], eax
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 8
mov dword [ebp - 0x60], 0xc04
call fcn.0040a436
push 0x429524
push dword [ebp + 0x4b4]
mov ebx, 0x4352fc
push esi
mov ecx, ebx
call fcn.00409447
push esi
mov dword [ebp - 0x54], esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov eax, dword [0x433028]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
call fcn.004012e2
lea ecx, [ebp - 0x48]
call fcn.00401661
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x48]
call fcn.00401306
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00401316
push dword [ebp - 0x50]
push 1
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x412160
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x50]
call fcn.004010f1
lea ecx, [ebp - 0x4c]
call fcn.004010f1
xor eax, eax
jmp 0x412221
call fcn.00401d06
test al, al
jne 0x41217e
push 9
push esi
push esi
push dword [ebp - 0x4c]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x412149
push 0xc0
call fcn.00417211
mov edi, eax
cmp edi, esi
pop ecx
je 0x4121b8
push ecx
lea eax, [ebp - 0x50]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.00401d4e
push ecx
lea eax, [ebp - 0x4c]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.00401d4e
mov ecx, edi
call fcn.00410f6b
mov edi, eax
jmp 0x4121ba
xor edi, edi
cmp edi, esi
je 0x4121f8
jmp 0x4121db
lea eax, [ebp - 0x80]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x4121db
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
push esi
push esi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4121c0
mov edx, dword [edi]
inc eax
push eax
mov ecx, edi
mov dword [ebp - 0x54], eax
call dword [edx + 4]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp - 0x50]
call fcn.004010f1
lea ecx, [ebp - 0x4c]
call fcn.004010f1
mov ecx, ebx
call fcn.0040b34a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 0x4a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004151e0
add ebp, 0x4ac
leave
ret 0x10

Function at 0x412908
Capabilities:
Hide graphical window

Disassembly:
cmp word [esp + 4], 0
push esi
mov esi, ecx
je 0x41291c
mov byte [esi + 0xac], 1
jmp 0x412935
push 5
push dword [esi + 4]
mov byte [esi + 0xac], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004128cd
pop esi
ret 4
Function at 0x414a37
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x433e80]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004149cc
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00415630
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x414a86
cmp dword [ebp - 0x1c], 5
jb 0x414a9e
jmp 0x414a9a
cmp dword [ebp - 0x10], 1
jne 0x414a9e
cmp dword [ebp - 0x1c], 4
ja 0x414a9a
jne 0x414a9e
cmp dword [ebp - 0x18], 0
jbe 0x414a9e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42ae70
call fcn.00408c4e
test eax, eax
jge 0x414abf
mov byte [0x43528c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004151e0
add ebp, 0x78
leave
ret

Function at 0x414dc5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4353d0], 0
push esi
jne 0x414d38
call fcn.00414c63
test eax, eax
je 0x414d7b
mov eax, dword [0x4353d0]
cmp eax, 1
jne 0x414d59
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x414d7b
pop esi
ret
push eax
call dword [0x4353d8]
test eax, eax
jne 0x414dc3
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x414d7f
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4353d0]
call dword [0x4353d8]
mov edi, eax
test edi, edi
je 0x414da6
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, edi
jmp 0x414dc2
lea edi, [esi + 0xff0]
push esi
push dword [0x4353d0]
call dword [0x4353d4]
add esi, 0x10
cmp esi, edi
jb 0x414dac
mov eax, esi
pop edi
pop esi
ret
jmp 0x414d25

Function at 0x4151e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433e80]
jne 0x4151ea
repz ret
jmp fcn.0041a93c
Function at 0x4225c2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041a380
xor ebx, ebx
cmp dword [0x435dd0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x422697
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x422602
xor eax, eax
jmp 0x42275b
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4225fb
push eax
call fcn.0041a31d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435dd0], eax
call esi
push eax
call fcn.0041a31d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435dd4], eax
call esi
push eax
call fcn.0041a31d
mov dword [0x435dd8], eax
lea eax, [ebp - 8]
push eax
call fcn.0041e89a
test eax, eax
pop ecx
pop ecx
je 0x422665
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004183c3
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x422697
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041a31d
cmp eax, ebx
pop ecx
mov dword [0x435de0], eax
je 0x422697
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041a31d
pop ecx
mov dword [0x435ddc], eax
mov eax, dword [0x435ddc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x422710
cmp dword [0x435de0], esi
je 0x422710
push eax
call fcn.0041a389
pop ecx
call eax
cmp eax, ebx
je 0x4226dd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x435de0]
call fcn.0041a389
pop ecx
call eax
test eax, eax
je 0x4226dd
test byte [ebp - 0x18], 1
jne 0x422710
lea eax, [ebp - 0xc]
push eax
call fcn.0041e8d1
test eax, eax
pop ecx
je 0x4226f8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004183c3
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x422707
or dword [ebp + 0x10], 0x200000
jmp 0x422741
or dword [ebp + 0x10], 0x40000
jmp 0x422741
mov eax, dword [0x435dd4]
cmp eax, esi
je 0x422741
push eax
call fcn.0041a389
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x422741
mov eax, dword [0x435dd8]
cmp eax, esi
je 0x422741
push dword [ebp - 4]
push eax
call fcn.0041a389
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 [0x435dd0]
call fcn.0041a389
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2001504
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp + 0xc]
push edi
xor esi, esi
push eax
lea eax, [ebp - 0xc]
push esi
push eax
push 0x20014c1
push esi
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], esi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov edi, eax
push 0x2bf20
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x2001553
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret 8

Function at 0x20019d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0200d690
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x7ff
xor eax, eax
lea edi, [ebp - 0x1ffe]
cmp byte [ebp + 0x10], bl
mov word [ebp - 0x2000], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x2001a2c
push dword [0x20132b8]
lea eax, [ebp - 0x2000]
push eax
call fcn.02004dc0
push dword [ebp + 8]
lea eax, [ebp - 0x2000]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
jmp 0x2001a3e
push dword [ebp + 8]
lea eax, [ebp - 0x2000]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
cmp dword [esi + 0x134], ebx
je 0x2001a5b
push ebx
lea eax, [ebp - 0x2000]
push dword [ebp + 0xc]
push eax
call fcn.02007a2a
add esp, 0xc
jmp 0x2001a70
push 1
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x2000]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x2005343
Capabilities:
Delete directory

Disassembly:
pushfd
imul edi, dword [0xe2980e14], 0xfffffff9
in al, 0xfb
sub bl, dh
ljmp 0xfdc2
in al, 0xbe
scasb al, byte es:[edi]
add byte [edx], bl
jno 0x200530f
xchg ebp, eax
add al, byte [esi - 0x3aa58a2e]
xchg dh, al
loopne 0x2005293
scasd eax, dword es:[edi]
inc edx
mov bl, 1
cmpsd dword [esi], dword es:[edi]
xchg ah, bl
stosb byte es:[edi], al
enter 0xffffffffffffc1bd, 0xffffffffffffffb7
pop es
rcl byte [ebp - 0x20], cl
and dword [esp + edi*8], ebp
cwde
cmp ebp, dword es:[eax - 0x2ce730fb]
mov al, 0xec
jno 0x20052db
sal byte [ecx], 0x70
jb 0x200530f
dec edx
daa
pop es
xchg ecx, eax
mov dword [0xe8c62f0], eax
pop eax
mov esp, 0x27eb99e8
or esi, dword [0xaa235b01]
push esi
out 0xf3, eax
mov al, byte [0x8274f0d8]
out 0x38, eax
pop ecx
adc esi, dword [ebp + 0x2c]
stosd dword es:[edi], eax
add edx, dword [ebx + 0x53]
push ebx
mov byte [0x7ae9de1f], al
in eax, 0xe9
popaw
lodsd eax, dword [esi]
salc
rcr ebp, cl
imul edx, dword [ecx + edx - 0x59], 0x85b0f6bc

Function at 0x2005380
Capabilities:
Delete directory

Disassembly:
pushfd
imul edi, dword [0xe2980e14], 0xfffffff9
in al, 0xfb
sub bl, dh
ljmp 0xfdc2
in al, 0xbe
scasb al, byte es:[edi]
add byte [edx], bl
jno 0x200530f
xchg ebp, eax
add al, byte [esi - 0x3aa58a2e]
xchg dh, al
loopne 0x2005293
scasd eax, dword es:[edi]
inc edx
mov bl, 1
cmpsd dword [esi], dword es:[edi]
xchg ah, bl
stosb byte es:[edi], al
enter 0xffffffffffffc1bd, 0xffffffffffffffb7
pop es
rcl byte [ebp - 0x20], cl
and dword [esp + edi*8], ebp
cwde
cmp ebp, dword es:[eax - 0x2ce730fb]
mov al, 0xec
jno 0x20052db
sal byte [ecx], 0x70
jb 0x200530f
dec edx
daa
pop es
xchg ecx, eax
mov dword [0xe8c62f0], eax
pop eax
mov esp, 0x27eb99e8
or esi, dword [0xaa235b01]
push esi
out 0xf3, eax
mov al, byte [0x8274f0d8]
out 0x38, eax
pop ecx
adc esi, dword [ebp + 0x2c]
stosd dword es:[edi], eax
add edx, dword [ebx + 0x53]
push ebx
mov byte [0x7ae9de1f], al
in eax, 0xe9
popaw
lodsd eax, dword [esi]
salc
rcr ebp, cl
imul edx, dword [ecx + edx - 0x59], 0x85b0f6bc

Function at 0x2005cd2
Capabilities:
Encode data using xor

Disassembly:
stosd dword es:[edi], eax
mov bl, 0xe3
lodsb al, byte [esi]
movsb byte es:[edi], byte [esi]
stosd dword es:[edi], eax
sub al, 0xbd
sub byte [eax - 0x71476a5f], ah
div ch
mov dword [ebp + 0x2c], edx
jns 0x2005d5f
js 0x2005ced
add eax, 0x345ba96c
nop
insb byte es:[edi], dx
test eax, 0x5490345b
push esp
dec edx
inc ecx
aad 0x6a
push edi
xor edi, ebp
xchg edi, eax
sub eax, 0xb2250f04
cmp dword [esi], edx
xlatb
dec edx
dec ecx
sbb cl, dh
loopne 0x2005ce6
leave
pop esi
aas
in al, 0xc
stc
pushal
pop eax
int3
push edx
push ebp
jg 0x2005d9e
adc byte [eax + 0x31], al
pop ss
cmp dword [ebp + 0x3effb9c3], 0xf
sbb bh, byte [ebp - 0x24]
out dx, al
cmp edi, ebp
int1
mov ebx, 0x8b732ef5
xchg ecx, eax
dec eax
out dx, eax
dec ecx
int3
mov dword [esi + ebp*2 - 0x7273c0fe], 0x7a7d4b5b
lds ecx, [edx - 0x11]
sub byte [ebx + 0x42], dh
fcmovnb st(0), st(5)
scasd eax, dword es:[edi]
pop es
lea esi, [ebx - 0x473ca41]
ret
Function at 0x200783f
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1214
call fcn.0200d690
push ebx
push esi
push edi
push 7
pop ecx
mov esi, str.UnknownProcess
lea edi, [ebp - 0x214]
push 0x7a
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
xor eax, eax
lea edi, [ebp - 0x1f6]
or ebx, 0xffffffff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1214]
push 0x1000
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x2007907
mov esi, dword [ebp - 8]
mov dword [ebp - 4], 0
shr esi, 2
je 0x2007900
lea edi, [ebp - 0x1214]
push dword [edi]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x20078f5
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x20078f5
lea eax, [ebp - 0x214]
push 0x208
push eax
push dword [ebp - 0xc]
push ebx
call sub.PSAPI.DLL_GetModuleBaseNameW
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x200790e
inc dword [ebp - 4]
add edi, 4
cmp dword [ebp - 4], esi
jb 0x20078a1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x1214]
jmp 0x2007909