joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477e20
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 0x477e6b
mov esi, dword [esi + 4]
test esi, esi
je 0x477e64
push ebx
lea edx, [esp + 0x20]
push edi
push edx
push 0
push ebp
push esi
call dword [0x56ca54]
cmp eax, 0xea
jne 0x477e71
test edi, edi
jne 0x477e71
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x477e80
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 0x477ecb
mov esi, dword [esi + 4]
test esi, esi
je 0x477ec4
push ebx
lea edx, [esp + 0x20]
push edi
push edx
push 0
push ebp
push esi
call dword [0x56ca54]
cmp eax, 0xea
jne 0x477ed1
test edi, edi
jne 0x477ed1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x477ee0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
push edi
mov dword [esp + 0x10], ecx
jne 0x477ef7
lea esi, [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [0x56ca54]
push esi
lea eax, [esp + 0x24]
push 0
mov dword [esi], 0
mov edi, dword [ecx]
push eax
push 0
push ebx
push edi
call ebp
test eax, eax
je 0x477f3a
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x477f36
push esi
lea edx, [esp + 0x24]
push 0
push edx
mov edi, ecx
push 0
push ebx
push edi
call ebp
test eax, eax
jne 0x477f67
mov eax, dword [esi]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
push esi
push eax
push ecx
push 0
push ebx
push edi
call ebp
test eax, eax
je 0x477f73
mov edx, dword [esp + 0x1c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x477f90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, dword [0x56ca54]
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esi]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push edi
push eax
mov dword [esp + 0x24], 4
call ebx
cmp eax, 0xea
je 0x477feb
mov esi, dword [esi + 4]
test esi, esi
je 0x477fe4
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push 0
push edi
push esi
call ebx
cmp eax, 0xea
jne 0x478000
lea ecx, [esp + 0x18]
test ecx, ecx
jne 0x478004
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
test eax, eax
je 0x477ff3
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
Function at 0x4780d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
push ebp
push esi
mov ebx, dword [esp + 0x10]
mov ebp, dword [0x56ca4c]
push edi
mov edi, ecx
mov esi, 0x3f5
mov eax, dword [edi + 8]
test eax, eax
je 0x4780fd
lea ecx, [esp + 0x18]
push 4
push ecx
push 4
push 0
push ebx
push eax
call ebp
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x478110
test esi, esi
jne 0x478119
push ebx
push eax
call dword [0x56ca20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8
lea edx, [esp + 0x18]
push 4
push edx
push 4
push 0
push ebx
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x478130
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push edi
mov edi, ecx
mov esi, 0x3f5
mov eax, dword [edi + 8]
test eax, eax
je 0x47815e
mov ecx, dword [esp + 0x18]
push ebp
push ecx
push 3
push 0
push ebx
push eax
call dword [0x56ca4c]
mov esi, eax
mov edi, dword [edi + 0xc]
test edi, edi
je 0x478171
test esi, esi
jne 0x47817a
push ebx
push edi
call dword [0x56ca20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov edx, dword [esp + 0x18]
push ebp
push edx
push 3
push 0
push ebx
push edi
call dword [0x56ca4c]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4782a0
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
push edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], ecx
test eax, eax
mov dword [esp + 0x10], 1
jle 0x4782ed
cmp esi, eax
jge 0x4782d0
test esi, esi
jl 0x4782d0
mov eax, dword [ebp + 4]
mov eax, dword [eax + esi*4]
jmp 0x4782d2
xor eax, eax
push eax
call dword [0x56cdc4]
mov ecx, dword [esp + 0x10]
inc esi
lea edx, [ecx + eax + 1]
mov eax, dword [ebp + 8]
cmp esi, eax
mov dword [esp + 0x10], edx
jl 0x4782c4
mov eax, dword [esp + 0x10]
push eax
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [ebp + 8]
add esp, 4
xor ebx, ebx
test eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
jle 0x478366
cmp ebx, eax
jge 0x47831d
test ebx, ebx
jl 0x47831d
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + ebx*4]
jmp 0x47831f
xor eax, eax
push eax
call dword [0x56cdc4]
mov ecx, dword [ebp + 8]
inc eax
cmp ebx, ecx
jge 0x47833a
test ebx, ebx
jl 0x47833a
mov edx, dword [ebp + 4]
mov esi, dword [edx + ebx*4]
jmp 0x47833c
xor esi, esi
mov edi, dword [esp + 0x24]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
add esi, eax
mov eax, dword [ebp + 8]
inc ebx
mov dword [esp + 0x24], esi
cmp ebx, eax
jl 0x478311
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov ebp, dword [0x56ca4c]
mov byte [eax], 0
mov eax, dword [ecx + 8]
test eax, eax
mov esi, 0x3f5
je 0x478397
mov edx, dword [esp + 0x10]
push edx
push edi
push 3
push 0
push ebx
push eax
call ebp
mov esi, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4783c0
test esi, esi
jne 0x4783b0
push ebx
push eax
call dword [0x56ca20]
jmp 0x4783c0
mov ecx, dword [esp + 0x10]
push ecx
push edi
push 3
push 0
push ebx
push eax
call ebp
mov esi, eax
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x4785f0
Capabilities:
Delete registry value
Get graphical window text
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [esp + 0x11c]
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
mov ebp, dword [0x56df08]
push esi
test eax, eax
push edi
mov dword [esp + 0x1c], ecx
je 0x478687
push 0
push 0
push 0x147
push ebx
call ebp
test eax, eax
jle 0x478636
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x148
push ebx
call ebp
jmp 0x478647
lea edx, [esp + 0x20]
push 0x104
push edx
push ebx
call dword [0x56dd44]
mov al, byte [esp + 0x20]
test al, al
je 0x478687
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0x158
push ebx
call ebp
test eax, eax
jl 0x47866d
push 0
push eax
push 0x144
push ebx
call ebp
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x14a
push ebx
call ebp
push 0
push eax
push 0x14e
push ebx
call ebp
push 0
push 0
push 0x146
push ebx
call ebp
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x4786ac
cmp eax, ecx
jle 0x4786ac
mov dword [esp + 0x10], ecx
mov eax, ecx
mov edi, 1
xor esi, esi
test eax, eax
mov dword [esp + 0x14], edi
jle 0x4786f2
push 0
push esi
push 0x149
push ebx
call ebp
mov ecx, dword [esp + 0x134]
inc eax
test ecx, ecx
je 0x4786d9
lea edx, [eax + edi]
cmp edx, ecx
jg 0x4786ea
add edi, eax
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4786bb
mov dword [esp + 0x14], edi
jmp 0x4786f2
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
push edi
call sub.MFC42.DLL_operatornew
mov dword [esp + 0x1c], eax
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
xor edi, edi
test eax, eax
jle 0x478729
push esi
push edi
push 0x148
push ebx
call ebp
push esi
call dword [0x56cdc4]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x47870b
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x138]
mov ebx, dword [0x56ca4c]
mov byte [esi], 0
mov eax, dword [ebp + 8]
mov esi, 0x3f5
test eax, eax
je 0x47875d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 3
push 0
push edi
push eax
call ebx
mov esi, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x478786
test esi, esi
jne 0x478772
push edi
push eax
call dword [0x56ca20]
jmp 0x478786
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push 3
push 0
push edi
push eax
call ebx
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret 0x14

Function at 0x478cf0
Capabilities:
Delete registry value

Disassembly:
push ebx
mov ebx, dword [0x56ca20]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x478d0a
push edi
push eax
call ebx
mov eax, dword [esi + 8]
push edi
push eax
call ebx
pop edi
pop esi
pop ebx
ret 4
Function at 0x478d20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
mov ecx, dword [esp + 0xc]
push 0x52a7fb
mov edx, dword [esp + 0xc]
push eax
mov dword fs:[0], esp
sub esp, 0x130
lea eax, [esp]
push ebx
push eax
push ecx
push edx
call dword [0x56ca3c]
xor ebx, ebx
cmp eax, ebx
jne 0x478eec
push ebp
push esi
push edi
push 0x80
mov dword [esp + 0x1c], vtable.Table_char_.0
call sub.MFC42.DLL_operatornew
mov edi, 0x1f
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], 0x40
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push 0x105
push eax
push ebx
push ecx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x24], ebx
call dword [0x56ca30]
test eax, eax
jne 0x478e5e
lea edx, [esp + 0x38]
push edx
call dword [0x56cdc4]
inc eax
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebp, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x34], ebp
push eax
push ebp
call dword [0x56cdd4]
test ebp, ebp
je 0x478e37
lea esi, [edi + 1]
cmp ebx, esi
jne 0x478e2a
lea ecx, [edi*4 + 0x104]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x20]
mov ebp, eax
mov ecx, esi
mov esi, dword [esp + 0x20]
mov edi, ebp
push edx
rep movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x2c]
add esp, 8
add eax, 0x40
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov edi, eax
mov eax, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x20], ebx
mov dword [eax + ebx*4 - 4], ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x38]
inc eax
push 0x105
push ecx
push eax
push edx
mov dword [esp + 0x24], eax
call dword [0x56ca30]
test eax, eax
je 0x478dbd
xor edi, edi
test ebx, ebx
jle 0x478e8d
mov ebp, dword [esp + 0x1c]
cmp edi, ebx
jge 0x478e75
test edi, edi
jl 0x478e75
mov eax, dword [ebp]
jmp 0x478e77
xor eax, eax
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.00478d20
add esp, 8
inc edi
add ebp, 4
cmp edi, ebx
jl 0x478e6c
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x56ca2c]
mov edx, dword [esp + 0x154]
mov eax, dword [esp + 0x150]
push edx
push eax
call dword [0x56ca44]
xor edi, edi
mov esi, eax
test ebx, ebx
jle 0x478eda
mov ebp, dword [esp + 0x1c]
cmp edi, ebx
jge 0x478ec7
test edi, edi
jl 0x478ec7
mov eax, dword [ebp]
jmp 0x478ec9
xor eax, eax
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
inc edi
add ebp, 4
cmp edi, ebx
jl 0x478ebe
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x134]
pop ebx
mov dword fs:[0], ecx
add esp, 0x13c
ret
Function at 0x483540
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
push 0x9f8
push edi
call dword [0x56dda0]
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push ebp
call dword [0x56decc]
mov esi, dword [0x56de78]
lea ecx, [esp + 0x10]
push ecx
push edi
call esi
lea edx, [esp + 0x18]
push edx
push edi
call esi
mov eax, dword [0x569264]
mov ecx, dword fs:[0x2c]
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
mov esi, dword [ecx + eax*4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, edx
cdq
fld qword [esi + 0x160]
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
mov dword [esi + 0x148], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
push 0
sar eax, 1
mov dword [esi + 0x14c], eax
mov eax, dword [esi + 0x140]
fstp qword [eax + 0x78]
mov ecx, dword [esi + 0x140]
push 0
call fcn.004e8940
mov eax, dword [esi + 0x13c]
mov ebx, dword [0x56dd98]
test eax, eax
je 0x48365d
push 0x9d8
push edi
call ebx
test eax, eax
je 0x48365d
mov ecx, dword [esi + 0x13c]
push 0xffffffffffffffff
push 0
push ecx
mov ecx, dword [esi + 0x140]
call fcn.004e8940
mov ecx, dword [esi + 0x140]
push 0
call fcn.004e9a20
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x150]
mov ecx, dword [esi + 0x140]
push edx
push eax
call fcn.004e9d00
mov ecx, dword [esi + 0x140]
push 1
push 0
call fcn.004e8ea0
mov ecx, dword [esi + 0x140]
mov edx, dword [esi + 0x168]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x84], edx
mov ecx, dword [esi + 0x140]
call fcn.004e9730
mov ecx, dword [esi + 0x13c]
test ecx, ecx
je 0x4836f5
push 0xffffffffffffffff
call fcn.004e0350
test eax, eax
je 0x4836f5
push 0x9d8
push edi
call ebx
test eax, eax
je 0x4836f5
mov ecx, dword [esi + 0x13c]
push 0xffffffffffffffff
call fcn.004e0350
mov ecx, dword [esi + 0x13c]
push 0xffffffffffffffff
mov edi, eax
call fcn.004e03d0
mov ebx, eax
push 0x44
lea ecx, [edi + 2]
lea eax, [ebx + 2]
push eax
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [esi + 0x14c]
sar eax, 1
sub edx, eax
push ecx
dec edx
mov ecx, dword [esi + 0x148]
mov eax, edi
push edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
dec ecx
push ecx
push 0
push ebp
mov ebp, dword [0x56dd1c]
call ebp
mov edx, dword [esi + 0x140]
push 0x44
push ebx
push edi
mov eax, dword [edx + 0x50]
push 0
push 0
push 0
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0
push ebp
call dword [0x56dd28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x484790
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0xc]
push eax
call dword [0x56ded8]
mov eax, dword [esi + 8]
test eax, eax
je 0x4847af
push 1
push eax
call dword [0x56df20]
mov ecx, dword [esi + 0xc]
push 0
push ecx
call dword [0x56dd28]
pop esi
ret
Function at 0x4867e0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x4a0
push ebx
push ebp
push esi
push 0
mov ebx, ecx
push 0
push 0
lea eax, [esp + 0x18]
push 0
lea ecx, [esp + 0x1b4]
push eax
push ecx
push 0
push 0x80000000
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x105
mov ebp, 1
call dword [0x56ca24]
lea edx, [esp + 0x1c]
push str.EITCC
push edx
mov esi, eax
mov word [ebx + 0x8028], 0
call dword [0x56cdd4]
lea eax, [esp + 0x1c]
push 0x5579f4
push eax
call dword [0x56cdc8]
test esi, esi
jne 0x4869a3
push edi
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x1b8]
mov eax, ebp
push ecx
push edx
push eax
push 0x80000000
mov dword [esp + 0x30], 0x105
inc ebp
call dword [0x56ca24]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1a8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x48698a
cmp word [ebx + 0x8028], 0x100
jge 0x48698a
lea edx, [esp + 0x1a8]
lea eax, [esp + 0x2b0]
push edx
push str._sCurVer
push eax
call dword [0x56df30]
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2b0]
push ecx
push 1
push 0
push edx
push 0x80000000
call dword [0x56ca50]
mov esi, eax
mov eax, dword [esp + 0x1c]
neg esi
sbb esi, esi
push eax
inc esi
call dword [0x56ca2c]
test esi, esi
je 0x48698a
mov esi, dword [0x56cdc4]
lea ecx, [esp + 0x20]
push ecx
call esi
add edi, eax
lea edx, [esp + 0xa0]
push edi
push edx
call dword [0x56cdd4]
lea eax, [esp + 0xa0]
push eax
call esi
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x486953
movsx ecx, byte [esp + esi + 0xa0]
push ecx
call dword [sym.imp.MSVCRT.dll_tolower]
add esp, 4
mov byte [esp + esi + 0xa0], al
inc esi
cmp esi, ebx
jl 0x486935
cmp byte [edi], 0
je 0x48697b
mov esi, dword [esp + 0x14]
lea edx, [esp + 0xa0]
push edx
movsx eax, word [esi + 0x8028]
shl eax, 7
lea ecx, [eax + esi + 0x28]
push ecx
call dword [0x56cdd4]
jmp 0x48697f
mov esi, dword [esp + 0x14]
inc word [esi + 0x8028]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x486852
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4a0
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4a0
ret
Function at 0x4869b3
Capabilities:
Create thread

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
mov dword [esp + 8], esi
cmp dword [esi], 0
je 0x4869cb
mov eax, 0x80004005
pop esi
add esp, 0x28
ret 0x18
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4869d9
push eax
call dword [0x56cc10]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x486af7
mov ecx, dword [esp + 0x34]
push ebx
push ebp
lea eax, [esp + 0x1c]
push edi
push eax
push 0x18
push ecx
call dword [0x56cc20]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
push 0x28
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov ecx, 0xa
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov dword [ebx], 0x28
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov word [ebx + 0xc], 1
mov dx, word [esp + 0x36]
mov dword [ebx + 0x10], eax
mov word [ebx + 0xe], dx
mov esi, dword [esp + 0x36]
and esi, 0xffff
add esp, 4
imul esi, dword [esp + 0x10]
add esi, 0x1f
push eax
sar esi, 3
and esi, 0xfffffffc
imul esi, ebp
call dword [0x56cc1c]
mov edi, eax
push esi
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
push 0
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ebp
push 0
push eax
push edi
call dword [0x56cbb0]
push 0
lea ecx, [esp + 0x54]
push 0
push ecx
push 0
push ebx
push edi
mov dword [esp + 0x68], 0
call dword [0x56cbe4]
mov ebp, eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x486ac2
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x486ad3
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
test ebx, ebx
je 0x486ae0
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
push edi
push 0
call dword [0x56df10]
mov eax, dword [esp + 0x14]
pop edi
mov esi, eax
mov dword [eax + 0x24], ebp
pop ebp
pop ebx
jmp 0x486afe
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x18], edx
mov edx, dword [esi + 0xc]
mov dword [esi + 0x20], eax
push edx
mov dword [esi + 0x1c], ecx
mov dword [esi], 1
mov dword [esi + 4], 0
call dword [0x56cce4]
mov eax, dword [esi + 0x10]
push eax
call dword [0x56cd94]
lea ecx, [esp + 0x10]
push ecx
push 4
push esi
push 0x486b70
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x58]
add esp, 0x18
mov dword [esi + 8], eax
push edx
push eax
call dword [0x56ccdc]
mov eax, dword [esi + 8]
push eax
call dword [0x56cce0]
xor eax, eax
pop esi
add esp, 0x28
ret 0x18
Function at 0x489db0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
mov eax, dword [edi + 4]
cmp eax, 0x100
je 0x489dcc
cmp eax, 0x104
jne 0x489de1
cmp dword [edi + 8], 0x79
jne 0x489de1
push 0x10
call dword [0x56ddd8]
and al, 0xfe
test ax, ax
jne 0x489df7
cmp dword [edi + 4], 0x7b
je 0x489df7
push edi
mov ecx, esi
call sub.MFC42.DLL_CControlBar::PreTranslateMessage
pop edi
pop esi
add esp, 0x10
ret 4
mov ecx, dword [esi + 0x20]
lea eax, [esp + 8]
push eax
push ecx
call dword [0x56de60]
lea edx, [esp + 8]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::ClientToScreen
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 4
Function at 0x48b6e0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebx, ecx
push edi
mov edi, dword [0x56df08]
push 0
mov eax, dword [ebx + 0x20]
push esi
push 0x419
push eax
call edi
cmp eax, 0xffffffff
je 0x48b714
mov ecx, dword [ebx + 0x20]
push 0
push eax
push 0x416
push ecx
call edi
mov ecx, ebx
xor edi, edi
call fcn.004889b0
test eax, eax
jle 0x48b73e
xor ebp, ebp
mov edx, dword [ebx + 0xa4]
cmp dword [edx + ebp + 4], esi
je 0x48b74a
mov ecx, ebx
inc edi
add ebp, 0x68
call fcn.004889b0
cmp edi, eax
jl 0x48b723
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
mov ecx, ebx
mov dword [esp + 0x10], edi
call fcn.004889b0
dec eax
cmp edi, eax
jge 0x48b78f
lea eax, [edi + edi*2]
lea ebp, [edi + eax*4]
shl ebp, 3
mov eax, dword [ebx + 0xa4]
mov ecx, 0x1a
lea esi, [eax + ebp + 0x68]
lea edi, [eax + ebp]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov ecx, ebx
inc esi
add ebp, 0x68
mov dword [esp + 0x10], esi
call fcn.004889b0
dec eax
cmp esi, eax
jl 0x48b763
mov ecx, dword [ebx + 0xa0]
xor edi, edi
dec ecx
mov dword [ebx + 0xa0], ecx
mov edx, dword [ebx + 0xec]
mov eax, dword [ebx + 0xe8]
mov esi, edx
mov dword [esp + 0x18], esi
lea ebp, [esi + 1]
cmp ebp, edi
jne 0x48b7db
cmp eax, edi
je 0x48b7ca
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0xe8], edi
mov dword [ebx + 0xf0], edi
mov dword [ebx + 0xec], edi
jmp 0x48b8ed
cmp eax, edi
jne 0x48b81c
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0xe8], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xf0], ebp
mov dword [ebx + 0xec], ebp
jmp 0x48b8ed
mov ecx, dword [ebx + 0xf0]
cmp ebp, ecx
jg 0x48b840
cmp ebp, edx
jle 0x48b835
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0xec], ebp
jmp 0x48b8ed
mov eax, dword [ebx + 0xf4]
cmp eax, edi
jne 0x48b86d
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x48b861
mov eax, 4
jmp 0x48b86d
cmp eax, 0x400
jle 0x48b86d
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x10], eax
jl 0x48b87b
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0xec]
mov esi, dword [ebx + 0xe8]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x18], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0xec]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xe8]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
add esp, 8
mov dword [ebx + 0xe8], ecx
mov dword [ebx + 0xec], ebp
mov dword [ebx + 0xf0], edx
mov eax, dword [ebx + 0xe8]
mov ecx, dword [esp + 0x20]
pop edi
mov dword [eax + esi*4], ecx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4