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

Disassembly:
push 0xffffffffffffffff
push 0x48d616
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0x25]
push ebx
mov dword [esp + 0x20], ebx
push eax
mov byte [esp + 0x2c], bl
call fcn.00456da0
add esp, 0xc
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x1c], ebx
call fcn.004032c0
push 0x49a7f4
lea ecx, [esp + 0x14]
mov dword [esp + 0x134], ebx
call fcn.004032c0
mov byte [esp + 0x130], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00402c80
mov eax, dword [esp + 0xc]
cmp dword [eax - 4], 1
jle 0x40f0aa
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x10]
call fcn.00403040
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x40f0e9
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push 0x20119
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp eax, ebx
je 0x40f0e9
push 0x49a25f
jmp 0x40f146
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push str.DisplayVersion
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x40f141
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x49a25f
mov ecx, esi
call fcn.004032c0
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40f168
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004032c0
mov byte [esp + 0x130], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f19f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0044ffb2
add esp, 0x128
ret
Function at 0x40f1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48d5c3
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 0x103
lea eax, [esp + 0x21]
push ebx
mov dword [esp + 0x134], ebx
push eax
mov byte [esp + 0x28], bl
call fcn.00456da0
add esp, 0xc
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0x104
mov dword [esp + 0x18], ebx
call fcn.004032c0
mov byte [esp + 0x12c], 1
mov eax, dword [esp + 0x134]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00402c80
mov eax, dword [esp + 0xc]
cmp dword [eax - 4], 1
jle 0x40f27f
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x10]
call fcn.00403040
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x40f2be
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0x20119
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp eax, ebx
je 0x40f2be
push 0x49a25f
jmp 0x40f31b
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x49a80c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x40f316
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x49a25f
mov ecx, esi
call fcn.004032c0
mov byte [esp + 0x12c], bl
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40f33d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004032c0
mov byte [esp + 0x12c], bl
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f349
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x12c], 0xffffffff
mov eax, dword [esp + 0x134]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0044ffb2
add esp, 0x124
ret 4
Function at 0x40f3b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48d5c3
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 0x103
lea eax, [esp + 0x21]
push ebx
mov dword [esp + 0x134], ebx
push eax
mov byte [esp + 0x28], bl
call fcn.00456da0
add esp, 0xc
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0x104
mov dword [esp + 0x18], ebx
call fcn.004032c0
mov byte [esp + 0x12c], 1
mov eax, dword [esp + 0x134]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00402c80
mov eax, dword [esp + 0xc]
cmp dword [eax - 4], 1
jle 0x40f45f
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x10]
call fcn.00403040
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x40f49e
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0x20119
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp eax, ebx
je 0x40f49e
push 0x49a25f
jmp 0x40f4fb
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push str.DisplayVersion
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x40f4f6
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x49a25f
mov ecx, esi
call fcn.004032c0
mov byte [esp + 0x12c], bl
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40f51d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004032c0
mov byte [esp + 0x12c], bl
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f529
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x12c], 0xffffffff
mov eax, dword [esp + 0x134]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f557
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0044ffb2
add esp, 0x124
ret 4
Function at 0x416ae0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b840
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ada68]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0xf0000000
push 1
xor ebx, ebx
push 0x49ab8c
push ebx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x416b57
push ebx
push ebx
push 0x49aba8
call fcn.0043d948
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a51a8
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], eax
call fcn.004570ab
xor eax, eax
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x20]
push 8
push eax
mov byte [ebp - 0x1c], bl
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, ebx
jne 0x416bad
push ebx
push ebx
push 0x49abdc
call fcn.0043d948
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a51a8
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], eax
call fcn.004570ab
mov eax, 0x416ba8
ret
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x416bbc
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044ffb2
mov esp, ebp
pop ebp
ret
Function at 0x417ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x48d050
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ada68]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push 0x49a25f
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.004032c0
push 0x207
lea eax, [ebp + 1]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp], bl
call fcn.00456da0
add esp, 0xc
push 5
push str.CLSID
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], 0x208
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 1
call fcn.004031b0
call fcn.004371a8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x417b52
push 0x80004005
call fcn.00405e20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push esi
lea ecx, [ebp - 0x20]
push str._sInprocServer32
push ecx
mov byte [ebp - 4], 2
call fcn.0040b5c0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00402c80
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x417ba5
push ebx
lea ecx, [ebp - 0x14]
call fcn.00403100
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x417bd3
push 0x4a5120
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], eax
call fcn.004570ab
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x38]
push ecx
push ebx
push 0x49a25f
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, ebx
je 0x417c09
push 0x4a5120
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], esi
call fcn.004570ab
lea eax, [ebp]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x417c10
sub eax, edx
cmp eax, 3
jb 0x417c57
cmp dword [ebp - 0x24], 1
jb 0x417c57
lea ecx, [ebp]
push ecx
call fcn.00420990
mov ecx, 2
add esp, 4
cmp eax, ecx
je 0x417c4d
push 0x4a5120
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], ecx
call fcn.004570ab
lea ecx, [ebp - 0x20]
call fcn.00405e90
jmp 0x417c7b
mov eax, 0xd
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], eax
push 0x4a5120
lea eax, [ebp - 0x30]
push eax
call fcn.004570ab
mov eax, 0x417c76
ret
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x417c89
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
call fcn.00405e90
xor eax, eax
cmp esi, ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0044ffb2
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x418240
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48bdf8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x80], 0
call fcn.00456da0
mov edx, dword [esp + 0x88]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x44
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
add esp, 0xc
or ecx, eax
jge 0x4182c2
push 0
lea ecx, [esp + 0x80]
call fcn.00403100
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0xc]
push ecx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x418322
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41830d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x70
ret 4
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41836b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x70
ret 4
Function at 0x4187a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xd4]
sub esp, 0xc
push ebx
push esi
push edi
push ecx
lea ecx, [esp + 0x14]
call fcn.0043bf29
mov esi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edi, 0x100
cmp dword [esi + 4], edi
jne 0x4187f9
push 0x74
call ebx
test ax, ax
jge 0x4187f9
cmp dword [esp + 0x14], 0
je 0x4187ee
mov edx, dword [esp + 0x10]
push edx
push 0
call fcn.0043b63a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x418871
cmp dword [esi + 4], edi
jne 0x418871
push 0x4f
call ebx
test ax, ax
jl 0x4187db
cmp dword [esi + 4], edi
jne 0x418871
push 0x50
call ebx
test ax, ax
jge 0x418845
cmp dword [esp + 0x14], 0
je 0x41883a
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.0043b63a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 4], edi
jne 0x418871
push 0x4e
call ebx
test ax, ax
jge 0x418871
cmp dword [esp + 0x14], 0
je 0x418866
mov ecx, dword [esp + 0x10]
push ecx
push 0
call fcn.0043b63a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 8], 8
je 0x4187db
cmp dword [esp + 0x14], 0
je 0x41888e
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.0043b63a
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x418f60
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push ebx
push edi
mov ebx, eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
jne 0x418f78
pop edi
pop ebx
pop ecx
ret
push esi
push edi
call fcn.0043052b
mov esi, eax
add esp, 4
test esi, esi
je 0x419006
push edi
push 0
push esi
call fcn.00456da0
add esp, 0xc
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x418ffd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x418ffd
push edi
push eax
push esi
call fcn.00458ff0
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
test ebx, ebx
je 0x418ffd
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
push esi
push ebx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
test eax, eax
jne 0x41900d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00430536
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
cmp edi, dword [esp + 0x10]
jne 0x418ffe
call fcn.00430536
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x419030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x48cfa0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ada68]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push 0x49a25f
lea ecx, [ebp - 0x14]
mov edi, edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
call fcn.004032c0
push 0x207
lea eax, [ebp + 1]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp], bl
call fcn.00456da0
add esp, 0xc
push 5
push str.CLSID
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 1
call fcn.004031b0
call fcn.004371a8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4190d4
push 0x80004005
call fcn.00405e20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
push esi
lea ecx, [ebp - 0x1c]
push str._sInprocServer32
push ecx
mov byte [ebp - 4], 2
call fcn.0040b5c0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00402c80
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x419127
push ebx
lea ecx, [ebp - 0x14]
call fcn.00403100
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x419155
push 0x4a5120
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], eax
call fcn.004570ab
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push 0x49a25f
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x419189
mov dword [ebp - 0x28], eax
push 0x4a5120
lea eax, [ebp - 0x28]
push eax
call fcn.004570ab
mov ecx, 0x41
lea esi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4191c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4191c0
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x4191ce
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4191f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0044ffb2
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x41ac10
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x30c]
sub esp, 0x30c
push 0xffffffffffffffff
push 0x48ced8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4ada68]
xor eax, ebp
mov dword [ebp + 0x308], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0xff
lea eax, [ebp + 0x209]
push ebx
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp + 0x208], bl
call fcn.00456da0
push 0x207
lea ecx, [ebp + 1]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp], bl
call fcn.00456da0
add esp, 0x18
push 0x208
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41ac94
mov ecx, dword [str.Driversetchosts]
mov edx, dword [0x49b758]
mov dword [eax], ecx
mov ecx, dword [0x49b75c]
mov dword [eax + 4], edx
mov edx, dword [0x49b760]
mov dword [eax + 8], ecx
mov cx, word [0x49b764]
mov dword [eax + 0xc], edx
mov dl, byte [0x49b766]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], dl
lea eax, [ebp]
push 0x49b768
push eax
call fcn.00451cde
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
cmp esi, ebx
jne 0x41ad07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a5120
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
call fcn.004570ab
mov edi, 0xf
jmp 0x41ad13
mov esi, dword [ebp - 0x18]
push esi
call fcn.00451d48
add esp, 4
test eax, eax
jne 0x41ae02
push esi
lea edx, [ebp + 0x208]
push 0x100
push edx
call fcn.00451db0
sub esp, 0x10
mov ecx, esp
lea eax, [ebp + 0x208]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x1c], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41ad50
sub eax, esi
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.004164d0
call fcn.0041a830
add esp, 0x1c
cmp eax, ebx
jne 0x41ad10
sub esp, 0x1c
mov ecx, esp
mov eax, str.zj96596.com
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x1c], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
jmp 0x41ad90
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41ad90
sub eax, esi
push eax
mov eax, str.zj96596.com
push eax
call fcn.004164d0
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 1
lea eax, [ebp + 0x208]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [ebp - 0x24], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41adc3
sub eax, esi
push eax
lea edx, [ebp + 0x208]
push edx
call fcn.004164d0
mov byte [ebp - 4], bl
call fcn.0041a990
add esp, 0x38
cmp eax, ebx
jne 0x41adef
mov eax, 3
jmp 0x41ae12
mov dword [ebp - 0x14], ebx
jmp 0x41ad10
cmp esi, ebx
je 0x41ae0f
push esi
call fcn.00451f6f
add esp, 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x308]
xor ecx, ebp
call fcn.0044ffb2
add ebp, 0x30c
mov esp, ebp
pop ebp
ret