joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006cc50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 1
je 0x1006cc71
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
jmp 0x1006cccc
push 5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1006cc95
call fcn.100459e0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1006ccb4
call fcn.100459e0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1006cccc
call fcn.100459e0
call fcn.100521b0
cmp dword [eax + 0x3c], 0
je 0x1006cce6
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1006cbf0
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1006caa0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x7c], 0
je 0x1006cd16
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x7c], 0
cmp dword [ebp - 4], 0
je 0x1006cd2b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
or ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x10072d70
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x10072df8
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10072db8
push str.hAdvAPI32___0
push 0
push 0x28c
push str.f:dd_vctools_vc7libs_ship_atlmfcinclude_atltransactionmanager.h
push 2
call fcn.10219150
add esp, 0x14
cmp eax, 1
jne 0x10072db8
int3
cmp dword [ebp - 8], 0
jne 0x10072dc5
mov eax, 1
jmp 0x10072e16
push str.RegDeleteKeyTransactedW
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10072df6
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
jmp 0x10072e16
jmp 0x10072e11
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0
je 0x10072e11
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x10072e16
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x10086de0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 8], 0
jne 0x10086e05
push 0x8d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.1003b650
test eax, eax
je 0x10086e05
int3
cmp dword [ebp + 0xc], 0
jne 0x10086e1f
push 0x8e
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.1003b650
test eax, eax
je 0x10086e1f
int3
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x58], 0
je 0x10086ec1
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.10086d30
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10086e4b
mov eax, dword [ebp + 0x10]
jmp 0x10086ef7
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x10086eba
cmp dword [ebp - 4], 4
je 0x10086e9b
push 0x9c
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.1003b650
test eax, eax
je 0x10086e9b
int3
cmp dword [ebp - 0xc], 4
je 0x10086eb5
push 0x9d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.1003b650
test eax, eax
je 0x10086eb5
int3
mov eax, dword [ebp - 0x14]
jmp 0x10086ef7
mov eax, dword [ebp + 0x10]
jmp 0x10086ef7
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6c], 0
jne 0x10086ede
push 0xa4
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_appui3.cpp
call fcn.1003b650
test eax, eax
je 0x10086ede
int3
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x6c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10089170
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
call fcn.10039b30
movzx eax, al
test eax, eax
jne 0x100891ad
mov ecx, dword [ebp + 8]
call fcn.10003adb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100891ad
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x90
call fcn.100c0970
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x1008c570
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1008c5a4
push str.m_hKey___0
push 0
push 0x1629
push 0x10280c38
push 2
call fcn.10219150
add esp, 0x14
cmp eax, 1
jne 0x1008c5a4
int3
xor edx, edx
jne 0x1008c5a4
xor eax, eax
jne 0x1008c57b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0
je 0x1008c5cc
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 8]
call fcn.10072d70
jmp 0x1008c63a
movzx eax, byte [0x10303a88]
test eax, eax
jne 0x1008c606
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1008c5ff
push str.RegDeleteKeyExW
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10303a84], eax
mov byte [0x10303a88], 1
cmp dword [0x10303a84], 0
je 0x1008c62a
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [0x10303a84]
jmp 0x1008c63a
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esp, ebp
pop ebp
ret 4

Function at 0x1008d460
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x102f6d90]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1008d48f
xor eax, eax
jmp 0x1008d4fb
lea ecx, [ebp - 0x218]
push ecx
call fcn.10218f90
add esp, 4
movzx edx, word [ebp + eax*2 - 0x21a]
cmp edx, 0x5c
je 0x1008d4cc
push 0x1027fc04
push 0x105
lea eax, [ebp - 0x218]
push eax
call fcn.10224050
add esp, 0xc
test eax, eax
je 0x1008d4cc
xor eax, eax
jmp 0x1008d4fb
mov ecx, dword [ebp + 8]
push ecx
push 0x105
lea edx, [ebp - 0x218]
push edx
call fcn.10224050
add esp, 0xc
test eax, eax
je 0x1008d4ec
xor eax, eax
jmp 0x1008d4fb
lea eax, [ebp - 0x218]
push eax
call fcn.10036540
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102188c0
mov esp, ebp
pop ebp
ret
Function at 0x100ba070
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.100b9c90
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100ba0c6
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.10036fc0
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.10036ff0
jmp 0x100ba0d8
mov ecx, dword [ebp + 0x10]
call fcn.10003adb
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.10059ad0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100ba1c0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
call fcn.1003e380
push 0xfffffffffffffff0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 3
cmp eax, 3
je 0x100ba1fd
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100b9c90
jmp 0x100ba209
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.100b9cc0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100ba26d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x100ba244
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.10036fc0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x100ba261
push pe_nt_image_headers32
push 0xff
mov ecx, dword [ebp + 0x10]
call fcn.100020c5
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, dword [ebp + 0x10]
call fcn.10036ff0
jmp 0x100ba29e
mov ecx, dword [ebp + 0x10]
call fcn.10003adb
push eax
push 0xffffffffffffffff
push 0x14d
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x100ba29e
mov ecx, dword [ebp + 0x10]
call fcn.10003adb
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.10059ad0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100be6c0
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x100be6f2
push str.m_hKey___0
push 0
push 0x164f
push 0x10280c38
push 2
call fcn.10219150
add esp, 0x14
cmp eax, 1
jne 0x100be6f2
int3
xor edx, edx
jne 0x100be6f2
xor eax, eax
jne 0x100be6c9
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]
mov esp, ebp
pop ebp
ret 4
Function at 0x101280d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jne 0x101280e9
call fcn.100550b0
mov dword [ebp + 0xc], eax
mov ecx, 0x10305800
call fcn.10003adb
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1012810f
xor eax, eax
jmp 0x1012817f
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1012812a
xor eax, eax
jmp 0x1012817f
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1012814b
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x1012817f
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.10128b40
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.1007cd10
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x1013ed40
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026292e
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x102f6d90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1003b6a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CMFCToolBarButton.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.10001dcb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10001dcb
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.100776f0
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.10250290
mov ecx, dword [ebp - 0x10]
call fcn.1013eed0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x3c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.10140da0
cmp dword [ebp + 0x10], 0
jne 0x1013edf4
mov dword [ebp - 0x14], 0x102bba70
jmp 0x1013edfa
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.10001e38
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x20], 0
je 0x1013eeb2
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x3c], 0
jne 0x1013eeb2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x1013ee70
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x38], 0xffffffff
je 0x1013ee53
push 1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
call fcn.100ef230
mov ecx, eax
call fcn.100ef3b0
jmp 0x1013ee6e
push 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.100ef230
mov ecx, eax
call fcn.100ef420
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], eax
jmp 0x1013eeb2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x34], 0xffffffff
je 0x1013ee97
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
call fcn.100ef230
mov ecx, eax
call fcn.100ef3b0
jmp 0x1013eeb2
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
push eax
call fcn.100ef230
mov ecx, eax
call fcn.100ef420
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x34], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10156470
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x101564a4
push str.m_hKey___0
push 0
push 0x170a
push 0x10280c38
push 2
call fcn.10219150
add esp, 0x14
cmp eax, 1
jne 0x101564a4
int3
xor edx, edx
jne 0x101564a4
xor eax, eax
jne 0x1015647b
mov dword [ebp - 8], 4
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x101564df
mov eax, dword [ebp - 0xc]
jmp 0x101564ee
cmp dword [ebp - 4], 4
je 0x101564ec
mov eax, 0xd
jmp 0x101564ee
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x10156500
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
cmp dword [ebp + 0x10], 0
jne 0x10156532
push str.pnBytes___0
push 0
push 0x1733
push 0x10280c38
push 2
call fcn.10219150
add esp, 0x14
cmp eax, 1
jne 0x10156532
int3
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0
jne 0x1015655b
push str.m_hKey___0
push 0
push 0x1734
push 0x10280c38
push 2
call fcn.10219150
add esp, 0x14
cmp eax, 1
jne 0x1015655b
int3
xor eax, eax
jne 0x1015655b
xor ecx, ecx
jne 0x10156532
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1015658f
mov eax, dword [ebp - 8]
jmp 0x1015659e
cmp dword [ebp - 4], 3
je 0x1015659c
mov eax, 0xd
jmp 0x1015659e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x101565b0
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x101565e2
push str.m_hKey___0
push 0
push 0x1805
push 0x10280c38
push 2
call fcn.10219150
add esp, 0x14
cmp eax, 1
jne 0x101565e2
int3
xor edx, edx
jne 0x101565e2
xor eax, eax
jne 0x101565b9
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 3
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_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10156610
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10156642
push str.m_hKey___0
push 0
push 0x180d
push 0x10280c38
push 2
call fcn.10219150
add esp, 0x14
cmp eax, 1
jne 0x10156642
int3
xor edx, edx
jne 0x10156642
xor eax, eax
jne 0x10156619
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]
mov esp, ebp
pop ebp
ret 8
Function at 0x102188c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102f6d90]
jne 0x102188ca
repz ret
jmp fcn.1022a970
Function at 0x40c198
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040799b
mov dword [ebp - 0x14], eax
cmp dword [0x4528e0], esi
jne 0x40c28b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c218
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c36b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c36b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c36b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4528e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4528e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4528e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4528f0], eax
test eax, eax
je 0x40c288
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4528ec], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c2b0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c2a3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c2c5
push 4
pop eax
jmp 0x40c36d
cmp dword [ebp - 0x14], esi
je 0x40c2c5
push dword [0x4528e0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c2aa
mov eax, dword [0x4528ec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c323
cmp dword [0x4528f0], edi
je 0x40c323
push eax
call ebx
push dword [0x4528f0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c323
test eax, eax
je 0x40c323
call ecx
test eax, eax
je 0x40c318
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c318
test byte [ebp - 8], 1
jne 0x40c323
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c353
mov eax, dword [0x4528e4]
cmp eax, edi
je 0x40c350
push eax
call ebx
test eax, eax
je 0x40c350
call eax
mov esi, eax
test esi, esi
je 0x40c350
mov eax, dword [0x4528e8]
cmp eax, edi
je 0x40c350
push eax
call ebx
test eax, eax
je 0x40c350
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4528e0]
call ebx
test eax, eax
je 0x40c36b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c36d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403b05
mov esp, ebp
pop ebp
ret
Function at 0x10005e30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x1001d994], 0
jne 0x1000610a
push esi
push str.eoXUVUp_l8uS
mov byte [0x1001d994], 1
call fcn.1000765f
push 0x12a0
push 0
push 0x1001c6e0
call fcn.1000c8f0
push 0
push 0x1001c6fe
push 0x100175cc
call fcn.10005d60
push 0
push 0x1001c8fc
push 0x100175d4
call fcn.10005d60
push 0x1001c938
push 0
push 0x100175dc
call fcn.10005d60
push 0
push 0x1001c93c
push 0x100175e4
call fcn.10005d60
add esp, 0x40
push 0
push 0x1001cb3a
push 0x100175ec
call fcn.10005d60
push 0x1001cb78
push 0
push 0x100175f4
call fcn.10005d60
push 0
push 0x1001cb7c
push 0x100175fc
call fcn.10005d60
push 0
push 0x1001cd7a
push 0x10017604
call fcn.10005d60
push 0x1001cdb8
push 0
push 0x1001760c
call fcn.10005d60
push 0
push 0x1001cdbc
push 0x10017614
call fcn.10005d60
add esp, 0x48
push 0
push 0x1001cdf8
push 0x1001761c
call fcn.10005d60
push 0
push 0x1001ce34
push 0x10017624
call fcn.10005d60
push 0
push 0x1001ce98
push 0x1001762c
call fcn.10005d60
push 0
push 0x1001cefc
push 0x10017634
call fcn.10005d60
push 0x1001cf60
push 0
push 0x1001763c
call fcn.10005d60
push 0x1001cf64
push 0
push 0x10017644
call fcn.10005d60
add esp, 0x48
push 0x1001cf68
push 0
push 0x1001764c
call fcn.10005d60
push 0x1001cf6c
push 0
push 0x10017654
call fcn.10005d60
push 0x1001cf70
push 0
push 0x1001765c
call fcn.10005d60
push 0x1001cf74
push 0
push 0x10017664
call fcn.10005d60
push 0x1001cf78
push 0
push 0x1001766c
call fcn.10005d60
push 0x1001cf7c
push 0
push 0x10017674
call fcn.10005d60
add esp, 0x48
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.Console
push connect
mov dword [ebp - 8], 3
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10006032
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
cmp dword [ebp - 4], 0xa
jbe 0x10006109
push 0x7d0
push 0
push str.eoXUVUp_l8uS
call fcn.1000c8f0
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push str.eoXUVUp_l8uS
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
push 0
push 0x1001c6fe
push 0x100175cc
call fcn.10005d60
push 0
push 0x1001c8fc
push 0x100175d4
call fcn.10005d60
push 0x1001c938
push 0
push 0x100175dc
call fcn.10005d60
push 0
push 0x1001c93c
push 0x100175e4
call fcn.10005d60
push 0
push 0x1001cb3a
push 0x100175ec
call fcn.10005d60
push 0x1001cb78
push 0
push 0x100175f4
call fcn.10005d60
add esp, 0x48
push 0
push 0x1001cb7c
push 0x100175fc
call fcn.10005d60
push 0
push 0x1001cd7a
push 0x10017604
call fcn.10005d60
push 0x1001cdb8
push 0
push 0x1001760c
call fcn.10005d60
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret