joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e847
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
mov edi, 0x105
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x42e8ad
push 0x401c7c
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x401c94
mov eax, edi
lea ecx, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c95b
add esp, 0xc
test eax, eax
js 0x42e8ad
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call fcn.00440bc3
test eax, eax
jne 0x42e8ad
inc esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004655f1
leave
ret

Function at 0x42e985
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x42e9ec
push esi
lea eax, [ebp - 4]
push eax
push esi
push 2
push esi
push esi
mov dword [ebp - 4], esi
push esi
cmp dword [ebp + 0xc], esi
je 0x42e9ad
push 0x401cb8
jmp 0x42e9b2
push 0x401d20
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42e9ec
cmp dword [ebp - 4], esi
je 0x42e9ec
push 2
push 0x401424
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42e9e3
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test edi, edi
je 0x42ead8
push edi
push 0x401d90
push 0x401c94
mov eax, 0x104
lea ecx, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c95b
add esp, 0xc
test eax, eax
js 0x42ead8
push ebx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
mov ebx, 0x2001f
call fcn.0044eae9
test eax, eax
je 0x42ea58
mov ebx, 0x2011f
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ebx
push esi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ead7
cmp dword [ebp + 8], esi
je 0x42eab3
push 4
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 4
push esi
push 0x401df8
push dword [ebp - 0x210]
xor ebx, ebx
inc ebx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x42eacb
push dword [ebp + 0xc]
mov esi, ebx
push edi
call fcn.0042e985
jmp 0x42eacb
push 0x401df8
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x42eacb
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004655f1
leave
ret 8
Function at 0x42eaee
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x2001f
xor edi, edi
push edi
push 0x401cb8
push 0x80000002
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42eb90
push esi
push edi
push edi
push edi
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
mov esi, edi
push edi
jmp 0x42eb69
push 1
push edi
lea edi, reloc.ADVAPI32.dll_TraceMessage
inc esi
call fcn.0042e9f8
xor edi, edi
push edi
push edi
push edi
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x42eb45
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
push 0x401cb8
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004655f1
leave
ret

Function at 0x42ebb2
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x2001f
xor edi, edi
push edi
push 0x401d20
push 0x80000002
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ec54
push esi
push edi
push edi
push edi
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
mov esi, edi
push edi
jmp 0x42ec2d
push 1
push edi
lea edi, reloc.ADVAPI32.dll_TraceMessage
inc esi
call fcn.0042e9f8
xor edi, edi
push edi
push edi
push edi
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x42ec09
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
push 0x401d20
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004655f1
leave
ret
Function at 0x42ec76
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push edi
mov edi, ebx
test eax, eax
je 0x42ed89
push eax
push 0x401e18
push 0x401c94
mov eax, 0x104
lea ecx, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c95b
add esp, 0xc
test eax, eax
js 0x42ed89
push esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ebx
mov esi, 0x20019
call fcn.0044eae9
test eax, eax
je 0x42ecdc
mov esi, 0x20119
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push esi
push ebx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42ed88
push ebx
push ebx
push ebx
push ebx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
mov esi, ebx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x42ed66
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
inc esi
call dword [sym.imp.msvcrt.dll__wcslwr]
cmp word [ebp - 0x20c], 0x6b
pop ecx
jne 0x42ed51
cmp word [ebp - 0x20a], 0x62
jne 0x42ed51
push dword [ebp + 0xc]
lea edi, reloc.ADVAPI32.dll_TraceMessage
push 1
call fcn.0042e9f8
mov edi, eax
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push esi
push dword [ebp - 0x418]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x104
call ebx
test eax, eax
je 0x42ed1c
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret 8
Function at 0x42f4e3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
and dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
push edi
mov edi, ecx
test edi, edi
je 0x42f5f1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x20019
push esi
push 0x401f70
push 0x80000002
call ebx
test eax, eax
jne 0x42f5bc
and dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 1
push esi
push edi
push dword [ebp - 0x210]
call ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42f5b4
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push esi
push 0x4020b8
push dword [ebp - 0x214]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 1
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42f5ac
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
push dword [ebp - 0x214]
call ebx
push dword [ebp - 0x210]
call ebx
mov eax, 0x401448
pop ebx
mov cx, word [edi]
cmp cx, word [eax]
jne 0x42f5e8
test cx, cx
je 0x42f5e4
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x42f5e8
add edi, 4
add eax, 4
test cx, cx
jne 0x42f5c2
xor eax, eax
jmp 0x42f5ed
sbb eax, eax
sbb eax, reloc.ADVAPI32.dll_TraceMessage
test eax, eax
jne 0x42f606
push 0
push 0x401bec
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004655f1
leave
ret

Function at 0x43006a
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00431e34
test eax, eax
je 0x430138
lea ecx, reloc.ADVAPI32.dll_TraceMessage
call fcn.00441982
test eax, eax
jne 0x430138
call fcn.004418a5
test eax, eax
jne 0x430138
push ebx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x2001f
xor ebx, ebx
push ebx
push 0x402838
push 0x80000002
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4300f3
push 0x4028d4
push dword [ebp - 0x210]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x2001f
push ebx
push 0x402900
push 0x80000002
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop ebx
test eax, eax
jne 0x430138
push 0x4029d0
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004655f1
leave
ret
Function at 0x43027c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0x402a2c
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x43031e
push esi
push 0x3a
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43031d
push edi
xor edi, edi
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push 0x402a50
push 0x80000002
mov dword [ebp + 8], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43031c
inc esi
inc esi
je 0x430313
push 0x401424
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x430313
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4302ee
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push edi
push 0x402aa0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
ret 4
Function at 0x431aae
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 1
push ebx
push ebx
push ebx
push 0x401478
push 0x80000001
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x431b1d
push esi
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x401aac
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x431b13
cmp dword [ebp - 8], esi
jne 0x431b13
cmp dword [ebp - 0xc], 1
sete bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x431b27
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
inc esi
cmp dword [0x4683dc], 0
jne 0x431cfe
push edi
mov edi, 0x104
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x431cf2
mov eax, edi
push 0x402e74
lea edi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c8f1
test eax, eax
js 0x431bac
mov eax, edi
push eax
call fcn.00440bc3
test eax, eax
jne 0x431bac
push 0x104
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x431bac
push 0x402e74
mov eax, 0x104
call fcn.0042c8f1
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call fcn.00440bc3
test eax, eax
je 0x431cf2
push 0x104
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x431cf2
lea ecx, reloc.ADVAPI32.dll_TraceMessage
mov eax, 0x103
mov edx, ecx
call fcn.004402f7
lea eax, reloc.ADVAPI32.dll_TraceMessage
test eax, eax
je 0x431bff
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push reloc.KERNEL32.dll_LeaveCriticalSection
mov eax, 0x104
lea edi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c8f1
test eax, eax
js 0x431cf2
mov eax, edi
push eax
call fcn.00440bc3
test eax, eax
je 0x431cf2
push 0xff
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0xaa
push dword [0x4683ec]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x431cf2
mov ecx, dword [0x468438]
mov eax, dword [0x4672bc]
imul ecx, ecx, 0x2c
mov eax, dword [ecx + eax + 0x28]
push eax
push ebx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
call dword [sym.imp.USER32.dll_GetParent]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call edi
push 0x402
push ebx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
call edi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
test eax, eax
jne 0x431ca5
push 0x402
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
mov edi, eax
jmp 0x431cab
mov edi, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
push 0x28
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
pop ecx
test eax, eax
je 0x431cee
push dword [ebp - 0x628]
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push dword [ebp - 0x620]
mov edx, eax
push ecx
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
push 0x402
mov ecx, edi
call fcn.0043d53f
mov dword [0x4683dc], eax
jmp 0x431cf7
xor eax, eax
jmp 0x431ce7
mov eax, dword [0x4683dc]
pop edi
test eax, eax
jne 0x431cfe
xor esi, esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004655f1
leave
ret
Function at 0x431e34
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push 0x402e90
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431eac
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x401448
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x431ea3
cmp dword [ebp - 8], esi
jne 0x431ea3
cmp dword [ebp - 0xc], ebx
sete bl
test ebx, ebx
je 0x431ea3
push 0x402f10
push esi
call fcn.004400fc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4345ab
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
call fcn.00440ef5
push 6
pop esi
cmp eax, esi
jne 0x4345d5
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor eax, eax
cmp si, word [ebp - 0x24]
setne al
jmp 0x4345ff
xor esi, esi
cmp dword [0x4683b0], esi
je 0x4345fd
push edi
call fcn.0043eafb
mov edi, eax
call fcn.0044eae9
test eax, eax
jne 0x4345f4
test edi, edi
jmp 0x4345f7
cmp edi, 1
jne 0x4345fc
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x43464d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x20019
xor esi, esi
push esi
push 0x403160
xor ebx, ebx
push 0x80000002
inc ebx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434763
push 3
pop edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push esi
push 0x4019ec
push dword [ebp - 0x20c]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], esi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434757
cmp dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edi
jne 0x434757
push 0x100
lea edi, reloc.ADVAPI32.dll_TraceMessage
call fcn.00444a99
test eax, eax
je 0x434757
mov ecx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
mov eax, ecx
shr eax, 0x10
cdq
mov edi, eax
mov esi, edx
shld esi, edi, 0x10
movzx eax, cx
mov ecx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
cdq
shl edi, 0x10
or edi, eax
or esi, edx
shld esi, edi, 0x10
mov eax, ecx
shr eax, 0x10
cdq
shl edi, 0x10
or edi, eax
or esi, edx
shld esi, edi, 0x10
movzx eax, cx
cdq
shl edi, 0x10
or edi, eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
or esi, edx
call fcn.0044060c
cmp edx, esi
ja 0x434757
jb 0x434755
cmp eax, edi
jae 0x434757
xor ebx, ebx
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret
Function at 0x436178
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
lea eax, [ebp - 4]
mov esi, 0x401478
cmp dword [0x4683f0], ebx
jne 0x4361f2
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push esi
push 0x80000002
call edi
test eax, eax
je 0x4361c4
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push esi
push 0x80000001
call edi
cmp dword [ebp - 4], ebx
je 0x436248
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
push 0x4014d0
push dword [ebp - 4]
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x436248
push eax
push 2
push ebx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x436221
push 0x4014d0
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call edi
lea eax, [ebp - 4]
push eax
push 2
push 0
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x436248
push 0x4014d0
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x436456
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x14], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebx
push edi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], ecx
stosd dword es:[edi], eax
test esi, esi
je 0x436519
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
push esi
call ebx
mov edi, eax
test edi, edi
je 0x4364d5
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x24]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebp + 0xc], 0
je 0x4364d5
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp - 0x2c]
push esi
call ebx
mov edi, eax
test edi, edi
je 0x436519
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x20]
push 1
push 0
push 0
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x28]
push esi
call ebx
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret 8
Function at 0x43652e
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x46700c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
test ebx, ebx
je 0x4366fc
xor eax, eax
cmp eax, 0x469178
je 0x4366fc
cmp eax, 0x4691e0
je 0x4366fc
mov edx, dword [ebx + 0xc]
mov edi, 0x401424
test edx, edx
jne 0x43657f
mov edx, edi
mov eax, 0x400
lea esi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c8be
test eax, eax
js 0x4365ab
mov eax, esi
push eax
push 0
push 0xc
push 0x47c
push dword [ebp - 0x410]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, dword [ebx + 0x10]
test edx, edx
jne 0x4365b4
mov edx, edi
mov eax, 0x400
lea esi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c8be
test eax, eax
js 0x4365e0
mov eax, esi
push eax
push 0
push 0xc
push 0x46e
push dword [ebp - 0x410]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x46d
push dword [ebp - 0x410]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4366fc
mov eax, dword [0x4691e0]
test eax, eax
je 0x436612
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [0x4691e0], 0
mov edx, dword [ebx + 0x34]
test edx, edx
jne 0x43661e
mov edx, 0x401424
mov eax, 0x400
lea esi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042c8be
xor ebx, ebx
inc ebx
test eax, eax
js 0x4366d5
mov eax, esi
push eax
call fcn.00440bc3
test eax, eax
je 0x4366d5
cmp dword [0x469178], 0
jne 0x43668a
and dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0
and dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0
and dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0
push 0
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x469178
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
cmp dword [0x469178], 0
je 0x4366d5
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea esi, reloc.ADVAPI32.dll_TraceMessage
call fcn.0042cbc4
push 0xff000000
push 0x4691e0
push dword [ebp - 0x41c]
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
jne 0x4366c9
push dword [0x4691e0]
push eax
push 0x172
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x41c]
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
cmp dword [0x4691e0], 0
jne 0x4366eb
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
jmp 0x4366f5
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004655f1
leave
ret 4