joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c7d0
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0x34
mov eax, dword [0x87f03c]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov esi, dword [esp + 0x3c]
cmp byte [esi + 8], 0
je 0x40c85a
push edi
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__locking]
push dword [esi + 4]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov edi, dword [esi]
lea eax, [esp + 0x18]
push eax
push dword [edi]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
add esp, 0x18
test eax, eax
jne 0x40c843
mov eax, dword [esp + 0xe]
and eax, 0xf000
cmp eax, 0x4000
jne 0x40c843
push dword [edi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
mov byte [esi + 8], 0
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0040e6c4
add esp, 0x34
ret
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40c855
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esi + 8], 0
pop edi
mov ecx, dword [esp + 0x34]
pop esi
xor ecx, esp
call fcn.0040e6c4
add esp, 0x34
ret

Function at 0x40c8d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x38
mov eax, dword [0x87f03c]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0x4c]
push 0x87a78c
push dword [esi]
mov dword [esp + 0x14], edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40c915
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0040e6c4
add esp, 0x38
ret
lea eax, [esp + 0x10]
push eax
push dword [esi]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
add esp, 8
test eax, eax
jne 0x40c9d7
mov eax, dword [esp + 0x16]
and eax, 0xf000
cmp eax, 0x8000
jne 0x40c9d7
mov esi, dword [esp + 0x24]
test esi, esi
je 0x40c9d7
push ebp
cmp esi, 0x8000000
ja 0x40c9b8
lea eax, [esi + 1]
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x40c9b8
xor edi, edi
test esi, esi
je 0x40c98b
nop
push ebx
push esi
lea eax, [edi + ebp]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
test eax, eax
je 0x40c98b
add edi, eax
sub esi, eax
jne 0x40c970
push ebx
mov byte [edi + ebp], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x40c9a3
mov dword [eax], edi
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0040e6c4
add esp, 0x38
ret
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0040e6c4
add esp, 0x38
ret
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push 1
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 8
mov byte [eax], 0
test edi, edi
je 0x40c9a6
mov ecx, dword [esp + 0x40]
mov dword [edi], 0
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040e6c4
add esp, 0x38
ret
Function at 0x40ca10
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
sub esp, 0x34
mov eax, dword [0x87f03c]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov esi, dword [esp + 0x3c]
lea eax, [esp + 4]
push eax
push dword [esi]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wstat64i32]
add esp, 8
test eax, eax
jne 0x40ca64
mov eax, dword [esp + 0xa]
and eax, 0xf000
cmp eax, 0x4000
jne 0x40ca64
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
pop esi
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0040e6c4
add esp, 0x34
ret
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ca90
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
pop esi
setne cl
mov eax, ecx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0040e6c4
add esp, 0x34
ret
mov ecx, dword [esp + 0x34]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0040e6c4
add esp, 0x34
ret

Function at 0x40cad0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebp
push dword [esp + 0x14]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x40caef
lea eax, [ebp + 1]
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40cb2c
push edi
nop
push ebp
push esi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40cb1f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0x16
je 0x40cb27
cmp edi, esi
jb 0x40cb2b
add ebx, edi
sub esi, edi
test esi, esi
jne 0x40cb00
pop edi
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 8
xor eax, eax
test esi, esi
setne al
pop esi
pop ebx
pop ebp
ret

Function at 0x40d6e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
cmp byte [0x87f458], 0
jne 0x40d720
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x40d712
push str.SystemFunction036
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x87f454], eax
mov byte [0x87f458], 1
jmp 0x40d725
mov eax, dword [0x87f454]
mov byte [0x87f458], 1
jmp 0x40d725
mov eax, dword [0x87f454]
test eax, eax
je 0x40d73a
push dword [esp + 8]
push dword [esp + 8]
call eax
test al, al
je 0x40d73a
xor eax, eax
ret
mov eax, 1
ret
Function at 0x40d980
Capabilities:
Get file version info

Disassembly:
sub esp, 0x70
mov eax, dword [0x87f03c]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
call fcn.0040a500
mov edi, edx
mov esi, eax
push edi
push esi
call fcn.0040a070
add esp, 8
test eax, eax
je 0x40d9bc
mov edx, edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0040e6c4
add esp, 0x70
ret
push ebx
push ebp
push str.Windows
call fcn.0040a580
push edx
push eax
push str.name
push edi
push esi
call fcn.0040a5b0
add esp, 0x18
xor ebx, ebx
push ebx
push str.kernel32.dll
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test ebp, ebp
je 0x40dad1
push ebp
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov ebx, eax
push ebx
push ebp
push 0
push str.kernel32.dll
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40dad1
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0x87a94c
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40dad1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x18]
and dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
movzx eax, word [eax + 0xe]
push eax
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [esp + 0x20]
push ecx
push str._u._u._u
push 0x64
push eax
call fcn.0040a700
lea eax, [esp + 0x30]
push eax
call fcn.0040a580
push edx
push eax
push str.version
push edi
push esi
call fcn.0040a5b0
mov eax, dword [esp + 0x40]
movzx eax, word [eax + 0xc]
push eax
push 0x87a95c
lea eax, [esp + 0x50]
push 0x64
push eax
call fcn.0040a700
add esp, 0x40
lea eax, [esp + 0x18]
push eax
call fcn.0040a580
push edx
push eax
push str.build
push edi
push esi
call fcn.0040a5b0
push ebx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
push edi
push esi
call fcn.00409ea0
add esp, 0x24
mov edx, edi
mov eax, esi
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.0040e6c4
add esp, 0x70
ret
push ebx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
push edi
push esi
call fcn.00409da0
add esp, 0xc
call fcn.0040a4f0
mov ecx, dword [esp + 0x7c]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.0040e6c4
add esp, 0x70
ret

Function at 0x40f1d5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40f214
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40f214
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f214
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40f214
cmp dword [ecx + 0x74], 0xe
jbe 0x40f214
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40f4d9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.0040f4b5
pop esi
leave
ret 8
Function at 0x40fab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41311d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x87f03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov dword [eax + 8], 0
mov eax, dword [esi]
mov dword [eax + 0xc], 0
mov eax, dword [esi]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [esi]
mov eax, dword [esi + 4]
push dword [esi + 0xc]
push 0x800
push dword [esi + 8]
push dword [eax + 0x228]
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x40fc48
mov eax, dword [esi + 4]
push dword [eax + 0x234]
mov eax, dword [esi]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40fc32
mov esi, dword [esi + 4]
push eax
lea eax, [ebp - 0x13]
push eax
call fcn.0040fa10
add esp, 8
lea ecx, [ebp - 0x71]
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.0040f720
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x70]
push str.Fatal:_pipe_read_failed__result:
push eax
call fcn.0040f7e0
add esp, 0xc
push 2
push 0x87afd8
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00403340
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov ecx, esi
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 2
call fcn.00412620
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x40fc0c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fc02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40fc02
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040e25c
add esp, 8
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004019f0
lea ecx, [ebp - 0x58]
call fcn.004019f0
xor al, al
jmp 0x40fc4a
mov eax, dword [esi + 4]
push 0
push dword [esi + 0xc]
push dword [esi]
push dword [eax + 0x228]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e6c4
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44d014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x6e6f7257
call fcn.0040e3b2
push ecx
mov ecx, 0x7118c06b
add ecx, esi
add ecx, esi
xor ecx, esi
add ecx, esi
pop ecx
call fcn.0040e3b2
mov dword [ebp - 0x1c], 0x754e2067
mov dword [ebp - 0x18], 0x7265626d
call fcn.0040e3b2
mov dword [ebp - 0x14], 0x20664f20
mov dword [ebp - 0x10], 0x75677241
mov dword [ebp - 0xc], 0x746e656d
call fcn.0040e3b2
mov word [ebp - 8], 0x73
push eax
sbb eax, eax
sbb eax, eax
mov eax, 0x7a8a9cb0
add eax, eax
add eax, esp
nop
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebx
mov ebx, 0xdec6b09c
mov ebx, 0xf5d3b395
pop ebx
xor eax, eax
mov edx, eax
cmp dword [ebp + 0xc], eax
jle 0x4010b2
mov ebx, dword [ebp - 0x24]
sub eax, 1
push 0x18
pop ecx
cmovs eax, ecx
mov cl, byte [ebp + eax - 0x20]
xor byte [ebx + edx], cl
inc edx
cmp edx, dword [ebp + 0xc]
jl 0x40109c
push edx
mov edx, 0x42270ef6
mov edx, 0xe7c29f7e
sub edx, ecx
pop edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00402e7f
leave
ret
Function at 0x401403
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x168
mov eax, 0x44239f
call fcn.00402f5e
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x24]
xor ebx, ebx
mov dword [ebp - 0x174], ecx
test ecx, ecx
mov dword [ebp - 0x168], ebx
lea edi, [ebp - 0x34]
mov dword [ebp - 4], ebx
mov eax, ebx
mov dword [ebp - 0x15c], 0x128
cmove edx, edi
mov dword [ebp - 0x160], eax
mov esi, ebx
mov dword [ebp - 0x24], 0x6c6e6977
mov dword [ebp - 0x20], 0x6e6f676f
mov ecx, ebx
mov dword [ebp - 0x1c], 0x6578652e
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x34], 0x6c707865
mov dword [ebp - 0x30], 0x7265726f
mov dword [ebp - 0x2c], 0x6578652e
mov byte [ebp - 0x28], bl
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], ebx
cmp ecx, 0x12c
jge 0x401589
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x15c]
push eax
push esi
mov dword [ebp - 0x164], esi
call fcn.00401a2d
pop ecx
pop ecx
test eax, eax
je 0x40158b
push ecx
mov ecx, 0x2f5d8dbf
add ecx, esi
add ecx, esi
xor ecx, esi
add ecx, esi
add ecx, esi
pop ecx
mov esi, dword [ebp - 0x164]
push dword [ebp - 0x170]
lea eax, [ebp - 0x138]
push eax
call fcn.0040e2d0
pop ecx
pop ecx
test eax, eax
jne 0x40152a
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x154]
call dword [0x457638]
test eax, eax
je 0x40152a
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x168], eax
jne 0x40152a
push edi
xor edi, edx
add edi, esp
add edi, esi
xor edi, eax
add edi, edx
add edi, esp
nop
pop edi
mov eax, dword [ebp - 0x154]
mov esi, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
jmp 0x401541
lea eax, [ebp - 0x15c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4014cd
mov eax, dword [ebp - 0x160]
cmp dword [ebp - 0x174], 0
jne 0x401589
test eax, eax
jne 0x401589
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.0040237a
mov eax, dword [ebp - 0x160]
pop ecx
mov ecx, dword [ebp - 0x16c]
inc ecx
xor ebx, ebx
mov dword [ebp - 0x16c], ecx
jmp 0x401483
mov ebx, eax
push esi
call fcn.0040237a
pop ecx
mov eax, ebx
call fcn.00402eb0
ret
Function at 0x40171b
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x44d014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x400
lea eax, [ebp - 0x40c]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.004044f0
add esp, 0xc
lea eax, [ebp - 0x40c]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x410], eax
push ebp
mov ebp, 0x1e1e2024
add ebp, esp
xor ebp, eax
add ebp, esp
add ebp, eax
and ebp, ebp
pop ebp
cmp dword [ebp - 0x410], 0
je 0x40182c
call fcn.0040e3b2
mov dword [ebp - 0xc], 0x65736142
mov byte [ebp - 8], 0
push ebp
mov ebp, 0x993de28a
sbb ebp, edx
nop
pop ebp
xor ecx, ecx
lea eax, [ebp - 0xc]
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x40c]
push eax
push ecx
push 2
push 0x10
push 0xf01ff
push 0x4576b8
push 0x457678
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x414], eax
push esi
xor esi, edx
sbb esi, eax
xor esi, esi
xor esi, esp
nop
pop esi
call fcn.0040e3b2
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x414], 0
je 0x40182c
push edi
add edi, eax
add edi, esp
xor edi, eax
add edi, esp
pop edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
inc eax
jmp 0x40182e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402e7f
leave
ret

Function at 0x4019a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44d014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x6e72654b
mov dword [ebp - 0x1c], 0x32336c65
mov dword [ebp - 0x18], 0x6c6c642e
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x6e65704f
mov dword [ebp - 0xc], 0x636f7250
mov dword [ebp - 8], 0x737365
push eax
add eax, eax
xor eax, eax
add eax, eax
add eax, eax
xor eax, eax
add eax, eax
add eax, eax
nop
pop eax
lea eax, [ebp - 0x10]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401931
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402e7f
leave
ret
Function at 0x401a2d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44d014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x28], eax
push edx
mov edx, 0x1d20252c
sub edx, ecx
add edx, esp
pop edx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0x6e72654b
mov dword [ebp - 0x10], 0x32336c65
push dword [ebp - 0x28]
mov dword [ebp - 0xc], 0x6c6c642e
push dword [ebp - 0x2c]
mov byte [ebp - 8], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 0x636f7250
push eax
mov dword [ebp - 0x20], 0x33737365
mov dword [ebp - 0x1c], 0x72694632
mov word [ebp - 0x18], 0x7473
mov byte [ebp - 0x16], 0
call fcn.00401931
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402e7f
leave
ret

Function at 0x401b43
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44d014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x2c], eax
push ebx
mov ebx, 0x1efee1c6
xor ebx, edx
add ebx, esi
nop
pop ebx
movaps xmm0, xmmword [0x443280]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0x61737477
push dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0x32336970
push dword [ebp + 8]
mov dword [ebp - 0xc], 0x6c6c642e
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 8], 0
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x6e
call fcn.00401931
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402e7f
leave
ret

Function at 0x401bb8
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44d014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x61766441
mov dword [ebp - 0x20], 0x32336970
mov dword [ebp - 0x1c], 0x6c6c642e
mov byte [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebx], eax
push ebp
add ebp, esp
mov ebp, 0x2fac2cad
mov ebp, 0xd94dc23a
nop
pop ebp
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x401c7e
call fcn.0040e3b2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x6e65704f
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], 0x76726553
push eax
mov dword [ebp - 0xc], 0x41656369
mov byte [ebp - 8], 0
call fcn.00401931
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
push eax
mov eax, 0x4e41362d
mov eax, 0xad96816e
or eax, ebp
xor eax, eax
pop eax
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x401c7e
mov eax, dword [ebp - 0x28]
push 0xf01ff
push 0x457678
push dword [eax]
call ecx
test eax, eax
jne 0x401c80
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402e7f
leave
ret
Function at 0x42958f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00429194

Function at 0x42a19d
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00429f24

Function at 0x42c3e6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042bbc0

Function at 0x42c3f1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042bdfb

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4017bf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4017fe
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4017fe
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4017fe
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4017fe
cmp dword [ecx + 0x74], 0xe
jbe 0x4017fe
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x410f60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410f8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410f8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret