joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c68a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.0040c677
test eax, eax
jne 0x40c69e
and dword [esi + 0xac], eax
pop esi
ret
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40c6cf
push 0
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 0xb4], 0
pop esi
ret

Function at 0x4102d6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push str.Before_OnTimer
lea ecx, [ebp - 4]
call fcn.0040830c
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040149c
mov eax, dword [ebp + 8]
cmp eax, 2
jne 0x410326
lea ecx, [ebp + 0xb]
call fcn.004042a6
test eax, eax
jne 0x4103d0
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov ecx, esi
call fcn.004013cc
jmp 0x4103d0
cmp eax, 1
jne 0x410366
push 0xa
mov ecx, esi
call fcn.004090c7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp + 8]
call fcn.0040830c
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00408914
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040149c
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x4103d0
cmp eax, 3
jne 0x410396
mov eax, dword [esi + 0x4f0]
cmp dword [eax - 0xc], 0
je 0x41039b
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0xa4cb80
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4103d0
cmp eax, 4
jne 0x4103a6
push 0xa
mov ecx, esi
call fcn.004090c7
jmp 0x4103d0
cmp eax, 5
jne 0x4103d0
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004074f4
push 0
push dword [eax]
lea ecx, [esi + 0x3c0]
call fcn.00438a3c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040149c
push str.After_OnTimer
lea ecx, [ebp + 8]
call fcn.0040830c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040149c
pop esi
leave
ret 4
Function at 0x410749
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
call fcn.00405716
push dword [edi]
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.004091e5
mov ebx, dword [ebp - 8]
cmp dword [ebx - 0xc], 0
je 0x410822
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410822
lea ecx, [ebp - 0x14]
call fcn.00404e58
push ebx
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdipPrivateAddFontFile
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], eax
call fcn.00404e2e
mov esi, eax
test esi, esi
jle 0x41081a
xor ecx, ecx
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x4107e9
lea ecx, [esi - 1]
test ecx, ecx
lea edx, [eax + 4]
mov dword [eax], esi
mov eax, edx
jl 0x4107eb
and dword [eax], 0
and dword [eax + 4], 0
add eax, 8
dec ecx
jns 0x4107da
jmp 0x4107eb
xor edx, edx
test edx, edx
mov dword [edi + 4], edx
lea ecx, [ebp - 0x14]
je 0x41081d
lea eax, [ebp - 4]
push eax
push edx
push esi
call fcn.00405668
test eax, eax
jne 0x410813
mov eax, dword [ebp - 4]
test eax, eax
jle 0x410813
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
jmp 0x41081a
mov ecx, edi
call fcn.00405716
lea ecx, [ebp - 0x14]
call fcn.00404e74
lea ecx, [ebx - 0x10]
call fcn.0040149c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415166
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
sub edi, dword [esi + 0x18]
sub ebx, dword [esi + 0x14]
xor eax, eax
push 1
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov eax, dword [esi]
push ebx
call dword [eax + 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xec]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x41527b
push eax
call fcn.004092b5
test eax, eax
pop ecx
mov dword [ebp + 0x10], eax
je 0x415245
mov ecx, dword [eax + 0x10]
push 2
push 0
mov dword [ebp - 0xc], ecx
push eax
mov ecx, esi
call fcn.00414e23
movzx edi, di
movzx eax, bx
mov ebx, dword [ebp + 0x10]
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00402f59
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0xec], eax
jne 0x415221
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x415213
cmp word [ecx], ax
je 0x415213
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x415245
cmp dword [ebx + 0x10], eax
je 0x415245
mov dword [ebp - 4], 1
jmp 0x415245
xor ebx, ebx
inc ebx
push ebx
push 0
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00414e23
mov ecx, dword [ebp + 0x10]
push edi
push dword [ebp + 8]
push 0x2a3
call fcn.00402f59
mov dword [ebp - 8], ebx
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0xec], ecx
je 0x415256
push 0x67
jmp 0x415271
cmp dword [ebp - 8], ecx
je 0x41527b
cmp dword [ebp - 0xc], ecx
je 0x41527b
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0xe8]
cmp edx, dword [eax]
jne 0x41526f
mov dword [eax], ecx
push 0x6a
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00414e51
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4163e2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0040830c
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 2]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
lea eax, [ebp + 8]
push str.__02d__02d__02d__03d__n
push eax
call fcn.0041620a
mov esi, dword [ebp + 8]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esi - 0x10]
call fcn.0040149c
pop esi
leave
ret 4
Function at 0x41773c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
jne 0x41779e
test byte [esi + 0x14], 2
je 0x41779e
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub eax, ecx
je 0x41778f
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
sub edx, eax
je 0x41778f
mov edx, dword [esi + 0x10]
push 0x11
push 0
push 0
sub ecx, edx
push ecx
sub eax, edx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x41779e
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
pop esi
leave
ret 0xc

Function at 0x4177a3
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
test byte [esi + 0x14], 1
je 0x4177c2
cmp dword [esp + 0xc], 0
jne 0x4177c2
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xf9
pop esi
ret 0xc

Function at 0x4177c6
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
mov byte [esi + 0xd], 0
mov byte [esi + 0xc], 0
pop esi
ret 0xc

Function at 0x417819
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x120
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x41787c
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x114
call esi
cmp eax, edi
je 0x41792a
mov eax, dword [ebp - 0x98]
dec eax
je 0x417916
dec eax
jne 0x41792a
cmp dword [ebp - 0xa4], 6
jne 0x4178c7
inc eax
cmp dword [ebp - 0xa0], eax
jne 0x4178af
xor ecx, ecx
cmp byte [ebp + 0x72], al
setne cl
add ecx, 8
jmp 0x4178c3
cmp dword [ebp - 0xa0], edi
jne 0x417903
xor ecx, ecx
cmp byte [ebp + 0x72], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x41792a
cmp dword [ebp - 0xa4], 5
jne 0x4178f6
cmp dword [ebp - 0xa0], 2
jne 0x4178dd
push 5
jmp 0x417913
cmp dword [ebp - 0xa0], 1
jne 0x4178ea
push 6
jmp 0x417913
cmp dword [ebp - 0xa0], edi
jne 0x41792a
push 3
jmp 0x417913
cmp dword [ebp - 0xa4], 4
ja 0x41792a
push 4
jmp 0x417913
cmp dword [ebp - 0xa0], 2
jne 0x41792a
cmp byte [ebp + 0x72], al
jne 0x41792a
push 0xa
pop edi
jmp 0x41792a
mov eax, dword [ebp - 0x9c]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov ecx, dword [ebp + 0x74]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00468ec6
add ebp, 0x78
leave
ret
Function at 0x41905b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 1
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x4190a9
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0xfc]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x4190a9
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1d0]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2c0], 0
je 0x419123
push ebx
lea ebx, [esi + 0x2d0]
cmp dword [ebx], 0
je 0x4190c7
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2c0], edi
pop ebx
jne 0x41911c
push edi
call fcn.004092b5
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00402f59
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2c0], 0
pop edi
pop esi
leave
ret 0xc

Function at 0x41952e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 1
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
jne 0x419552
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
jmp 0x4195b1
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
je 0x4195b6
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x4195b6
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4195b1
or byte [esi + 0x14], 4
mov al, byte [esi + 0x14]
test al, 2
jne 0x4195a8
push dword [ebp + 8]
or al, 2
mov ecx, esi
mov byte [esi + 0x14], al
call fcn.00418e53
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4195b1
cmp dword [esi + 0x18], edi
je 0x4195b1
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4195c5
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
pop edi
pop esi
leave
ret 0xc
Function at 0x419e0b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x2d0]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x419e3c
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov edi, dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x419e80
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0xfc]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x419e80
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1d0]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2bc]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x419fae
push eax
call fcn.004092b5
mov ebx, eax
test ebx, ebx
pop ecx
je 0x419f2d
mov eax, dword [ebx + 0x10]
push 2
push 0
push ebx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.004194fd
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00402f59
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2bc], eax
jne 0x419f0a
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x419efc
cmp word [ecx], ax
je 0x419efc
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x419f2d
cmp dword [ebx + 0x10], eax
je 0x419f2d
mov dword [ebp - 0xc], 1
jmp 0x419f2d
push 1
push 0
push ebx
mov ecx, esi
call fcn.004194fd
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00402f59
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2bc], eax
je 0x419f6f
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x419fae
cmp dword [ebp - 0x10], eax
je 0x419fae
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x419fae
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2b8
cmp eax, dword [esi]
jne 0x419fae
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4270af
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xac
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
push edi
mov edi, dword [ebp + 0x7c]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x2c]
call dword [0x46c2d8]
push str.9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.Implemented_Categories_
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.A5F7140E_4311_4ef9_AABC_F55941B5EBE5
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [ebp - 0x30]
push eax
xor esi, esi
push 0x201
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42714e
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp + 0x70]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00468ec6
add ebp, 0x74
leave
ret
push 0x7e
lea eax, [ebp - 0xe]
push esi
push eax
mov word [ebp - 0x10], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
push 0x4703e8
push dword [ebp - 0x30]
mov dword [ebp - 0x38], 0x80
mov dword [ebp - 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x427199
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call dword [0x46c2d8]
xor esi, esi
inc esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x427132
Function at 0x427208
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
or ebx, 0xffffffff
test eax, eax
jne 0x427219
mov eax, str.kdump.dll
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x427264
push str.KxEOpenDumpMonitorEx2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x427264
push esi
push 0
push 0
push eax
push 0x4271a4
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
push 0xa
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x427263
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x428981
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x4289d7
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x4289ed
push 0x80004005
call fcn.004010b1
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4289f0
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x429088
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.00401318
mov edi, eax
cmp edi, esi
je 0x4290f0
lea ecx, [ebp - 0x70]
call fcn.00401301
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468ec6
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x429108
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.00429088
cmp eax, esi
jne 0x42913b
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x4290f8
lea ecx, [ebp - 0x70]
call fcn.00401301
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00401301
mov eax, esi
jmp 0x4290d6
Function at 0x42d535
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push esi
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x42d5b6
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42d5b5
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42d580
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x42d584
xor eax, eax
jmp 0x42d5b4
mov ecx, dword [ebp + 0x10]
lea esi, [edi + 1]
push esi
call fcn.00403cd8
test eax, eax
je 0x42d5a1
push edi
push dword [ebp + 0xc]
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00428572
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x42e21e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x48644c]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x3b0]
push edi
mov esi, ecx
mov dword [ebp - 0x74], eax
call dword [0x48642c]
xor edi, edi
push 2
push edi
push ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x78], ebx
jne 0x42e289
call fcn.00428814
mov esi, eax
jmp 0x42e355
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x42e2a6
call fcn.00428814
jmp 0x42e34a
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
mov dword [ebp - 0x6c], eax
je 0x42e29c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x42e2ff
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x68], eax
je 0x42e2d6
lea ecx, [ebp - 0x68]
call fcn.00428fcd
mov esi, 0x8007000e
lea ecx, [ebp - 0x70]
call fcn.00428ead
mov ecx, dword [ebp + 0x39c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468ec6
add ebp, 0x3a0
leave
ret 0x10
push eax
lea ecx, [ebp - 0x68]
call fcn.0042a555
mov ebx, dword [ebp - 0x68]
cmp ebx, edi
jne 0x42e316
mov esi, 0x8007000e
jmp 0x42e34c
call dword [0x48642c]
push esi
push ebx
push esi
push dword [ebp - 0x6c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x42e29c
mov ecx, dword [ebp - 0x68]
push dword [ebp + 0x3b4]
mov word [ecx + eax*2], di
push dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.0042d30e
mov esi, eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x68], eax
je 0x42e2db
lea ecx, [ebp - 0x68]
call fcn.00428fcd
jmp 0x42e2db