joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x1000e345
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
push es
jne 0x1000e2ea
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp fcn.1000e308
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000e34d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000e356
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000e360
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000e342
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1000e2cc
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1000e3b3
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1000e402
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1000e382
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000dc13
pop esi
push edx
sub dword [ecx - 1], eax
jne 0x1000e40d
push 1
push esi
call edi
mov eax, esi
jmp 0x1000e40e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000e45f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.1000dc23
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000dbd8
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
test dword [eax - 4], eax
invalid
jmp dword [ecx]
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.1000dc23
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000dbd8
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.1000dc23
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000dbd8
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.1000dc13
cmp al, 0xee
into
jecxz 0x1000e606
movsd dword es:[edi], dword [esi]
int3
Function at 0x1000e8c1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
clc
fnop
pop ss
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x1000e907
cmp dword [ebp - 0x398], 0
je 0x1000ead1
cmp dword [ebp + 0xc], 1
je 0x1000ead1
cmp dword [ebp + 0xc], 8
jne 0x1000ea99
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
stc
invalid
inc dword [eax]
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.1000dc23
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000dbd8
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
invalid

Function at 0x10019242
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetFileAttributesW]

Function at 0x10019382
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_CreateProcessW]

Function at 0x10019552
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [eax + 0x28]
push dword [eax + 0x24]
push dword [eax + 0x20]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
pop ebp
ret 4

Function at 0x100196f2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteExW]

Function at 0x10019812
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
pop ebp
ret 0x28

Function at 0x10019a72
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.WININET.dll_InternetCheckConnectionW]
Function at 0x1001ca6a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xe0
mov eax, 0x1002677d
call fcn.1002312c
mov esi, edx
mov edi, ecx
xor ebx, ebx
lea eax, [ebp - 0xac]
push 0x98
push ebx
mov dword [ebp - 0xbc], ebx
push eax
mov dword [edi], ebx
call sub.VCRUNTIME140.dll_memset
pop ecx
lea ecx, [ebp - 0xac]
call fcn.10015df6
mov dword [ebp - 4], ebx
cmp byte [ebp + 8], bl
je 0x1001cabd
mov edx, str.Wow6432Node_
lea ecx, [ebp - 0xac]
call fcn.100160c0
mov edx, str.CLSID_
lea ecx, [ebp - 0xac]
call fcn.100160c0
mov edx, esi
mov ecx, eax
call fcn.100160c0
mov edx, str.LocalServer32
mov ecx, eax
call fcn.100160c0
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xa8]
call fcn.10005aea
push 5
pop eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
cmp dword [ebp - 0xd8], 8
mov esi, SysReAllocString
push ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0xec]
cmovae eax, dword [ebp - 0xec]
push 0x20019
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001cb87
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xa8]
call fcn.10005aea
cmp dword [ebp - 0xc0], 8
lea ecx, [ebp - 0xb4]
push 0xf
pop eax
push ecx
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xd4]
cmovae eax, dword [ebp - 0xd4]
push 0x20119
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 0xb5], bl
test eax, eax
jne 0x1001cb8e
mov byte [ebp - 0xb5], 1
mov eax, dword [ebp - 0xb0]
test al, 2
je 0x1001cbb2
and eax, 0xfffffffd
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xb0], eax
call fcn.1000c3c6
mov eax, dword [ebp - 0xb0]
test al, 1
je 0x1001cbc1
lea ecx, [ebp - 0xec]
call fcn.1000c3c6
cmp byte [ebp - 0xb5], 0
je 0x1001cc37
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], ebx
push eax
push ebx
push ebx
push 2
push ebx
push ebx
push dword [ebp - 0xb4]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1001cc2b
push dword [ebp - 0xb0]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x1001cc2b
lea eax, [ebp - 0xb0]
push eax
push esi
push ebx
push 2
push ebx
push ebx
push dword [ebp - 0xb4]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1001cc23
mov dword [edi], esi
mov bl, 1
jmp 0x1001cc2b
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push dword [ebp - 0xb4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x5c]
call fcn.10015dc4
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov al, bl
call fcn.100230d6
ret 4
Function at 0x100210b2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esi], eax
mov ecx, dword [ecx]
cmp ecx, dword [ebp + 0x10]
je 0x10021211
mov eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
inc ebx
mov edi, 0x3ff
mov ecx, eax
cmp dword [esi], edx
je 0x10021211
mov edx, dword [ebp + 8]
movzx ecx, word [eax]
mov eax, ecx
mov byte [ebp - 1], 0
movzx edx, word [edx]
cmp bx, dx
jae 0x10021131
lea eax, [ecx + 0x2400]
cmp ax, di
ja 0x10021220
mov eax, edx
lea ebx, [ecx - 0xdc00]
shl eax, 0xa
or ebx, eax
mov cl, byte [ebp - 1]
cmp ebx, 0x80
jae 0x1002114e
mov dl, bl
xor edi, edi
jmp 0x1002117e
mov ebx, eax
lea eax, [ecx + 0x2800]
cmp ax, di
ja 0x10021120
add ebx, 0xffff2840
mov cl, 1
shl ebx, 0xa
mov byte [ebp - 1], cl
jmp 0x10021123
mov edx, ebx
cmp ebx, 0x800
jae 0x10021163
shr edx, 6
xor edi, edi
or dl, 0xc0
inc edi
jmp 0x1002117e
cmp ebx, 0x10000
jae 0x10021175
shr edx, 0xc
or dl, 0xe0
push 2
jmp 0x1002117d
shr edx, 0x12
or dl, 0xf0
push 3
pop edi
movzx eax, cl
mov ecx, dword [ebp - 0xc]
xor eax, 1
add eax, eax
cmp edi, 3
cmovb eax, edi
mov dword [ebp - 0x10], eax
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [esi]
cmp eax, dword [ebp - 8]
jl 0x10021211
mov eax, ecx
mov ecx, dword [ebp + 0x14]
add eax, 2
cmp byte [ebp - 1], 0
mov dword [ecx], eax
jne 0x100211b5
cmp edi, 3
jae 0x100211c0
mov eax, dword [esi]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp - 0x10]
jmp 0x100211c3
mov eax, dword [ebp - 8]
test eax, eax
je 0x100211e8
imul ecx, edi, 6
sub ecx, 6
mov edx, ebx
dec eax
shr edx, cl
mov dword [ebp - 8], eax
and dl, 0x3f
mov eax, dword [esi]
or dl, 0x80
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp - 8]
test eax, eax
jg 0x100211ca
xor ecx, ecx
shr ebx, 0xa
inc ecx
movzx eax, bx
cmp byte [ebp - 1], 0
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, ecx
mov dword [ebp - 0xc], eax
cmp ecx, dword [ebp + 0x10]
jne 0x100210db
xor eax, eax
cmp dword [ebp + 0xc], ecx
sete al
pop edi
pop esi
pop ebx
leave
ret 0x1c
push 2
pop eax
jmp 0x10021219
Function at 0x401bcc
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00445b20
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x3c], 0x3c
push dword [ebp + 8]
mov dword [ebp - 0xc], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x401c43
mov eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
jne 0x401c12
mov al, 1
leave
ret
cmp eax, 5
jne 0x401c1f
cmp dword [ebp - 0xc], 4
ja 0x401c43
jmp 0x401c0e
cmp eax, 3
je 0x401c2e
cmp eax, 4
je 0x401c2e
cmp eax, 1
jne 0x401c43
cmp dword [ebp - 0xc], 1
jne 0x401c43
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x401c43
push 0x2f
pop ecx
cmp cx, word [eax]
je 0x401c0e
xor al, al
leave
ret

Function at 0x404248
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, eax
mov ebp, dword [esi + 0x4c]
mov eax, 0x100
cmp ax, word [esp + 0x18]
push edi
sete byte [esp + 0x1c]
cmp byte [esp + 0x1c], 0
jne 0x40427c
test dword [esi + 0x2c], 0x10000000
je 0x40427c
push 4
push ebp
call fcn.00411dc9
pop ecx
pop ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp byte [esp + 0x1c], bl
je 0x4042ad
mov eax, dword [esi + 0x84]
cmp eax, ebx
jne 0x404297
mov eax, 0x44b914
push eax
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
movzx ebx, byte [esi + 0x71]
mov dword [esp + 0x14], 8
jmp 0x4042da
push ebp
or eax, 0xffffffff
call fcn.00444ce2
pop ecx
push 1
mov edi, eax
call fcn.00402ccf
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x71], 2
jne 0x4042da
push 2
push 0
mov ecx, esi
call fcn.00404125
push 2
push ebx
push dword [esp + 0x1c]
call fcn.00405548
push 0
mov ecx, esi
call fcn.004055d2
cmp byte [esp + 0x1c], 0
je 0x404338
mov eax, dword [esi + 0x2c]
shr eax, 0x14
and al, 1
mov eax, dword [esi + 0x60]
je 0x404309
test eax, eax
je 0x40430d
jmp 0x404318
test eax, eax
je 0x404318
push eax
push ebp
call dword [sym.imp.IMM32.dll_ImmAssociateContext]
mov dword [esi + 0x60], eax
push 0xffffffffffffffff
push 0
push 0xb1
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 4]
push 1
push eax
mov eax, dword [esi + 0x34]
call fcn.00407011
pop ecx
pop ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x4043f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1088
call fcn.00448890
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 3
pop eax
mov word [ebp - 0x1084], ax
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, ecx
cmp byte [esi + 0x6f], 8
mov dword [ebp - 0x1060], edi
mov dword [ebp - 0x106c], edi
mov dword [ebp - 0x107c], eax
jne 0x4044df
mov eax, dword [esi + 0x4c]
cmp eax, edi
je 0x4044df
push 0x824
lea ecx, [ebp - 0x1054]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, eax
cmp ebx, edi
je 0x4044df
lea eax, [ebp - 0x105c]
push eax
lea eax, [ebp - 0x1058]
push eax
push 0xb0
push dword [esi + 0x4c]
mov dword [ebp - 0x1058], edi
mov dword [ebp - 0x105c], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x105c]
cmp dword [ebp - 0x1058], eax
jne 0x4044a8
mov eax, ebx
mov dword [ebp - 0x105c], eax
mov dword [ebp - 0x1058], edi
mov ecx, dword [ebp - 0x1058]
sub eax, ecx
push eax
lea eax, [ebp + ecx*2 - 0x1054]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x106c], eax
cmp eax, edi
je 0x4044df
push 8
pop eax
mov word [ebp - 0x1074], ax
lea eax, [ebp - 0x1074]
mov dword [ebp - 0x1060], eax
mov esi, dword [esi + 0x34]
mov eax, dword [esi]
push edi
push edi
push dword [ebp - 0x1060]
lea ecx, [ebp - 0x1084]
push ecx
push 0xab
push esi
call dword [eax + 0xc]
cmp dword [ebp - 0x106c], edi
je 0x404510
push dword [ebp - 0x106c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00447d7e
leave
ret 4

Function at 0x405ec4
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0
mov ebx, edx
push dword [ebx + 0xc]
mov edi, ecx
push 0x419
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x405f84
push eax
push dword [ebx]
call fcn.004456f0
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
or edi, 0x100
push edi
push eax
call dword [ecx + 0x38]
mov ecx, dword [esi + 0x34]
mov edx, eax
call fcn.004207e2
xor edi, edi
pop ecx
cmp eax, edi
jne 0x405f62
mov eax, dword [0x45286c]
cmp dword [ebp - 0x20], eax
jne 0x405f33
or eax, 0xffffffff
cmp eax, 0xffffffff
je 0x405f76
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0x417
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x405f76
push edi
push dword [ebp - 0x14]
push 0x8002
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x405f76
push dword [ebx]
push eax
mov eax, esi
call fcn.0040503f
mov eax, dword [esi + 0x34]
push edi
call fcn.00410941
pop ecx
cmp dword [ebp - 0x1c], edi
je 0x405f84
push dword [ebp - 0x1c]
call fcn.00445730
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret
Function at 0x4061dc
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 8], 1
mov dword [ebp - 4], ebx
lea eax, [ebp - 4]
cmp byte [ebp + 8], bl
je 0x40625a
push ebx
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_GPU_RENDERING
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x406280
cmp dword [ebp - 8], ebx
mov esi, 0x44b9bc
sete al
mov dword [ebp - 0xc], 4
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 8]
je 0x406280
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x406280
push eax
push 2
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_GPU_RENDERING
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x406280
push 0x44b9bc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 4], ebx
pop esi
pop ebx
je 0x406290
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x406292
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, eax
cmp byte [esi + 0x7e], 0x39
jb 0x4062b3
mov eax, dword [esi + 0x6c]
shr eax, 0xa
and al, 1
movzx eax, al
push eax
call fcn.004061dc
pop ecx
mov cl, byte [esi + 0x7e]
cmp cl, 0x37
jbe 0x4063b2
movzx eax, word [esi + 0x34]
push ebx
xor ebx, ebx
cmp ax, bx
jne 0x4062fd
lea eax, [ebp - 8]
push eax
push 2
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4063b1
push 0x44b9bc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x4063a8
movzx ecx, cl
sub ecx, 0x38
je 0x406326
dec ecx
jne 0x4063b1
movzx eax, word [esi + 0x34]
mov ecx, eax
mov dword [ebp - 4], ecx
xor ecx, ecx
inc ecx
cmp cx, ax
jne 0x406346
mov dword [ebp - 4], 0x2328
jmp 0x406346
mov ecx, 0x22b8
cmp cx, ax
je 0x406343
mov edx, 0x270f
cmp dx, ax
je 0x406343
mov dword [ebp - 4], 0x1f40
jmp 0x40634b
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], ebx
je 0x4063b1
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4063b1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
mov esi, 0x44b9bc
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
je 0x4063b1
push 4
lea eax, [ebp - 4]
push eax
push 4
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
leave
ret