joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458220
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ac943
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0049d725
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x109f7e0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x109d968
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x4af068]
push eax
mov ecx, edi
call fcn.004a2e9e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a44f0
test eax, eax
je 0x45833c
mov ecx, dword [esp + 0x3c]
call fcn.004a2ecb
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x4af618]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x458300
push edi
mov ecx, esi
call fcn.004a0488
mov ecx, esi
call fcn.004584a0
cmp dword [esp + 0x38], 1
jne 0x458335
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004a05f2
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x45ad50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45ad83
push esi
call fcn.0045de60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45ad7c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45ae09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45adf2
mov eax, dword [esi + 8]
test eax, eax
je 0x45ada7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45adee
cmp eax, 2
je 0x45adf2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45ad9a
cmp eax, 3
je 0x45adcd
cmp eax, 1
jne 0x45ad9a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45ad9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45ad9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045ae30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45ae18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045ae30
add esp, 4
pop esi
ret
Function at 0x468e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004689d0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00468a50
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00468a50
lea ecx, [esi + 0xc]
call fcn.0049c08c
lea ecx, [esi + 0x10]
call fcn.0049c08c
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046b280
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046b280
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046b280
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0049c101
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0049c101
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46e870
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x10ed818]
xor edx, edx
cmp eax, edx
jne 0x46e896
xor eax, eax
mov byte [eax + 0x10ed718], al
inc eax
cmp eax, 0x100
jl 0x46e87e
mov dword [0x10ed818], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x10ed718
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46e927
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46e8fa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x46e8c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x46e9a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46e9f3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46e9da
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4753a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad6ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00475cc0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x109e84c
call fcn.0049be42
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x475433
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049be42
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47542c
push 0
mov ecx, eax
call fcn.0046c4a0
mov dword [esi + 0xc], eax
jmp 0x475435
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x475435
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x407730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ffc8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x43a170]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x407770
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40777c
mov al, 1
jmp 0x40791f
mov dword [ebp - 0x10], 8
call fcn.004049f0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.004049f0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004049d0
add esp, 8
movzx eax, al
test eax, eax
je 0x4077bf
xor al, al
jmp 0x40791f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00407000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.004070c0
mov ecx, eax
call fcn.00407ca0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00401310
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.004070c0
mov ecx, eax
call fcn.00407ca0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00408140
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40783a
cmp dword [ebp - 0x6c], 1
je 0x407841
cmp dword [ebp - 0x6c], 3
je 0x4078db
jmp 0x4078f3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004070c0
mov ecx, eax
call fcn.00407ca0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x4078a4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.004070c0
mov ecx, eax
call fcn.00407ca0
push eax
call fcn.0040c030
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x4078a4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402300
mov al, byte [ebp - 0x61]
jmp 0x40791f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x4078c7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402300
mov al, byte [ebp - 0x62]
jmp 0x40791f
cmp dword [ebp - 0x38], 0
jne 0x4078d9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00407040
jmp 0x40790b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402300
mov al, byte [ebp - 0x63]
jmp 0x40791f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00402300
mov al, byte [ebp - 0x64]
jmp 0x40791f
jmp 0x4077d2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040a4cd
mov esp, ebp
pop ebp
ret

Function at 0x40a4cd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a170]
jne 0x40a4d7
repz ret
jmp fcn.0040f3b4
Function at 0x40be2d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40be5e
call fcn.00410274
mov dword [eax], esi
call fcn.00410261
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040b4f1
add esp, 0x14
push 0x16
pop eax
jmp 0x40beb3
test dword [ebp + 0xc], 0xfffffff9
jne 0x40be3a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40be8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00410287
pop ecx
call fcn.00410261
mov eax, dword [eax]
jmp 0x40beb3
test al, 0x10
jne 0x40beb1
test al, 1
je 0x40beb1
test byte [ebp + 0xc], 2
je 0x40beb1
call fcn.00410274
mov dword [eax], 5
call fcn.00410261
mov dword [eax], 0xd
jmp 0x40be82
xor eax, eax
pop esi
pop ebp
ret

Function at 0x41a02c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040fc0f
and dword [ebp - 4], 0
cmp dword [0x43c424], 0
mov ebx, eax
jne 0x41a0dd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41a18e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41a18e
push eax
call fcn.0040fb9d
mov dword [esp], 0x432fa4
push edi
mov dword [0x43c424], eax
call esi
push eax
call fcn.0040fb9d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43c428], eax
call esi
push eax
call fcn.0040fb9d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43c42c], eax
call esi
push eax
call fcn.0040fb9d
pop ecx
mov dword [0x43c434], eax
test eax, eax
je 0x41a0dd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040fb9d
pop ecx
mov dword [0x43c430], eax
mov eax, dword [0x43c430]
cmp eax, ebx
je 0x41a135
cmp dword [0x43c434], ebx
je 0x41a135
push eax
call fcn.0040fc18
push dword [0x43c434]
mov esi, eax
call fcn.0040fc18
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41a135
test edi, edi
je 0x41a135
call esi
test eax, eax
je 0x41a12c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41a12c
test byte [ebp - 0xc], 1
jne 0x41a135
or dword [ebp + 0x10], 0x200000
jmp 0x41a16e
mov eax, dword [0x43c428]
cmp eax, ebx
je 0x41a16e
push eax
call fcn.0040fc18
pop ecx
test eax, eax
je 0x41a16e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41a16e
mov eax, dword [0x43c42c]
cmp eax, ebx
je 0x41a16e
push eax
call fcn.0040fc18
pop ecx
test eax, eax
je 0x41a16e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43c424]
call fcn.0040fc18
pop ecx
test eax, eax
je 0x41a18e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41a190
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d790
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x43a170]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0x104
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x10]
call fcn.00408d90
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041d6c0
add esp, 8
test eax, eax
jne 0x41d7da
jmp 0x41d8b1
lea ecx, [ebp - 0x10]
call fcn.00408df0
mov ecx, dword [eax]
mov dword [ebp - 0x224], ecx
lea ecx, [ebp - 8]
call fcn.00408d90
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x224]
add ecx, 0xc
call fcn.00408cf0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
jmp 0x41d825
push 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 8]
call fcn.00408db0
lea ecx, [ebp - 0x240]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0xc
call fcn.00408bd0
push eax
lea ecx, [ebp - 8]
call fcn.00403440
movzx edx, al
test edx, edx
je 0x41d8b1
lea ecx, [ebp - 8]
call fcn.00408df0
mov eax, dword [eax]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, dword [ebp + 0xc]
jne 0x41d8ac
mov eax, dword [ebp - 0x228]
cmp dword [eax + 0x10], 0
je 0x41d8ac
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
and eax, 0xffff
movzx edx, ax
push edx
push 0x111
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41d8b1
jmp 0x41d814
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040a4cd
mov esp, ebp
pop ebp
ret

Function at 0x41e6f0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [0x43c550]
push eax
push 0x41e520
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x43e288], eax
pop ebp
ret
Function at 0x41ea80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [0x43da24]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41eaac
xor eax, eax
jmp 0x41eb66
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x43da24]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x43da24]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41eae0
xor eax, eax
jmp 0x41eb66
mov ecx, dword [ebp - 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040a870
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00408a10
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x41eb61
xor eax, eax
jmp 0x41eb66
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41eb90
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x43a170]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov ax, word [0x4344b4]
mov word [ebp - 0x230], ax
push 0x206
push 0
lea ecx, [ebp - 0x22e]
push ecx
call fcn.0040b1b0
add esp, 0xc
mov dword [ebp - 0x14], 0x104
mov dword [ebp - 0x20], 0
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x444]
push edx
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x20]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
jmp 0x41ec2c
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x20]
jae 0x41ecb8
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 0x440]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41ecb3
lea edx, [ebp - 0x44c]
push edx
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edx, dword [ebp - 0x44c]
push edx
call fcn.0041eb90
add esp, 4
mov eax, dword [ebp - 0x44c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x41ec23
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0040a4cd
mov esp, ebp
pop ebp
ret
Function at 0x41ed20
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x43a170]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 4]
push eax
push str.SoftwareSogouExplorer
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x41ed5a
or eax, 0xffffffff
jmp 0x41edf4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x433e54
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41ed8f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xfffffffe
jmp 0x41edf4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0040beb6
add esp, 8
cmp eax, 0xffffffff
jne 0x41edb6
mov eax, 0xfffffffd
jmp 0x41edf4
lea edx, [ebp - 0x210]
push edx
push str._splugins
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.0040abd5
add esp, 0x10
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040beb6
add esp, 8
cmp eax, 0xffffffff
jne 0x41edf2
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a4cd
mov esp, ebp
pop ebp
ret

Function at 0x41ee10
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x43a170]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 4]
push eax
push str.SoftwareMaxthon3
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x41ee4a
or eax, 0xffffffff
jmp 0x41eee4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 8]
push eax
push 0
push str.Folder
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41ee7f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xfffffffe
jmp 0x41eee4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0040beb6
add esp, 8
cmp eax, 0xffffffff
jne 0x41eea6
mov eax, 0xfffffffd
jmp 0x41eee4
lea edx, [ebp - 0x210]
push edx
push str._sCoreWebkitNpplugins
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.0040abd5
add esp, 0x10
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040beb6
add esp, 8
cmp eax, 0xffffffff
jne 0x41eee2
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a4cd
mov esp, ebp
pop ebp
ret
Function at 0x41ef00
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x43a170]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x100
lea eax, [ebp - 4]
push eax
push str.SOFTWARETencentQQBrowser
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x41ef3a
or eax, 0xffffffff
jmp 0x41f04e
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 8]
push eax
push 0
push str.Install
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41ef72
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xfffffffe
jmp 0x41f04e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea ecx, [ebp - 0x418]
push ecx
call fcn.0040beb6
add esp, 8
cmp eax, 0xffffffff
jne 0x41ef9c
mov eax, 0xfffffffd
jmp 0x41f04e
lea edx, [ebp - 0x418]
push edx
push str._sBin
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.0040abd5
add esp, 0x10
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.0040beb6
add esp, 8
cmp eax, 0xffffffff
jne 0x41f010
lea edx, [ebp - 0x418]
push edx
push 0x433d84
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.0040abd5
add esp, 0x10
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040beb6
add esp, 8
cmp eax, 0xffffffff
jne 0x41f00e
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x41f04c
lea eax, [ebp - 0x418]
push eax
push str._sBinplugins
push 0x104
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040abd5
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0040beb6
add esp, 8
cmp eax, 0xffffffff
jne 0x41f04c
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a4cd
mov esp, ebp
pop ebp
ret