joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ff5
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x452400
sub esp, 0x18
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SoftwareACD_SystemsACDSee
push 0x80000001
call dword [0x56ca50]
test eax, eax
je 0x45242d
fld qword [0x534398]
add esp, 0x18
ret
lea ecx, [esp + 4]
push esi
mov esi, dword [0x56ca54]
lea edx, [esp + 7]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push str.GammaCorrect
push ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x20], 1
call esi
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push str.GammaValue
push edx
mov dword [esp + 0x20], 8
call esi
mov eax, dword [esp + 0xc]
push eax
call dword [0x56ca2c]
mov al, byte [esp + 7]
pop esi
test al, al
je 0x4524af
fld qword [esp + 0x10]
add esp, 0x18
ret
fld qword [0x534388]
add esp, 0x18
ret

Function at 0x40204a
Capabilities:
Get common file path

Disassembly:
jmp 0x43d080
push 0xffffffffffffffff
push 0x527e5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x478
push esi
push edi
mov esi, ecx
call fcn.00402b71
lea ecx, [esp + 8]
call fcn.00483ba0
xor edi, edi
mov dword [esp + 0x488], edi
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20e0]
cmp eax, edi
je 0x43d0d7
jne 0x43d0d2
xor eax, eax
jmp 0x43d0e2
mov eax, dword [eax + 0x20]
jmp 0x43d0e2
cmp esi, edi
jne 0x43d0df
xor eax, eax
jmp 0x43d0e2
mov eax, dword [esi + 0x20]
mov ecx, dword [0x566a04]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], edi
mov ecx, dword [ecx + 8]
cmp ecx, edi
je 0x43d132
mov ecx, dword [ecx]
cmp dword [ecx - 8], edi
jne 0x43d132
lea edx, [esp + 0x70]
push edx
push edi
push edi
push 0x27
push eax
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
test eax, eax
jne 0x43d132
lea eax, [esp + 0x70]
mov dword [esp + 0x34], eax
lea ecx, [esp + 8]
call fcn.00483be0
test eax, eax
je 0x43d16b
mov eax, dword [esi + 0x21ec]
push edi
cmp eax, edi
je 0x43d15d
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov ecx, 0x566958
push edx
call fcn.00402ae5
jmp 0x43d16b
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.0040132a
cmp dword [esp + 0x44], edi
je 0x43d17e
push 0xffffffffffffffff
push edi
push 0x4e77
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 8]
mov dword [esp + 0x488], 0xffffffff
call fcn.004842f0
mov ecx, dword [esp + 0x480]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x484
ret
Function at 0x40210d
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
jmp 0x4521c0
push 0xffffffffffffffff
push 0x529023
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 0x58]
mov ebx, ebp
mov ecx, ebx
mov dword [esp + 0x14], ebx
call fcn.004fdecc
xor edi, edi
lea ecx, [ebx + 4]
mov dword [esp + 0x64], edi
call fcn.004fdecc
mov eax, 1
mov ebx, 2
mov dword [esp + 0x64], eax
mov dword [esi + 0x30], eax
mov eax, 0x14
mov ecx, ebp
mov dword [esi + 0x50], edi
mov dword [esi + 4], edi
mov dword [esi + 0x34], edi
mov dword [esi], 5
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x10], 0x64
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0x1e
mov dword [esi + 0x44], edi
mov dword [esi + 0x3c], 0xffffff
mov dword [esi + 0x38], edi
mov dword [esi + 0x24], 0x32
mov dword [esi + 0x28], 0x4b
mov dword [esi + 0x48], 0xf
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x54], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x40], 0xff0000
mov dword [esi + 0x4c], 0x82
call sub.MFC42.DLL_CString::Empty
lea ebp, [esi + 0x5c]
mov ecx, ebp
call sub.MFC42.DLL_CString::Empty
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], vtable.CFont.0
push 0xd
mov byte [esp + 0x68], bl
call dword [0x56cc00]
lea ecx, [esp + 0x20]
push ecx
push 0x3c
push eax
call dword [0x56cc20]
lea edx, [esp + 0x3c]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CString::operator
mov ebp, dword [esp + 0x20]
push edi
call dword [0x56de64]
mov ebx, eax
push 0x5a
push ebx
call dword [0x56cb8c]
push eax
push 0x48
push ebp
call dword [0x56cdac]
neg eax
mov dword [esi + 0x60], eax
push ebx
push edi
call dword [0x56df10]
mov ecx, 0x10
xor eax, eax
mov edi, 0x566918
mov dword [esp + 0x18], vtable.CGdiObject.0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret
Function at 0x402518
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x452090
push 0xffffffffffffffff
push 0x528feb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0x3c]
call fcn.004d01b0
xor edi, edi
lea eax, [esp + 0xc]
push edi
push eax
push edi
push 0x30
mov dword [esp + 0x34], edi
call dword [0x56deb8]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
sub ecx, eax
xor eax, eax
cmp ecx, 0x320
mov dword [esi + 0x24], edi
setg al
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, 1
mov dword [esi], 2
mov dword [esi + 0x1c], eax
mov dword [esi + 0x14], eax
or eax, 0xffffffff
mov dword [esi + 4], 2
mov dword [esi + 0x20], edi
mov dword [esi + 0x10], 0x1e00000
mov dword [esi + 0x18], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
call fcn.00401f28
neg eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x1b0], edi
sbb eax, eax
mov dword [esi + 0x1b8], edi
neg eax
inc eax
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x1b4], 0x3ff00000
mov dword [esi + 0x1c0], 0x320
mov dword [esi + 0x1c4], 0x258
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x402577
Capabilities:
Encode data using xor

Disassembly:
jmp 0x42b5d0
push ecx
push 0
push 0
push 0
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0
push 0x553028
call dword [0x56cd88]
test eax, eax
mov eax, 0x13371337
je 0x42b5fa
mov eax, dword [esp]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jbe 0x42b624
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
shr edx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x551f64]
xor eax, edx
inc ecx
dec esi
jne 0x42b608
pop ebx
pop esi
pop ecx
ret 8
Function at 0x4027b1
Capabilities:
Set registry value

Disassembly:
jmp 0x46a750
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push esi
push eax
push ecx
push 0
push 0x20006
push 0
push 0x5688a4
push 0
push 0x566a74
push 0x80000001
call dword [0x56ca48]
mov esi, eax
test esi, esi
jne 0x46a7ab
mov edx, dword [esp + 0x10]
push 0x74
push edx
push 3
push eax
mov eax, dword [esp + 0x14]
push str.AcquireOptions
push eax
call dword [0x56ca4c]
mov ecx, dword [esp + 4]
mov esi, eax
push ecx
call dword [0x56ca2c]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret 4
Function at 0x4029b4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x42b650
push ecx
push 0
push 0
push 0
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0
push 0x553028
call dword [0x56cd88]
test eax, eax
mov eax, 0x13371337
je 0x42b67a
mov eax, dword [esp]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jbe 0x42b6a4
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
shr edx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x551f64]
xor eax, edx
inc ecx
dec esi
jne 0x42b688
pop ebx
mov edx, dword [esp + 0x14]
xor ecx, ecx
cmp edx, eax
pop esi
sete cl
mov eax, ecx
pop ecx
ret 0xc
Function at 0x402b08
Capabilities:
Inspect load icon resource

Disassembly:
jmp 0x45b3c0
push 0xffffffffffffffff
push 0x529af9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004fe0ee
push 0x2f62
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov edi, dword [0x56dec8]
push 0x36b5
push eax
call edi
mov ebx, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x36b6
push eax
call edi
mov ebp, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x36b7
push eax
call edi
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0x4e51
push eax
call edi
push ebx
lea ecx, [esi + 0xe0]
mov edi, eax
call fcn.0048c1e0
push ebp
lea ecx, [esi + 0xa0]
call fcn.0048c1e0
mov eax, dword [esp + 0x18]
lea ebp, [esi + 0x60]
push eax
mov ecx, ebp
call fcn.0048c1e0
lea ecx, [esi + 0x120]
test ecx, ecx
je 0x45b484
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x45b484
push edi
call fcn.0048c1e0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edi, dword [eax + 0xac]
mov ecx, dword [edi + 8]
mov dword [edi + 0x18], 0x19
mov edx, dword [ecx]
mov eax, dword [edx - 8]
test eax, eax
je 0x45b58d
mov eax, dword [edi + 4]
xor ebx, ebx
test eax, eax
jle 0x45b574
lea ecx, [esp + 0x14]
call fcn.004fdecc
lea eax, [esp + 0x1c]
mov dword [esp + 0x128], 0
push eax
push 0x104
call dword [0x56cdb8]
push 1
lea ecx, [esp + 0x20]
push 0x104
push ecx
lea edx, [esp + 0x20]
push ebx
push edx
mov ecx, edi
call sub.MFC42.DLL_CRecentFileList::GetDisplayName
test eax, eax
je 0x45b554
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push 0
mov edx, dword [ecx + 0x20]
push 0x143
push edx
call dword [0x56df08]
push 4
mov ebp, eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x128], 1
je 0x45b53d
mov ecx, dword [edi + 8]
lea edx, [ecx + ebx*4]
mov ecx, eax
push edx
call sub.MFC42.DLL_CString::CString_1
jmp 0x45b53f
xor eax, eax
push eax
mov eax, dword [esp + 0x14]
push ebp
push 0x151
mov ecx, dword [eax + 0x20]
push ecx
call dword [0x56df08]
lea ecx, [esp + 0x14]
mov dword [esp + 0x128], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [edi + 4]
inc ebx
cmp ebx, eax
jl 0x45b4b6
mov edx, dword [esp + 0x10]
push 0
push 0
push 0x14e
mov eax, dword [edx + 0x20]
push eax
call dword [0x56df08]
jmp 0x45b5a1
push 0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [esp + 0x10]
push 0
call sub.MFC42.DLL_CWnd::EnableWindow
mov edi, dword [esi + 0x164]
xor ecx, ecx
test edi, edi
setne cl
push ecx
push 0x2f75
mov ecx, esi
call sub.MFC42.DLL_CWnd::CheckDlgButton
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x40313e
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x46a7e0
sub esp, 8
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push 0x566a74
push 0x80000001
call dword [0x56ca50]
mov esi, eax
test esi, esi
jne 0x46a83b
mov edx, dword [esp + 0x10]
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push str.AcquireOptions
push ecx
mov dword [esp + 0x20], 0x74
call dword [0x56ca54]
mov edx, dword [esp + 4]
mov esi, eax
push edx
call dword [0x56ca2c]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret 4
Function at 0x463d50
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x22c]
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x124]
push eax
push ecx
push 0
push esi
mov dword [esp + 0x28], 0x105
call dword [0x56ca38]
test eax, eax
jne 0x463e5e
lea edx, [esp + 0x124]
push edx
call dword [0x56cdc4]
mov ebp, dword [esp + 0x234]
push eax
lea eax, [esp + 0x128]
push eax
push 1
push 0
push ebp
call dword [0x56ca34]
mov ebx, dword [0x56ca30]
lea ecx, [esp + 0x1c]
xor edi, edi
push 0x105
push ecx
push edi
push esi
call ebx
test eax, eax
jne 0x463e5e
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push esi
call dword [0x56ca3c]
test eax, eax
jne 0x463e47
lea ecx, [esp + 0x1c]
push str.open
push ecx
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x463e0a
lea edx, [esp + 0x1c]
push str.edit
push edx
call dword [0x56cdd4]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebp
call dword [0x56ca40]
test eax, eax
jne 0x463e3c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00463d50
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
call dword [0x56ca2c]
mov edx, dword [esp + 0x14]
push edx
call dword [0x56ca2c]
lea eax, [esp + 0x1c]
inc edi
push 0x105
push eax
push edi
push esi
call ebx
test eax, eax
je 0x463dce
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
Function at 0x46e94a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [0x56ca50]
test eax, eax
jne 0x46e9a0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x538774
push dword [ebp - 4]
call dword [0x56ca54]
test eax, eax
jne 0x46e993
inc esi
push dword [ebp - 4]
call dword [0x56ca2c]
mov eax, esi
jmp 0x46e9a2
xor eax, eax
pop esi
leave
ret 4
Function at 0x46ee20
Capabilities:
Create process on windows
Get graphical window text
Hide graphical window

Disassembly:
mov ax, word [esp + 4]
sub esp, 0x20
cmp ax, 1
push ebp
push esi
push edi
mov esi, ecx
jne 0x46ee85
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x46ef21
mov eax, dword [esi + 0x84]
push 0x19d7
push eax
mov dword [esi + 0x90], 1
call dword [0x56dda0]
push 0
push 0xa
push 0xa
mov edi, eax
push 0xffffffffffffffd8
push 0xffffffffffffffd8
push edi
call dword [0x56dd20]
push 5
push edi
call dword [0x56dd28]
push edi
call dword [0x56dd34]
jmp 0x46ef21
cmp ax, 0x400
jne 0x46ef21
mov edx, dword [esi + 0x84]
mov ebp, dword [0x56dda0]
push ebx
lea ecx, [esp + 0x10]
push 0x20
push ecx
push 0x19d7
push edx
call ebp
push eax
call dword [0x56dd44]
mov edi, dword [esi + 0x48]
lea eax, [esp + 0x10]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x46eee1
test cl, cl
je 0x46eedd
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x46eee1
add eax, 2
add edi, 2
test cl, cl
jne 0x46eeb9
xor eax, eax
jmp 0x46eee6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
jne 0x46ef21
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0xc]
push esi
push 0x470de0
push eax
push 0x1966
push ecx
call dword [0x56dd3c]
mov edx, dword [esi + 0x84]
push 0x5688a4
push 0x19d7
push edx
call ebp
push eax
call dword [0x56dd24]
mov eax, dword [esp + 0x34]
and eax, 0xffff
sub eax, 0x19d1
je 0x46ef69
dec eax
je 0x46ef3f
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret 8
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x84]
push 5
push 0
push 0
push eax
push str.open
push ecx
call dword [0x56dc58]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x20
ret 8
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x84]
push edx
push 0xf
push eax
push ecx
call fcn.0046e9a7
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x20
ret 8

Function at 0x471190
Capabilities:
Set registry value

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x34]
lea eax, [esp]
lea ecx, [esp + 0x34]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x5688a4
push 0
push edx
push 0x80000001
call dword [0x56ca48]
test eax, eax
jne 0x4711ff
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0xc], 0x2c
call dword [0x56dec0]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 4]
push 0x2c
push edx
push 3
push 0
push eax
push ecx
call dword [0x56ca4c]
mov edx, dword [esp + 0x34]
push edx
call dword [0x56ca2c]
add esp, 0x30
ret
Function at 0x4713b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
lea eax, [esp + 0x38]
push esi
push eax
push 0x20019
push 0
push ecx
push 0x80000001
call dword [0x56ca50]
test eax, eax
je 0x4713eb
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push esi
push edx
call dword [0x56dd28]
mov eax, esi
pop esi
add esp, 0x34
ret
push edi
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, 0x2c
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
lea edx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push 0
push eax
push ecx
call dword [0x56ca54]
mov edx, dword [esp + 0x40]
mov esi, eax
push edx
call dword [0x56ca2c]
test esi, esi
pop edi
je 0x471450
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push esi
push eax
call dword [0x56dd28]
mov eax, esi
pop esi
add esp, 0x34
ret
mov eax, dword [esp + 0x14]
cmp eax, 6
mov esi, eax
je 0x471460
cmp eax, 2
jne 0x471468
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x48]
cmp eax, 0xa
je 0x471475
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [0x56dd04]
mov eax, esi
pop esi
add esp, 0x34
ret

Function at 0x476360
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push 0x80000001
call dword [0x56ca50]
test eax, eax
je 0x476389
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [0x56ca54]
lea edx, [esp + 0x18]
push esi
push edx
lea eax, [esp + 0x14]
push 0
push eax
push 0
push ebx
push ecx
mov dword [esp + 0x34], 0
call ebp
mov esi, eax
test esi, esi
jne 0x47642a
mov edx, dword [esp + 0x1c]
push edi
inc edx
push edx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x14]
add esp, 4
mov edi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
push esi
push ebx
push edx
call ebp
test eax, eax
mov dword [esp + 0x24], eax
jne 0x47641c
mov eax, dword [esp + 0x20]
mov esi, edi
mov byte [edi + eax], 0
mov al, byte [edi]
test al, al
je 0x47641c
mov ebx, dword [esp + 0x1c]
mov ebp, dword [0x56df08]
push esi
push 0
push 0x143
push ebx
call ebp
push esi
call dword [0x56cdc4]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x476401
push edi
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x28]
add esp, 4
pop edi
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x56ca2c]
xor eax, eax
test esi, esi
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x476850
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [0x56def8]
push 0x7f02
push 0
call edi
mov ebx, dword [0x56ded4]
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
push 1
push 0
push 0
push eax
push 0
push ecx
call dword [0x56dc58]
xor edx, edx
cmp eax, 0x1f
setg dl
test esi, esi
mov ebp, edx
je 0x4768a0
mov eax, esi
push eax
call ebx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
push 0x7f00
push 0
call edi
push eax
call ebx
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret

Function at 0x476900
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [0x56df08]
push 0
push eax
push 0x419
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push esi
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
mov dword [esp + 8], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push esi
call dword [0x56de14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [0x56df18]
pop edi
pop esi
add esp, 0x18
ret

Function at 0x476980
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
lea eax, [esp]
push esi
push edi
push eax
call dword [0x56df14]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 8]
push ecx
push esi
call dword [0x56de78]
mov edx, dword [esp + 0x28]
mov edi, dword [0x56df08]
push 0
push edx
push 0x419
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push esi
call edi
pop edi
pop esi
test eax, eax
jne 0x4769cd
add esp, 0x18
ret
mov edx, dword [esp + 4]
mov eax, dword [esp]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [0x56df44]
add esp, 0x18
ret

Function at 0x4772c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [0x56ccfc]
cmp word [ebp - 0xc], 5
jae 0x4772dd
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
rdtsc
mov edi, dword [ebp + 8]
mov ebx, edx
push edi
mov dword [ebp - 8], eax
call dword [0x56cdb4]
rdtsc
mov esi, eax
lea eax, [edi + edi*4]
mov edi, dword [ebp - 8]
mov ecx, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
sub esi, edi
push edx
sbb ecx, ebx
push eax
push ecx
push esi
call fcn.004ff070
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x477dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
mov esi, ecx
push ebx
lea eax, [esp + 0x20]
mov ecx, dword [esi]
push edi
push eax
push 0
push ebp
push ecx
call dword [0x56ca54]
cmp eax, 0xea
je 0x477e0b
mov esi, dword [esi + 4]
test esi, esi
je 0x477e04
push ebx
lea edx, [esp + 0x20]
push edi
push edx
push 0
push ebp
push esi
call dword [0x56ca54]
cmp eax, 0xea
jne 0x477e11
test edi, edi
jne 0x477e11
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc