joyce8/EMBER2024-capa huggingface dataset:
Function at 0x511120
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x511355
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004090d8
mov dword [ebx + 0x108], eax
cmp dword [ebx + 0x68], 1
jg 0x511161
mov ecx, 0x511370
mov dl, 1
mov eax, dword [0x40b188]
call fcn.00413be4
call fcn.00404e1c
mov byte [ebx + 0xd0], 0
mov byte [ebx + 0xd1], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
call fcn.004090d8
mov dword [ebx + 0x80], eax
call fcn.00410a48
fstp qword [ebx + 0x88]
wait
xor eax, eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x78]
mov eax, dword [ebx + 0x58]
call fcn.00407980
mov esi, eax
dec esi
test esi, esi
jl 0x5111ee
inc esi
xor edi, edi
mov eax, dword [ebx + 0x58]
lea eax, [eax + edi*4]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00404364
inc edi
dec esi
jne 0x5111d7
push 1
lea eax, [ebx + 0x58]
mov ecx, 1
mov edx, dword [0x510a98]
call fcn.00407b48
add esp, 4
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5108c4]
call fcn.00507dd8
mov esi, eax
mov eax, dword [ebx + 0x58]
mov dword [eax], esi
xor eax, eax
mov dword [esi + 0x388], eax
lea eax, [esi + 0xe0]
mov edx, dword [ebx + 0xa8]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x8c
mov edx, dword [ebx + 0xac]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x90
mov edx, dword [ebx + 0xb0]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x84
mov edx, dword [ebx + 0xb4]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x88
mov edx, dword [ebx + 0xb8]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x1bc
mov edx, dword [ebx + 0xbc]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x1c4
mov edx, dword [ebx + 0xc4]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
add eax, 0x1c0
mov edx, dword [ebx + 0xc0]
call fcn.004063e0
mov eax, dword [ebx + 0x58]
mov eax, dword [eax]
mov dword [eax + 0x31c], ebx
mov dword [eax + 0x318], 0x51140c
mov dword [eax + 0x2b4], ebx
mov dword [eax + 0x2b0], 0x51170c
movzx edx, byte [ebx + 0xc8]
mov byte [eax + 0x25a], dl
call fcn.0050f170
xor ecx, ecx
mov edx, 0x5113b4
mov eax, ebx
call fcn.005110d4
mov eax, dword [ebx + 0x58]
call fcn.00407980
lea edx, [ebp - 8]
call fcn.0040d2c8
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x5113e0
call fcn.004067b4
mov eax, dword [ebp - 4]
call fcn.0040646c
push eax
call fcn.004091b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51135c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004063d8
ret
Function at 0x517ad8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, edx
call fcn.004090d8
sub eax, dword [esi]
cmp eax, 0x7530
jb 0x517af5
mov bl, 1
call fcn.004090d8
mov dword [esi], eax
jmp 0x517af7
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x51ced4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x51cfa6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebx + 0x46c]
dec edi
test edi, edi
jl 0x51cf8b
inc edi
xor esi, esi
cmp byte [ebx + esi + 0x678], 0
je 0x51cf83
push dword [ebx + 0x670]
imul eax, esi, 0x17
push dword [ebx + eax*4 + 0x47c]
push 0x51cfc0
lea eax, [ebp - 4]
mov edx, 3
call fcn.00406884
mov eax, dword [ebp - 4]
call fcn.0040d9d0
test al, al
je 0x51cf83
push 0
push 0
imul eax, esi, 0x17
mov eax, dword [ebx + eax*4 + 0x480]
call fcn.0040646c
push eax
push dword [ebx + 0x670]
imul eax, esi, 0x17
push dword [ebx + eax*4 + 0x47c]
push 0x51cfc0
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406884
mov eax, dword [ebp - 8]
call fcn.0040646c
push eax
push 0x51cfcc
push 0
call fcn.004471fc
inc esi
dec edi
jne 0x51cf00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51cfad
lea eax, [ebp - 8]
mov edx, 2
call fcn.004063d8
ret

Function at 0x51cfd8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x51d078
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebx + 0x670]
push dword [ebx + 0x5ec]
push 0x51d090
lea eax, [ebp - 4]
mov edx, 3
call fcn.00406884
mov eax, dword [ebp - 4]
call fcn.0040d9d0
test al, al
je 0x51d05d
push 0
push 0
mov eax, dword [ebx + 0x5f0]
call fcn.0040646c
push eax
push dword [ebx + 0x670]
push dword [ebx + 0x5ec]
push 0x51d090
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406884
mov eax, dword [ebp - 8]
call fcn.0040646c
push eax
push 0x51d09c
push 0
call fcn.004471fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d07f
lea eax, [ebp - 8]
mov edx, 2
call fcn.004063d8
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403de0
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push str.Help.chm
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret

Function at 0x404910
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 0xc
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi]
mov edx, dword [eax + 0x42c1fc]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x40491b
xor eax, eax
mov ecx, 0x100
mov edx, dword [edi + 4]
mov esi, dword [eax + 0x42c244]
mov dword [eax + edx], esi
add eax, 4
dec ecx
jne 0x404935
cmp eax, 0x1000
jl 0x404930
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], eax
mov edx, dword [edi]
xor ebx, ebx
add eax, edx
mov dword [esp + 0x24], eax
lea eax, [esi + 1]
cdq
idiv ebp
lea eax, [esi + 2]
mov bl, byte [edx + ecx]
cdq
idiv ebp
mov bh, byte [esi + ecx]
xor eax, eax
shl ebx, 8
mov al, byte [edx + ecx]
or ebx, eax
lea eax, [esi + 3]
cdq
idiv ebp
xor eax, eax
shl ebx, 8
mov al, byte [edx + ecx]
or ebx, eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
xor edx, ebx
mov dword [eax], edx
lea eax, [esi + 4]
cdq
idiv ebp
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0x48
mov dword [esp + 0x18], eax
mov esi, edx
jl 0x40495e
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.00404110
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax], ecx
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 4], eax
add esi, 8
cmp esi, 0x48
jl 0x4049c0
mov esi, 4
mov ebx, 0x80
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, edi
call fcn.00404110
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x10]
mov dword [esi + eax - 4], ecx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov dword [esi + edx], eax
add esi, 8
dec ebx
jne 0x4049f6
cmp esi, 0x1004
jl 0x4049f1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x405980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x421130
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x2c]
push esi
push edi
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CBrush::CBrush
mov esi, dword [esp + 0x20]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x2c]
push 0xf00021
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov dword [esp + 8], 0x424fe8
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40a6d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
lea eax, [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push eax
call fcn.004082b0
mov esi, dword [esp + 0x28]
mov ecx, edi
xor ebp, ebp
call fcn.004073e0
test al, al
je 0x40a6fd
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x10], ecx
jmp 0x40a704
mov edx, dword [edi + 0x70]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x3c]
xor ebx, ebx
test eax, eax
jle 0x40a74f
mov eax, dword [esp + 0x38]
push 3
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, edi
call fcn.00409ca0
mov edx, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0xdc]
mov eax, dword [eax + 4]
add eax, ecx
add esi, eax
dec edx
cmp ebx, edx
jne 0x40a746
mov eax, dword [esp + 0x28]
mov ebp, esi
sub ebp, eax
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
jl 0x40a70e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
push 1
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, edi
add esi, ebx
call fcn.00409ca0
mov ebx, dword [eax]
mov ecx, edi
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
call fcn.004073e0
test al, al
je 0x40a7e4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add ecx, esi
add ebx, eax
push ecx
push ebx
push esi
mov esi, dword [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [edi + 0x74]
mov ebx, dword [esi]
mov ecx, dword [esi + 8]
add edx, 2
add ebx, edx
mov dword [esi], ebx
mov eax, dword [edi + 0x74]
mov ebx, dword [esi + 4]
add eax, 2
add ecx, eax
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0x78]
sub ebx, ecx
mov dword [esi + 4], ebx
mov edx, dword [edi + 0x78]
mov edi, dword [esi + 0xc]
mov ecx, ebx
sub edi, edx
sub ecx, ebp
mov eax, edi
mov dword [esi + 0xc], edi
sub eax, ebp
mov dword [esi + 4], ecx
mov dword [esi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
sub eax, ebx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add edx, esi
push edx
lea edx, [eax + ebx]
add edx, ecx
add eax, ecx
push edx
push esi
mov esi, dword [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [esi + 4]
mov eax, 0xfffffffd
sub eax, ebp
mov ecx, 0xfffffffe
add edi, eax
mov eax, dword [esi + 0xc]
sub ecx, ebp
mov dword [esi + 4], edi
add eax, ecx
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
Function at 0x40bff0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40c052
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x40c260
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40c354
lea ecx, [esp + 0x10]
push ecx
push str..htm
push Ordinal_1
mov ecx, edi
call fcn.0040bff0
test eax, eax
jne 0x40c354
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push Ordinal_1
mov ecx, edi
call fcn.0040bff0
test eax, eax
jne 0x40c354
lea edx, [esp + 0x10]
push str.__1_
push edx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c325
lea eax, [esp + 0x10]
push 0x42d860
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c325
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x40c328
mov byte [esi], 0
push 0x42d85c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x40e8a0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
mov ebp, ecx
test eax, eax
mov dword [esi], 0
jle 0x40e8c8
push 1
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x1c]
push 0
push eax
push 4
push esi
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 4
push esi
mov ecx, ebp
mov ebx, eax
call fcn.0040eff0
test ebx, ebx
je 0x40e946
cmp dword [esp + 0x1c], 4
jne 0x40e946
mov ecx, dword [esi]
and ecx, 0xffe00000
cmp ecx, 0xffe00000
je 0x40e946
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x2710
mov dword [esp + 0x18], eax
jg 0x40e946
push 1
push 0
push 0xfffffffffffffffd
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x1c]
push 0
push edx
push 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 4
push esi
mov ecx, ebp
mov ebx, eax
call fcn.0040eff0
test ebx, ebx
jne 0x40e8f1
mov eax, dword [esi]
xor ecx, ecx
and eax, 0xffe00000
pop edi
cmp eax, 0xffe00000
pop esi
sete cl
pop ebp
mov eax, ecx
pop ebx
ret 0xc
Function at 0x40f840
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
test eax, eax
je 0x40f87e
call fcn.004103a0
test eax, eax
je 0x40f885
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x40fe30
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x78], eax
test eax, eax
je 0x40f87e
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x80]
test eax, eax
je 0x40f87e
mov ecx, dword [eax]
lea edx, [esp + 8]
push edi
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x80]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
push 0
mov edi, ecx
mov eax, dword [esi + 0x80]
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x4c]
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [esi + 0x48]
push ecx
mov ecx, dword [esi + 0x6c]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x40f87e
mov edx, dword [esi + 0x20]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x4106b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x421c92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
lea eax, [esp + 0xc]
mov ebx, 1
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x134], 3
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0xff
mov esi, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x410735
mov esi, dword [esp + 0x128]
lea eax, [esp + 0x138]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 8], ebx
jmp 0x41079d
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x138]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41075f
xor esi, esi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x410786
mov esi, dword [esp + 0x128]
lea ecx, [esp + 0x138]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
jmp 0x410799
mov esi, dword [esp + 0x128]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 8], ebx
lea ecx, [esp + 0x130]
mov byte [esp + 0x120], 2
call fcn.0041f78a
lea ecx, [esp + 0x134]
mov byte [esp + 0x120], bl
call fcn.0041f78a
lea ecx, [esp + 0x138]
mov byte [esp + 0x120], 0
call fcn.0041f78a
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x410ac0
Capabilities:
Access peb ldr_data
Delete file
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x421d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4306c4
call sub.MFC42.DLL_CString::CString_2
push ecx
mov dword [esp + 0x2c], 0
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Startup
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x30], 1
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SoftwareMicrosoftwindowsCurrentVersionExplorerShell_Folders
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
push reloc.SkinMagic.dll_Ordinal_1
push eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004106b0
mov ecx, dword [esp + 0x14]
push 0x4306c4
push ecx
mov dword [esp + 0x40], 2
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 0x1c
test eax, eax
je 0x410bd4
lea edx, [esp]
push 0x42f330
lea eax, [esp + 0x10]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 8]
push ecx
push eax
push edx
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_operator_1
push str..lnk
push eax
lea eax, [esp + 0xc]
mov byte [esp + 0x2c], 4
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x28], 5
call fcn.0041f85c
lea ecx, [esp + 4]
mov byte [esp + 0x24], 4
call fcn.0041f78a
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.0041f78a
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.0041f78a
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041f78a
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4167f0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x94
lea eax, [esp]
push esi
mov esi, ecx
push eax
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 1
jne 0x416825
push 0
push 1
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop esi
add esp, 0x94
ret
push 3
push 0
push 0
mov ecx, esi
call fcn.00416840
pop esi
add esp, 0x94
ret

Function at 0x416840
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push esi
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x416863
pop esi
add esp, 0x14
ret 0xc
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4168b2
xor eax, eax
pop esi
add esp, 0x14
ret 0xc
push 0
push 8
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov edx, dword [esp + 4]
push 0
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push edx
mov dword [esp + 0x2c], 0
call esi
mov eax, 1
pop esi
add esp, 0x14
ret 0xc
Function at 0x41df40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x423463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4248cc
lea ebx, [esi + 4]
mov dword [esp + 0x2c], 0
mov ecx, ebx
call fcn.0041e690
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x30], 1
mov dword [esi], 0x4270cc
call fcn.0041e180
mov edx, dword [eax]
lea ecx, [esi + 0x14]
mov dword [esi + 0x14], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov ax, word [eax + 0x10]
mov word [ecx + 0x10], ax
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0041e180
xor edx, edx
mov ecx, edi
mov dx, word [eax + 0xc]
push edx
call fcn.0041e620
push eax
mov ecx, ebx
call fcn.0041e7a0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0041e180
xor ecx, ecx
mov cx, word [eax + 0xc]
push ecx
mov ecx, edi
call fcn.0041e620
push eax
mov ecx, edi
call fcn.0041e610
push eax
mov ecx, ebx
call fcn.0041e720
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x41e850
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x14
lea eax, [esp]
push esi
push 1
mov esi, ecx
push 0
mov ecx, dword [esp + 0x24]
push 0
push eax
call fcn.0041e180
push eax
mov ecx, esi
call fcn.0041e8d0
push eax
push 0
call dword [sym.imp.WINMM.dll_waveInOpen]
neg eax
sbb eax, eax
pop esi
inc eax
add esp, 0x14
ret 4

Function at 0x41eb50
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x14
lea eax, [esp]
push esi
mov esi, ecx
push 0x30000
push 0
push 0x41e8e0
push eax
lea ecx, [esi + 0x74]
call fcn.0041e180
push eax
lea ecx, [esi + 0x9c]
call fcn.0041e8d0
lea ecx, [esi + 8]
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInOpen]
push eax
mov ecx, esi
call fcn.0041ef30
neg al
sbb eax, eax
pop esi
inc eax
add esp, 0x14
ret

Function at 0x41ebd0
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x14
push esi
push edi
mov esi, ecx
call fcn.0041ec80
test al, al
jne 0x41ebea
xor al, al
pop edi
pop esi
add esp, 0x14
ret 4
mov ecx, esi
mov byte [esi + 4], 0
call fcn.0041ee70
mov ecx, esi
call fcn.0041ee40
lea eax, [esp + 8]
lea ecx, [esi + 0x74]
push eax
call fcn.0041e180
mov edx, dword [eax]
sub esp, 0x14
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov ax, word [eax + 0x10]
mov dword [ecx + 0xc], edx
mov word [ecx + 0x10], ax
mov ecx, esi
call fcn.0041eaa0
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], ecx
xor edi, edi
mov edx, dword [esi + 8]
mov ecx, esi
push edx
call fcn.0041ed70
test al, al
je 0x41ebe0
inc edi
cmp edi, 2
jl 0x41ec43
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
push eax
mov ecx, esi
call fcn.0041ef30
test al, al
pop edi
pop esi
sete al
add esp, 0x14
ret 4