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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x406c3f
cmp dword [ebp + 0x10], 0
jne 0x406c44
mov eax, dword [ebp - 8]
jmp 0x406cac
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov esi, esp
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x406c8c
mov eax, dword [ebp - 8]
jmp 0x406cac
cmp dword [ebp - 0x14], 1
je 0x406c9d
cmp dword [ebp - 0x14], 2
je 0x406c9d
mov eax, dword [ebp - 8]
jmp 0x406cac
mov ecx, dword [ebp - 0x20]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x406cd0]
call fcn.004c3b59
pop eax
pop edx
pop esi
add esp, 0x24
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a740
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x40a74f
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, esp
call fcn.004c3b36
pop esi
add esp, 4
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 4

Function at 0x40a780
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x40a78f
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, esp
call fcn.004c3b36
pop esi
add esp, 4
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 4

Function at 0x40a8a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x40a8af
mov esi, esp
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004c3b36
pop esi
add esp, 4
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 8
Function at 0x40a8f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x40a908
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x40a928
push 0x80004005
call fcn.00401510
xor edx, edx
jne 0x40a90c
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.004c3b36
lea ecx, [eax + eax + 2]
mov esi, esp
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004c3b36
pop esi
add esp, 8
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x40a99e
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x40a9be
push 0x80004005
call fcn.00401510
xor edx, edx
jne 0x40a9a2
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.004c3b36
add eax, 1
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
lea ecx, [eax + edx*2]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x10], 1
jne 0x40a9cf
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004c3b36
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 8
Function at 0x40aa40
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push esi
push edi
push ecx
lea edi, [ebp - 0x248]
mov ecx, 0x92
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
call fcn.0042dcc0
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401950
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40aab0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x240], eax
lea ecx, [ebp - 0x10]
call fcn.004018c0
mov eax, dword [ebp - 0x240]
jmp 0x40ab47
mov dword [ebp - 0x30], 0x100
mov esi, esp
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x238]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp esi, esp
call fcn.004c3b36
test eax, eax
jne 0x40ab1f
lea edx, [ebp - 0x238]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040aa40
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40ab16
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x10]
call fcn.004018c0
mov eax, dword [ebp - 0x244]
jmp 0x40ab47
mov dword [ebp - 0x30], 0x100
jmp 0x40aab7
lea ecx, [ebp - 0x10]
call fcn.004018f0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040a740
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x10]
call fcn.004018c0
mov eax, dword [ebp - 0x248]
push edx
mov ecx, ebp
push eax
lea edx, [0x40ab78]
call fcn.004c3b59
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1873
add esp, 0x248
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 4
Function at 0x416da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
push edi
push ecx
lea edi, [ebp - 0x21c]
mov ecx, 0x87
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 8]
mov dword [edx + 8], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], 0
mov word [ebp - 0x214], 0
push 0x206
push 0
lea edx, [ebp - 0x212]
push edx
call fcn.004a1e50
add esp, 0xc
mov esi, esp
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
push 0x4dfd78
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x416e92
jmp 0x416f1f
mov ecx, dword [ebp - 8]
mov dword [ecx], 1
mov esi, esp
push str.OpenThemeData
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004c3b36
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov esi, esp
push str.CloseThemeData
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004c3b36
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov esi, esp
push str.DrawThemeBackground
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004c3b36
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov esi, esp
push str.SetWindowTheme
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004c3b36
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x416f50]
call fcn.004c3b59
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1873
add esp, 0x21c
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret

Function at 0x41e140
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp esi, esp
call fcn.004c3b36
pop esi
add esp, 4
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 8
Function at 0x42a370
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4a38
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.0042c0b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004020f0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0042f7d0
lea ecx, [ebp - 0x1c]
call fcn.0042cd20
test eax, eax
je 0x42a505
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x1c]
call fcn.0042cd20
mov dword [ebp - 0x50], eax
mov esi, esp
lea eax, [ebp - 0x28]
push eax
push 0x4cd85c
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
cmp esi, esp
call fcn.004c3b36
test eax, eax
jl 0x42a505
mov dword [ebp - 0x34], 0
mov esi, esp
lea edx, [ebp - 0x34]
push edx
push 0x4cd84c
push 0x4cd80c
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 0xc]
call eax
cmp esi, esp
call fcn.004c3b36
test eax, eax
jl 0x42a4ee
mov dword [ebp - 0x40], 0
mov esi, esp
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 0xc]
call edx
cmp esi, esp
call fcn.004c3b36
test eax, eax
jl 0x42a4d7
mov esi, esp
push 0x4e0578
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0x48], 0
mov esi, esp
push 0
push str.Shell_DocObject_View
push 0
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x42a4d7
mov esi, esp
push 0
push str.Internet_Explorer_Server
push 0
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 8]
call edx
cmp esi, esp
call fcn.004c3b36
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 8]
call eax
cmp esi, esp
call fcn.004c3b36
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00428df0
mov eax, dword [ebp - 0x4c]
push edx
mov ecx, ebp
push eax
lea edx, [0x42a54c]
call fcn.004c3b59
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret
Function at 0x42b1b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4a08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x18]
call fcn.0042c0b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004020f0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0042f7d0
lea ecx, [ebp - 0x18]
call fcn.0042cd20
test eax, eax
je 0x42b384
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x18]
call fcn.0042cd20
mov dword [ebp - 0x50], eax
mov esi, esp
lea eax, [ebp - 0x24]
push eax
push 0x4cd85c
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
cmp esi, esp
call fcn.004c3b36
test eax, eax
jl 0x42b384
mov dword [ebp - 0x30], 0
mov esi, esp
lea edx, [ebp - 0x30]
push edx
push 0x4cd84c
push 0x4cd80c
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 0xc]
call eax
cmp esi, esp
call fcn.004c3b36
test eax, eax
jl 0x42b36d
mov dword [ebp - 0x3c], 0
mov esi, esp
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [eax + 0xc]
call edx
cmp esi, esp
call fcn.004c3b36
test eax, eax
jl 0x42b356
mov esi, esp
push 0x4e0578
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0x44], 0
mov esi, esp
push 0
push str.Shell_DocObject_View
push 0
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x42b356
mov esi, esp
push 0
push str.Internet_Explorer_Server
push 0
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0x48], eax
movsx edx, word [ebp + 0xc]
test edx, edx
jge 0x42b33a
mov esi, esp
push 0
push 1
push 0x115
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004c3b36
jmp 0x42b356
mov esi, esp
push 0
push 0
push 0x115
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.004c3b36
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [eax + 8]
call edx
cmp esi, esp
call fcn.004c3b36
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov esi, esp
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 8]
call eax
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00428df0
mov eax, dword [ebp - 0x4c]
push edx
mov ecx, ebp
push eax
lea edx, [0x42b3cc]
call fcn.004c3b59
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x50
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x430547
mov dword [ebp - 0x10], 4
mov esi, esp
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x430587
mov eax, dword [ebp - 8]
jmp 0x430596
cmp dword [ebp - 0x1c], 4
je 0x430594
mov eax, 0xd
jmp 0x430596
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4305b8]
call fcn.004c3b59
pop eax
pop edx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 8

Function at 0x4325a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
push ecx
lea edi, [ebp - 0x28]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4325dc
jmp 0x43267d
mov esi, esp
lea ecx, [ebp - 0x20]
push ecx
push 0
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 1
je 0x43260e
jmp 0x43267d
mov ecx, dword [ebp + 0xc]
call fcn.004030d0
mov eax, dword [ebp - 0x20]
shr eax, 1
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004031c0
mov dword [ebp - 0x28], eax
mov esi, esp
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43265e
jmp 0x43267d
mov ecx, dword [ebp - 0x20]
shr ecx, 1
mov edx, dword [ebp - 0x28]
mov word [edx + ecx*2], 0
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00403220
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x4326a4]
call fcn.004c3b59
pop eax
pop edx
pop edi
pop esi
add esp, 0x28
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 8
Function at 0x4326e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x432714
jmp 0x43274f
mov esi, esp
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x432748
jmp 0x43274f
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x432774]
call fcn.004c3b59
pop eax
pop edx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 0xc

Function at 0x432790
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4327c2
jmp 0x432808
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004a1dab
add esp, 4
lea edx, [eax + eax + 2]
mov esi, esp
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x432801
jmp 0x432808
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 8

Function at 0x432820
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp esi, esp
call fcn.004c3b36
neg eax
sbb eax, eax
add eax, 1
pop esi
cmp ebp, esp
call fcn.004c3b36
pop ebp
ret

Function at 0x432d60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, esp
call fcn.004c3b36
mov eax, dword [ebp - 0x14]
push edx
mov ecx, ebp
push eax
lea edx, [0x432db0]
call fcn.004c3b59
pop eax
pop edx
pop edi
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret
Function at 0x433a00
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9028
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
push ecx
lea edi, [ebp - 0x5c]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [0x4f76b0]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x433a53
xor eax, eax
jmp 0x433b32
mov ecx, dword [0x4f76b8]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp - 0x20]
call fcn.00402f90
mov dword [ebp - 4], 0
push 0x4dc95c
lea eax, [ebp - 0x20]
push eax
call fcn.0043b650
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x433b19
mov edx, dword [0x4f76b8]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x44]
call fcn.00408270
mov esi, esp
push 0
push 0
push 0
push 0
push str.QQPCMgr
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x433af6
mov esi, esp
push 0
push SysReAllocString
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.00403570
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x433af6
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 1
lea ecx, [ebp - 0x44]
call fcn.00403470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00418010
mov eax, dword [ebp - 0x58]
jmp 0x433b32
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00418010
mov eax, dword [ebp - 0x5c]
push edx
mov ecx, ebp
push eax
lea edx, [0x433b68]
call fcn.004c3b59
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1873
add esp, 0x5c
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret