joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ee950
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x100ee9a9
mov eax, dword [ebp - 0x18]
add esp, 0x30
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
sete dl
mov byte [ebp - 0x1d], dl
mov al, byte [ebp - 0x1d]
test al, 1
jne 0x100eea43
jmp 0x100eeaa5
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x100ee9ed
mov eax, dword [0x101094bc]
add eax, 0xfffffac7
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [0x101094bc], eax
mov ecx, dword [ebp - 0x24]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], ecx
jl 0x100ee9a9
mov eax, dword [ebp - 0x28]
mov dword [0x101094c0], 0x16be
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x100eeaa5
mov eax, dword [0x101094bc]
mov ecx, eax
add ecx, 0xffffff0e
mov dword [0x101094bc], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
sete bl
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x31], bl
mov al, byte [ebp - 0x31]
test al, 1
jne 0x100ee986
jmp 0x100eeaa5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x32], dl
mov al, byte [ebp - 0x32]
test al, 1
jne 0x100eea5f
jmp 0x100eeaa5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100eeaa5
mov eax, dword [ebp - 0x30]
add eax, 0xfffff5bc
mov dword [0x101094c0], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100eeaa5
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x100ee97d
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x100ee97d
Function at 0x100eff80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001080
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x100f0024
jmp 0x100f001c
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.100eeb60
lea ecx, [0x100eda20]
mov dword [0x101094c0], 0x269a
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], 0x13c600
mov dword [0x101094bc], 0xc9e
mov edx, dword [0x101094a8]
mov dword [esp + 0x94], edx
mov edx, dword [0x101094ac]
mov dword [esp + 0x6c], edx
mov edx, dword [0x101094b0]
mov dword [esp + 0x8c], edx
mov edx, dword [0x101094b4]
mov dword [esp + 0x54], edx
mov edx, dword [0x101094b8]
mov dword [esp + 0x68], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x100f0051
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x40]
mov dword [0x101094c0], 0x10c9
mov dword [esp + 0x20], eax
call fcn.100ee950
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
je 0x100effa4
jmp 0x100f0108
mov eax, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x100f008d
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp dword [eax], 0x4550
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
je 0x100f00a1
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x24], eax
jmp 0x100f0051
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x40]
mov dword [esp + 0x48], eax
mov dword [0x101094c0], 0x1286
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x80], eax
mov dword [0x101094bc], 0x10bc
mov eax, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.100ee280
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x101094bc]
add ecx, 0xed9
mov dword [0x101094bc], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
jmp 0x100f001c
Function at 0x4b649c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x4b64d9
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x4b64b6
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x4b64f5
dec esi
je 0x4b64ee
dec esi
jne 0x4b64fa
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x7f6e6e4d
nop
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x8d6484d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40318a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4031c9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4031c9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4031c9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4031c9
cmp dword [ecx + 0x74], 0xe
jbe 0x4031c9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10001fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10001ff8
cmp byte [esi + ebx - 1], 0xa
je 0x10001fcc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10008084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x10002620
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x100027f8
mov edi, dword [0x10008084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10002707
test byte [0x1000303c], 8
jne 0x100027a0
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x1000304c], 8
jne 0x10002760
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x100026a9
cmp esi, 3
jbe 0x10002718
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x100026ba
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x100060e8]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x100026a9
mov dword [esp], 0x1000304c
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10002680
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x10002680
mov dword [esp], 0x1000303c
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x1000266b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x10002673
mov eax, 0xffffffff
jmp 0x10002707
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x43b64e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
push eax
pop edx
call fcn.0043b68f
mov eax, 0xbfa7f1a7
sub edx, eax
sub eax, 0x27beff4b
xor dword [ecx], esi
inc edx
add eax, 1
add ecx, 1
sub eax, 0x30d41648
add edx, edx
cmp ecx, edi
jne fcn.0043b64e
add edx, eax
and edx, eax
dec edx
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x6f9a169b
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x3e921c75
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401c50
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x23c
mov eax, dword [0x46c180]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
xor bl, bl
call fcn.00401d60
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x401c9b
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x401cb4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0044404d
add esp, 0x23c
ret
mov ecx, str.egui.exe
lea eax, [esp + 0x30]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401ce6
test dx, dx
je 0x401ce2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401ce6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401cc0
xor eax, eax
jmp 0x401ceb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401d27
mov ecx, str.ekrn.exe
lea eax, [esp + 0x30]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401d1e
test dx, dx
je 0x401d1a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401d1e
add eax, 4
add ecx, 4
test dx, dx
jne 0x401cf8
xor eax, eax
jmp 0x401d23
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401d29
mov bl, 1
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401cb4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x240]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0044404d
add esp, 0x23c
ret

Function at 0x401d60
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x20
push ebx
lea eax, [esp + 4]
push eax
xor ebx, ebx
push 0x20
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401dd1
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x401dd1
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push ebx
push ebx
push 0x10
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push ebx
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
setne bl
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
add esp, 0x20
ret

Function at 0x4025f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402607
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402638
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x402634
cmp esi, eax
jae 0x402638
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x402624
cmp esi, eax
jb 0x40263e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x402c70
Capabilities:
Contain obfuscated stackstrings
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x2c
mov eax, dword [0x46c180]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov esi, edx
push esi
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402ca4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0044404d
add esp, 0x2c
ret
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x402cc6
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0044404d
add esp, 0x2c
ret
push ebp
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x402dbc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.004444fc
push esi
push ebx
mov edi, eax
push esi
push edi
call fcn.00444654
mov al, 0x64
mov cl, 0x32
mov bl, 0x62
mov dl, 0x31
mov byte [esp + 0x3a], cl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2e], al
mov byte [esp + 0x3f], al
mov byte [esp + 0x35], al
mov byte [esp + 0x47], al
mov byte [esp + 0x36], al
mov al, 0x38
mov byte [esp + 0x2b], cl
mov byte [esp + 0x44], cl
mov cl, 0x61
mov byte [esp + 0x30], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3b], bl
lea ebx, [esp + 0x28]
mov byte [esp + 0x3d], dl
mov byte [esp + 0x28], 0x34
mov byte [esp + 0x32], 0x30
mov byte [esp + 0x41], dl
mov byte [esp + 0x43], 0x66
mov byte [esp + 0x34], 0x33
mov byte [esp + 0x29], 0x35
mov byte [esp + 0x37], 0x36
mov byte [esp + 0x33], 0x65
mov byte [esp + 0x45], 0x37
mov byte [esp + 0x42], dl
mov byte [esp + 0x3c], 0x66
mov byte [esp + 0x38], 0x35
mov byte [esp + 0x2f], al
mov byte [esp + 0x40], cl
mov byte [esp + 0x39], al
mov byte [esp + 0x2c], 0x39
mov byte [esp + 0x48], 0
mov byte [esp + 0x2d], al
mov byte [esp + 0x31], 0x36
mov byte [esp + 0x46], cl
call fcn.00404be0
push esi
mov edx, edi
call fcn.00404ca0
add esp, 0x18
test al, al
jne 0x402dd1
pop ebp
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0044404d
add esp, 0x2c
ret
push 0
lea eax, [esp + 0x14]
push eax
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004445c6
mov ecx, dword [esp + 0x3c]
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.0044404d
add esp, 0x2c
ret
Function at 0x403320
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 8
push ebx
push esi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
xor ebx, ebx
push 4
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.1836
mov byte [0x46e6dc], 1
mov byte [ecx + 4], bl
call fcn.00401b30
call fcn.004027d0
add esp, 0x1c
cmp byte [0x46e674], bl
je 0x403369
call dword [0x46e65c]
jmp 0x40337b
push ebx
call dword [0x46e654]
push 0xb4
call dword [0x46e660]
mov eax, dword [0x46e67c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x46d66c]
mov ebx, 8
cmp dword [0x46d680], ebx
jae 0x40339e
mov eax, 0x46d66c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x46d650]
cmp dword [0x46d664], ebx
jae 0x4033c3
mov eax, 0x46d650
push eax
call esi
test eax, eax
jne 0x4033d0
push 0x64
call edi
jmp 0x4033b1
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4048e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x45aa08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x46c180]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.004041b0
mov eax, str.TempFusion_
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404940
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x10]
call fcn.00404b10
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.004041b0
cmp dword [esp + 0x24], 8
jb 0x404987
mov edx, dword [esp + 0x10]
push edx
call fcn.00444042
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x404be0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x104
mov eax, dword [0x46c180]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
push edi
push 0xff
xor esi, esi
lea eax, [esp + 0xd]
push esi
push eax
mov byte [esp + 0x14], 0
call fcn.00445a80
mov eax, ebx
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404c15
sub eax, edx
mov edi, eax
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
mov byte [ecx + 0x46e6e0], cl
inc ecx
cmp ecx, 0x100
mov dl, byte [edx + ebx]
mov byte [esp + ecx + 7], dl
jl 0x404c22
xor eax, eax
mov cl, byte [eax + 0x46e6e0]
movsx edx, byte [esp + eax + 8]
movzx edi, cl
add edx, esi
add edi, edx
mov esi, edi
and esi, 0x800000ff
jns 0x404c64
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esi + 0x46e6e0]
mov byte [eax + 0x46e6e0], dl
inc eax
cmp eax, 0x100
mov byte [esi + 0x46e6e0], cl
jl 0x404c40
mov ecx, dword [esp + 0x108]
pop edi
pop esi
xor ecx, esp
call fcn.0044404d
add esp, 0x104
ret

Function at 0x405770
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov ebx, eax
mov esi, ebp
mov dword [esp + 0x18], edi
jle 0x4057c2
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4057bc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4057bc
add edi, eax
sub esi, eax
add ebx, eax
cmp edi, ebp
jl 0x405786
xor eax, eax
cmp edi, ebp
pop edi
pop esi
pop ebp
sete al
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
cmp edi, ebp
pop edi
pop esi
pop ebp
sete al
pop ebx
ret
Function at 0x405c30
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x45ae28
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x46c180]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
cmp dword [esi + 0x1c], edi
je 0x405c87
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x1c], edi
cmp eax, 0xffffffff
je 0x405c76
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov dword [esi + 0x5c], 0xffffffff
mov eax, dword [esi + 0x58]
cmp eax, edi
je 0x405c87
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x58], edi
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00401820
lea ecx, [esp + 8]
push ecx
push edi
push esi
push 0x405ad0
push edi
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x58], eax
cmp eax, edi
jne 0x405cde
cmp dword [esp + 0x34], 0x10
jb 0x405cc9
mov edx, dword [esp + 0x20]
push edx
call fcn.00444042
add esp, 4
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 0x1c
cmp dword [esp + 0x34], 0x10
mov dword [esi + 0x1c], 1
jb 0x405cf9
mov eax, dword [esp + 0x20]
push eax
call fcn.00444042
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 0x1c

Function at 0x405db0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
xor edi, edi
mov ebx, eax
mov esi, ebp
test ebp, ebp
jle 0x405de8
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405df4
mov eax, dword [esp + 0x18]
add edi, eax
sub esi, eax
add ebx, eax
cmp edi, ebp
jl 0x405dc2
xor eax, eax
cmp edi, ebp
pop edi
pop esi
pop ebp
sete al
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret