joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49db10
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x49db6a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49db6a
push 0
push 0x80000080
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x49db6a
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
jne 0x49db70
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, edi
pop edi
pop esi
pop ebx
sete al
ret

Function at 0x49e5d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49e657
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x49e657
mov edx, eax
shr edx, 0x10
jne 0x49e5f9
and eax, 0xffff
mov ebp, dword [esp + 0x14]
push ecx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x49e657
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor edi, edi
cmp eax, edi
je 0x49e64e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
je 0x49e64e
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov byte [esi + 4], 0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 0xc

Function at 0x49e5d2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49e657
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x49e657
mov edx, eax
shr edx, 0x10
jne 0x49e5f9
and eax, 0xffff
mov ebp, dword [esp + 0x14]
push ecx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x49e657
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor edi, edi
cmp eax, edi
je 0x49e64e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
je 0x49e64e
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov byte [esi + 4], 0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 0xc
Function at 0x49e7a0
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
jne 0x49e7b3
pop edi
xor eax, eax
pop esi
ret 4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49e7c3
pop edi
pop esi
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
jne 0x49e7db
pop edi
pop esi
ret 4
mov eax, 1
mov dword [esi + 0x10], 0
mov byte [esi + 4], al
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
pop edi
pop esi
ret 4

Function at 0x4a2410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x520fe1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0050b490
lea edi, [esi + 0x24]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.004f8b10
push ebp
lea ecx, [esi + 0x12f0]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x28], 0x524ce0
call fcn.004e7c10
lea ecx, [esi + 0x1328]
mov byte [esp + 0x18], 2
call fcn.004ee5f0
mov dword [esi + 0x135c], ebp
mov dword [esi + 0x1360], ebp
mov eax, 3
mov dword [esi], 0x52864c
mov dword [edi], 0x528648
mov dword [esi + 0x298], eax
mov dword [esi + 0x278], eax
mov dword [esi + 0x28], 0x528638
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi + 0x284], ebp
mov dword [esi + 0x248], ebp
mov dword [esi + 0x25c], ebp
mov dword [esi + 0x260], ebp
mov dword [esi + 0x28c], ebp
mov dword [esi + 0x288], ebp
mov dword [esi + 0x24c], ebp
mov dword [esi + 0x270], ebp
mov dword [esi + 0x274], 0x878787
mov dword [esi + 0x264], ebp
mov dword [esi + 0x290], 5
mov dword [esi + 0x294], ebp
mov dword [esi + 0x23c], ebp
mov dword [esi + 0x238], ebp
mov dword [esi + 0x254], 0x12
mov dword [esi + 0x12e8], ebp
mov dword [esi + 0x12ec], ebp
mov dword [esi + 0x244], ebp
mov dword [esi + 0x258], 1
mov dword [esi + 0x240], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x29c]
rep stosd dword es:[edi], eax
lea eax, [esi + 0x1368]
xor ecx, ecx
mov edx, eax
mov dword [esi + 0x27c], ebp
mov dword [esi + 0x280], ebp
mov dword [esi + 0x12e4], ebp
mov dword [esi + 0x1354], ebp
mov dword [esi + 0x268], ebp
mov dword [esi + 0x26c], 0xffffffff
mov dword [esi + 0x1358], ebp
mov dword [esi + 0x1364], 2
mov dword [edx], ecx
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax], 0x10
mov dword [esi + 0x1378], ebp
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4a2427
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x520fe1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0050b490
lea edi, [esi + 0x24]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.004f8b10
push ebp
lea ecx, [esi + 0x12f0]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x28], 0x524ce0
call fcn.004e7c10
lea ecx, [esi + 0x1328]
mov byte [esp + 0x18], 2
call fcn.004ee5f0
mov dword [esi + 0x135c], ebp
mov dword [esi + 0x1360], ebp
mov eax, 3
mov dword [esi], 0x52864c
mov dword [edi], 0x528648
mov dword [esi + 0x298], eax
mov dword [esi + 0x278], eax
mov dword [esi + 0x28], 0x528638
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi + 0x284], ebp
mov dword [esi + 0x248], ebp
mov dword [esi + 0x25c], ebp
mov dword [esi + 0x260], ebp
mov dword [esi + 0x28c], ebp
mov dword [esi + 0x288], ebp
mov dword [esi + 0x24c], ebp
mov dword [esi + 0x270], ebp
mov dword [esi + 0x274], 0x878787
mov dword [esi + 0x264], ebp
mov dword [esi + 0x290], 5
mov dword [esi + 0x294], ebp
mov dword [esi + 0x23c], ebp
mov dword [esi + 0x238], ebp
mov dword [esi + 0x254], 0x12
mov dword [esi + 0x12e8], ebp
mov dword [esi + 0x12ec], ebp
mov dword [esi + 0x244], ebp
mov dword [esi + 0x258], 1
mov dword [esi + 0x240], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esi + 0x29c]
rep stosd dword es:[edi], eax
lea eax, [esi + 0x1368]
xor ecx, ecx
mov edx, eax
mov dword [esi + 0x27c], ebp
mov dword [esi + 0x280], ebp
mov dword [esi + 0x12e4], ebp
mov dword [esi + 0x1354], ebp
mov dword [esi + 0x268], ebp
mov dword [esi + 0x26c], 0xffffffff
mov dword [esi + 0x1358], ebp
mov dword [esi + 0x1364], 2
mov dword [edx], ecx
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax], 0x10
mov dword [esi + 0x1378], ebp
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4a29e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x24c]
test eax, eax
jne 0x4a2a8d
lea eax, [esp + 4]
push 0
push eax
call fcn.004a26a0
mov edx, dword [0x58e22c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 0
push edx
mov edx, dword [esi + 4]
sub eax, ecx
push 0
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
sub edx, eax
push edx
push ecx
push eax
push 0x44000080
push 0x56e1d0
push str.edit
push 0x20
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0xfffffffffffffffc
push eax
mov dword [esi + 0x24c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x24c]
push esi
push str.CLASSPROC
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, dword [esi + 0x24c]
push 0x4a23d0
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
call fcn.004a2b10
mov edx, dword [esi + 0x24c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x10
ret
Function at 0x4a3676
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x218
push esi
mov esi, ecx
cmp word [esi + 0x30], 0
je 0x4a3704
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a3704
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x24c]
pop edi
test eax, eax
je 0x4a36c5
lea ecx, [esp + 0x14]
push 0x103
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 0x14], 0
push 1
jne 0x4a36e5
mov edx, dword [esi + 4]
push 0
push edx
call fcn.0050b9d0
add esp, 0xc
pop esi
add esp, 0x218
ret
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.004a26a0
mov edx, dword [esi + 4]
lea ecx, [esp + 4]
push 1
push ecx
push edx
call fcn.0050b9d0
add esp, 0xc
pop esi
add esp, 0x218
ret
Function at 0x4a3a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x26c
push ebx
push esi
mov ebx, ecx
call fcn.004a4f70
mov esi, eax
test esi, esi
mov dword [esp + 8], esi
je 0x4a3c35
push ebp
push edi
mov ecx, ebx
call fcn.004a39c0
push 0
push 0
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [ebx + 0x12e8], eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 1
mov ecx, esi
mov dword [ebx + 0x12ec], eax
call fcn.004a5650
mov ebp, eax
xor esi, esi
test ebp, ebp
jle 0x4a3b0e
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x76]
mov word [esp + 0x74], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push 1
stosw word es:[edi], ax
lea eax, [esp + 0x78]
push 0x103
push eax
push esi
call fcn.004a55e0
test eax, eax
je 0x4a3b0e
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x44]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
lea edi, [esi + 1]
lea ecx, [esp + 0x74]
push edx
mov dword [esp + 0x48], 0x30
mov dword [esp + 0x4c], 0x42
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ecx, ebx
mov dword [esp + 0x6c], eax
push esi
call fcn.004a3c40
mov ecx, dword [ebx + 0x12ec]
push 0
push 0
push esi
lea eax, [esp + 0x50]
push 0
push eax
push 1
push esi
push ecx
lea ecx, [ebx + 0x1328]
call fcn.004eec70
mov esi, edi
cmp esi, ebp
jl 0x4a3a6d
xor eax, eax
mov ecx, 0xc
push eax
push eax
lea edi, [esp + 0x1c]
push esi
lea edx, [esp + 0x20]
push eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x12ec]
push edx
lea ebp, [ebx + 0x1328]
push 1
push esi
push eax
mov ecx, ebp
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x38], 0x100
mov dword [esp + 0x3c], 0x800
call fcn.004eec70
push 0x98
call fcn.0049bcd0
mov edx, eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x43
mov dword [esp + 0x2c], 0x1001
mov dword [esp + 0x40], edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [0x5bf78c]
add esp, 8
neg ecx
sbb ecx, ecx
push 0
push 0
and ecx, 8
push 0xffffffffffffffff
lea edx, [esp + 0x20]
mov dword [esp + 0x48], eax
push 0
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x12ec]
push edx
lea eax, [esi + 1]
push 1
push eax
push ecx
mov ecx, ebp
call fcn.004eec70
push 0x8c
call fcn.0049bcd0
mov edx, eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x42
mov dword [esp + 0x2c], 0x1000
mov dword [esp + 0x40], edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
lea edx, [esp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x12ec]
push 0
push 0
push 0xffffffffffffffff
push 0
push edx
add esi, 2
push 1
push esi
push eax
mov ecx, ebp
call fcn.004eec70
mov ecx, ebx
call fcn.004a3780
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x26c
ret
Function at 0x4a4090
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, ecx
xor ebx, ebx
call fcn.004a4f70
mov eax, dword [esp + 0x214]
mov ecx, dword [0x59f7b8]
cmp ecx, eax
je 0x4a40b7
mov ebx, 1
push edi
push eax
call fcn.004a4f70
mov ecx, eax
call fcn.004a51a0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x24c]
pop edi
test eax, eax
je 0x4a40f7
lea ecx, [esp + 8]
push 0x103
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 8], 0
mov ecx, esi
je 0x4a4108
call fcn.004a29a0
jmp 0x4a410d
call fcn.004a3730
test ebx, ebx
je 0x4a413a
xor edx, edx
cmp word [esp + 8], dx
setne dl
add edx, 0x7613
mov esi, edx
call fcn.00422af0
mov eax, dword [eax + 4]
push 0
push esi
push 0x405
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebx
add esp, 0x208
ret 4
Function at 0x4a7580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov eax, dword [eax + 4]
push edi
test eax, eax
jne 0x4a7597
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0x5669f8
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x4a7628
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 4]
test ebx, ebx
jne 0x4a75c5
mov ebx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
test ebx, ebx
jne 0x4a75c5
xor esi, esi
jmp 0x4a75f7
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0051d7f0
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 8]
push eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4a7db0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
cmp word [eax], 0
push edi
je 0x4a7e59
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, eax
add esp, 4
inc ebp
je 0x4a7e59
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x4a7e59
mov eax, dword [esp + 0x18]
lea ebx, [ebp + ebp]
mov dword [esi], 0
mov dword [esi + 4], 0
push ebx
mov dword [esi], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 4], edi
je 0x4a7e59
mov ecx, ebx
xor eax, eax
mov edx, ecx
push ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
push edx
push 0
push esi
push 0x4a7cb0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x4a7e70
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x587518]
sub esp, 0xc
test eax, eax
push esi
mov esi, ecx
jne 0x4a7ecc
mov eax, 4
lea ecx, [esp + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
lea edx, [esp + 0xc]
push eax
push ecx
push edx
push 0x53a164
push str.Software360360se3
push SysReAllocStringLen
mov dword [0x587518], 1
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4a7ecc
mov eax, dword [esp + 4]
mov dword [esi], eax
pop esi
add esp, 0xc
ret
Function at 0x4a83b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
call fcn.004a7e70
mov eax, dword [esi]
pop esi
cmp eax, 0xff
jne 0x4a7f72
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push 0x566aa8
push 0x566a3c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x4a7f72
cmp word [esp + 8], ax
je 0x4a7f72
lea eax, [esp + 8]
push 0x566a24
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4a7f72
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret
mov ecx, 0x587100
jmp 0x4a7ee0

Function at 0x4a83d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x58751c]
sub esp, 8
test eax, eax
je 0x4a7fb5
mov eax, dword [0x587520]
add esp, 8
ret
mov eax, 4
lea ecx, [esp + 4]
mov dword [esp + 4], eax
mov dword [esp], eax
lea eax, [esp]
mov dword [0x58751c], 1
push eax
push 0x587520
push ecx
push 0x566abc
push str.Software360360se3
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4a8009
mov eax, dword [0x587520]
cmp eax, 1
je 0x4a800b
xor eax, eax
mov dword [0x587520], eax
add esp, 8
ret
xor eax, eax
add esp, 8
ret
mov ecx, 0x587100
jmp 0x4a7fa0
Function at 0x4a8770
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x12a4
call fcn.0051d7f0
mov ax, word [0x56e1d0]
push ebx
push ebp
push esi
mov ebx, dword [esp + 0x12c8]
mov esi, ecx
push edi
mov word [esp + 0x64], ax
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x66]
mov ebp, ebx
rep stosd dword es:[edi], eax
and ebp, 0x20
stosw word es:[edi], ax
test bl, 2
mov edi, 1
je 0x4a87b5
mov edi, 6
mov eax, ebx
and eax, 0x40
je 0x4a87c1
mov edi, 0xf
lea ecx, [esi + 0x21c]
lea edx, [esi + 0x14]
push ecx
push str._tmp:
test eax, eax
push edx
push 0x55a604
mov ecx, 0x56e210
je 0x4a8871
call fcn.0040dd80
xor ecx, ecx
mov edx, dword [esp + 0x12d8]
mov ch, byte [esi + 0x10]
push eax
mov eax, dword [0x588e5c]
mov cl, byte [esi + 0xc]
push str._gw:
push eax
mov eax, dword [esp + 0x12d8]
push str._mw:
push ecx
mov ecx, dword [esp + 0x12e4]
push 0x53abfc
push ebx
push 0x53aa48
push edx
mov edx, dword [esp + 0x12ec]
push 0x53abdc
push eax
push 0x53abec
push ecx
push 0x53abe4
push edx
push 0x53abf4
push edi
push str._tp:
push str._sandboxse
push 0x56e274
push 0x566b68
lea eax, [esp + 0xc8]
push 0x927
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x6c
jmp 0x4a88f5
call fcn.0040dd80
xor ecx, ecx
mov edx, dword [esp + 0x12d8]
mov ch, byte [esi + 0x10]
push eax
mov eax, dword [0x588e5c]
mov cl, byte [esi + 0xc]
push str._gw:
push eax
mov eax, dword [esp + 0x12d8]
push str._mw:
push ecx
mov ecx, dword [esp + 0x12e4]
push 0x53abfc
push ebx
push 0x53aa48
push edx
mov edx, dword [esp + 0x12ec]
push 0x53abdc
push eax
push 0x53abec
push ecx
push 0x53abe4
push edx
push 0x53abf4
push edi
push str._tp:
push 0x56e274
push 0x566ae8
lea eax, [esp + 0xc4]
push 0x927
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x68
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ecx
push edx
mov dword [esp + 0x20], ecx
mov ecx, ebp
neg ecx
sbb ecx, ecx
push eax
push edi
and ecx, 0x40
push edi
push ecx
push 1
push edi
lea edx, [esp + 0x80]
push edi
push edx
push edi
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], 0x80
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
cmp ebx, edi
je 0x4a8968
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4a8968
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x12c8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
cmp eax, 1
jne 0x4a899f
xor eax, eax
mov dword [esi + 0x424], edi
test ebp, ebp
sete al
mov dword [esi + 0x430], eax
mov dword [esi + 0x428], edx
mov dword [esi + 0x42c], ecx
mov eax, dword [esp + 0x12c4]
test eax, eax
je 0x4a89b9
mov esi, dword [esp + 0x14]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x12a4
ret 0x18
Function at 0x4a9510
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x2090
call fcn.0051d7f0
push esi
mov esi, ecx
push 0x445
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, eax
test edx, edx
je 0x4a9578
push edi
mov ecx, 0x823
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x1047
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
push 0x53a4a4
push 0x1047
push 0x59f804
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
pop edi
call fcn.004ad380
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
add esp, 0x2090
ret

Function at 0x4a9c10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xa34
mov eax, dword [0x5687b8]
mov ecx, dword [0x5687bc]
mov edx, dword [0x5687c0]
mov dword [esp + 8], eax
mov ax, word [0x5687c4]
push ebx
push esi
push edi
mov dword [esp + 0x18], ecx
mov word [esp + 0x20], ax
mov ecx, 0x7e
xor eax, eax
lea edi, [esp + 0x22]
mov dword [esp + 0x1c], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 6
mov esi, 0x5687a0
lea edi, [esp + 0x838]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x7c
lea edi, [esp + 0x850]
rep stosd dword es:[edi], eax
xor ebx, ebx
mov ecx, 0x81
lea edi, [esp + 0x632]
mov word [esp + 0x630], bx
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
lea edx, [esp + 0x630]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push 0x53aecc
push 0x568770
push SysReAllocStringLen
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x206
call esi
test eax, eax
jne 0x4a9d97
mov ecx, 0x81
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bx
mov word [esp + 0x424], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x426]
lea edx, [esp + 0x424]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x630]
push ecx
push 0x568704
push 0x104
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea eax, [esp + 0xc]
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x430]
push 0x5686f0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0x206
call esi
test eax, eax
jne 0x4a9d97
mov esi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x14]
push ecx
push edx
call esi
add esp, 8
test eax, eax
je 0x4a9d88
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x838]
push eax
push ecx
call esi
add esp, 8
test eax, eax
jne 0x4a9d97
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xa34
ret
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0xa34
ret