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

Disassembly:
mov eax, 0x1664
call fcn.0051e250
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41e]
mov word [esp + 0x41c], si
mov word [esp + 0xc], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x41c]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0xc]
push 0x104
lea edx, [esp + 0x420]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], si
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x214]
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push 0x569640
push 0x103
push ecx
call esi
mov dx, word [0x5711d0]
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x636]
mov word [esp + 0x634], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push 0x2000
lea ecx, [esp + 0x628]
push eax
lea edx, [esp + 0x21c]
push ecx
push edx
mov dword [esp + 0x18], 0x823
call dword [sym.imp.SHLWAPI.dll_UrlEscapeW]
mov ecx, dword [esp + 0x1674]
mov edx, dword [esp + 0x1670]
lea eax, [esp + 0x624]
dec ecx
push eax
push 0x56962c
push ecx
push edx
call esi
add esp, 0x10
pop edi
pop esi
add esp, 0x1664
ret

Function at 0x49e580
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 0x49e607
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x49e607
mov edx, eax
shr edx, 0x10
jne 0x49e5a9
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 0x49e607
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 0x49e5fe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
je 0x49e5fe
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 0x49e582
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 0x49e607
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x49e607
mov edx, eax
shr edx, 0x10
jne 0x49e5a9
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 0x49e607
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 0x49e5fe
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
je 0x49e5fe
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 0x49e750
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
jne 0x49e763
pop edi
xor eax, eax
pop esi
ret 4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49e773
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 0x49e78b
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 0x4a28a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5225d1
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.0050bd10
lea edi, [esi + 0x24]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.004f9290
push ebp
lea ecx, [esi + 0x12f0]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x28], 0x526ce0
call fcn.004e8370
lea ecx, [esi + 0x1328]
mov byte [esp + 0x18], 2
call fcn.004eed60
mov dword [esi + 0x135c], ebp
mov dword [esi + 0x1360], ebp
mov eax, 3
mov dword [esi], 0x52a64c
mov dword [edi], 0x52a648
mov dword [esi + 0x298], eax
mov dword [esi + 0x278], eax
mov dword [esi + 0x28], 0x52a638
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 0x4a28b7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5225d1
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.0050bd10
lea edi, [esi + 0x24]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.004f9290
push ebp
lea ecx, [esi + 0x12f0]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x28], 0x526ce0
call fcn.004e8370
lea ecx, [esi + 0x1328]
mov byte [esp + 0x18], 2
call fcn.004eed60
mov dword [esi + 0x135c], ebp
mov dword [esi + 0x1360], ebp
mov eax, 3
mov dword [esi], 0x52a64c
mov dword [edi], 0x52a648
mov dword [esi + 0x298], eax
mov dword [esi + 0x278], eax
mov dword [esi + 0x28], 0x52a638
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 0x4a2e70
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x24c]
test eax, eax
jne 0x4a2f1d
lea eax, [esp + 4]
push 0
push eax
call fcn.004a2b30
mov edx, dword [0x59122c]
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 0x5711d0
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 0x4a2860
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, esi
call fcn.004a2fa0
mov edx, dword [esi + 0x24c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x10
ret
Function at 0x4a3b06
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x218
push esi
mov esi, ecx
cmp word [esi + 0x30], 0
je 0x4a3b94
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a3b94
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 0x4a3b55
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 0x4a3b75
mov edx, dword [esi + 4]
push 0
push edx
call fcn.0050c270
add esp, 0xc
pop esi
add esp, 0x218
ret
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.004a2b30
mov edx, dword [esi + 4]
lea ecx, [esp + 4]
push 1
push ecx
push edx
call fcn.0050c270
add esp, 0xc
pop esi
add esp, 0x218
ret
Function at 0x4a3ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x26c
push ebx
push esi
mov ebx, ecx
call fcn.004a5400
mov esi, eax
test esi, esi
mov dword [esp + 8], esi
je 0x4a40c5
push ebp
push edi
mov ecx, ebx
call fcn.004a3e50
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.004a5ae0
mov ebp, eax
xor esi, esi
test ebp, ebp
jle 0x4a3f9e
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.004a5a70
test eax, eax
je 0x4a3f9e
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.004a40d0
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.004ef3e0
mov esi, edi
cmp esi, ebp
jl 0x4a3efd
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], pe_nt_image_headers32
mov dword [esp + 0x3c], 0x800
call fcn.004ef3e0
push 0x98
call fcn.0049c120
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 [0x5c278c]
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.004ef3e0
push 0x8c
call fcn.0049c120
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.004ef3e0
mov ecx, ebx
call fcn.004a3c10
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x26c
ret
Function at 0x4a4520
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, ecx
xor ebx, ebx
call fcn.004a5400
mov eax, dword [esp + 0x214]
mov ecx, dword [0x5a27b8]
cmp ecx, eax
je 0x4a4547
mov ebx, 1
push edi
push eax
call fcn.004a5400
mov ecx, eax
call fcn.004a5630
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 0x4a4587
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 0x4a4598
call fcn.004a2e30
jmp 0x4a459d
call fcn.004a3bc0
test ebx, ebx
je 0x4a45ca
xor edx, edx
cmp word [esp + 8], dx
setne dl
add edx, 0x7613
mov esi, edx
call fcn.00422b70
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 0x4a7a00
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 0x4a7a17
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 0x5699f8
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x4a7aa8
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 4]
test ebx, ebx
jne 0x4a7a45
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 0x4a7a45
xor esi, esi
jmp 0x4a7a77
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.0051e250
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 0x4a8230
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
cmp word [eax], 0
push edi
je 0x4a82d9
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, eax
add esp, 4
inc ebp
je 0x4a82d9
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x4a82d9
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 0x4a82d9
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 0x4a8130
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 0x4a82f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x58a518]
sub esp, 0xc
test eax, eax
push esi
mov esi, ecx
jne 0x4a834c
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 0x53d164
push str.Software360360se3
push SysReAllocStringLen
mov dword [0x58a518], 1
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4a834c
mov eax, dword [esp + 4]
mov dword [esi], eax
pop esi
add esp, 0xc
ret
Function at 0x4a8830
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
call fcn.004a82f0
mov eax, dword [esi]
pop esi
cmp eax, 0xff
jne 0x4a83f2
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 0x569aa8
push 0x569a3c
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 0x4a83f2
cmp word [esp + 8], ax
je 0x4a83f2
lea eax, [esp + 8]
push 0x569a24
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4a83f2
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret
mov ecx, 0x58a100
jmp 0x4a8360

Function at 0x4a8850
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x58a51c]
sub esp, 8
test eax, eax
je 0x4a8435
mov eax, dword [0x58a520]
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 [0x58a51c], 1
push eax
push 0x58a520
push ecx
push 0x569abc
push str.Software360360se3
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4a8489
mov eax, dword [0x58a520]
cmp eax, 1
je 0x4a848b
xor eax, eax
mov dword [0x58a520], eax
add esp, 8
ret
xor eax, eax
add esp, 8
ret
mov ecx, 0x58a100
jmp 0x4a8420
Function at 0x4a8bf0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x12a4
call fcn.0051e250
mov ax, word [0x5711d0]
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 0x4a8c35
mov edi, 6
mov eax, ebx
and eax, 0x40
je 0x4a8c41
mov edi, 0xf
lea ecx, [esi + 0x21c]
lea edx, [esi + 0x14]
push ecx
push 0x55d5c8
test eax, eax
push edx
push 0x55d604
mov ecx, 0x571210
je 0x4a8cf1
call fcn.0040db50
xor ecx, ecx
mov edx, dword [esp + 0x12d8]
mov ch, byte [esi + 0x10]
push eax
mov eax, dword [0x58be5c]
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 0x53dbfc
push ebx
push 0x53da48
push edx
mov edx, dword [esp + 0x12ec]
push 0x53dbdc
push eax
push 0x53dbec
push ecx
push 0x53dbe4
push edx
push 0x53dbf4
push edi
push str._tp:
push str._sandboxse
push 0x571274
push 0x569b68
lea eax, [esp + 0xc8]
push 0x927
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x6c
jmp 0x4a8d75
call fcn.0040db50
xor ecx, ecx
mov edx, dword [esp + 0x12d8]
mov ch, byte [esi + 0x10]
push eax
mov eax, dword [0x58be5c]
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 0x53dbfc
push ebx
push 0x53da48
push edx
mov edx, dword [esp + 0x12ec]
push 0x53dbdc
push eax
push 0x53dbec
push ecx
push 0x53dbe4
push edx
push 0x53dbf4
push edi
push str._tp:
push 0x571274
push 0x569ae8
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 0x4a8de8
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4a8de8
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 0x4a8e1f
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 0x4a8e39
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