joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492d30
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov esi, ecx
push ebx
call fcn.00491b30
mov edi, eax
test edi, edi
jne 0x492d6f
mov eax, dword [esi + 0x5ca0]
push ebx
push eax
push 0x4ce120
push 0x4d1048
call fcn.00453a60
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov ecx, dword [edi + 0x98]
sub eax, ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edi]
mov dword [edi + 0xa4], eax
call fcn.004656c0
cmp eax, 1
jne 0x492dbc
mov eax, dword [esi + 0x5ca8]
mov ecx, dword [esi + 0x5cac]
mov edx, eax
or edx, ecx
jne 0x492e0b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x5ca8], eax
mov dword [esi + 0x5cac], ecx
mov edx, dword [edi + 0xc0]
mov ecx, dword [edi + 0xc4]
lea eax, [edi + 0xc0]
or edx, ecx
je 0x492e90
mov eax, dword [esi + 0x5ca0]
push ebx
push eax
push str.__d._3d__HTTP
push 0x4d1048
call fcn.00453a60
add esp, 0x10
mov ecx, esi
mov dword [esi + 0xc], 1
push ebx
call fcn.00491c50
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov edx, dword [esp + 0x10]
cmp edx, eax
jne 0x492e1b
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x492dbc
mov eax, dword [edi + 0xdc]
test eax, eax
jne 0x492e2a
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]
mov ecx, dword [edi + 0xb4]
push eax
push ecx
call fcn.00453640
mov edx, dword [esi + 0x5cac]
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esi + 0x5ca8]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0x5ca0]
push ecx
push edx
push ebx
push eax
push 0x4ce068
push 0x4d1048
call fcn.00453a60
mov ecx, dword [edi + 0xb4]
add esp, 0x28
push ecx
lea ecx, [esi + 0x14]
call fcn.00498b60
push ebx
mov ecx, esi
call fcn.00491c50
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
cmp dword [esi + 0x5d5c], 0xffffffff
jne 0x492ea7
call ebp
sub eax, dword [esi + 0x5d64]
mov dword [esi + 0x5d5c], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
Function at 0x492ec0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov esi, ecx
push ebx
call fcn.00491b30
mov edi, eax
test edi, edi
jne 0x492ee3
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov ecx, dword [edi + 0x98]
sub eax, ecx
mov ecx, dword [edi]
mov dword [edi + 0xa4], eax
lea eax, [esp + 0x10]
push eax
call fcn.004656c0
cmp eax, 1
jne 0x492f39
mov eax, dword [esi + 0x5ca8]
mov ecx, dword [esi + 0x5cac]
mov edx, eax
or edx, ecx
jne 0x492f5f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x5ca8], eax
mov dword [esi + 0x5cac], ecx
push ecx
push eax
mov ecx, esi
call fcn.00492cc0
cmp dword [esi + 0x5d5c], 0xffffffff
jne 0x492f50
call ebp
sub eax, dword [esi + 0x5d64]
mov dword [esi + 0x5d5c], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
mov edx, dword [esp + 0x10]
cmp edx, eax
jne 0x492f6f
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x492f39
mov eax, dword [edi + 0xdc]
test eax, eax
jne 0x492f7e
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]
mov ecx, dword [edi + 0xb4]
push eax
push ecx
call fcn.00453640
mov edx, dword [esi + 0x5cac]
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esi + 0x5ca8]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0x5ca0]
push ecx
push edx
push ebx
push eax
push str.__d._3d_
push 0x4d1048
call fcn.00453a60
mov ecx, dword [edi + 0xb4]
add esp, 0x28
push ecx
lea ecx, [esi + 0x14]
call fcn.00498b60
push ebx
mov ecx, esi
call fcn.00491c50
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x4930a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ae881
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
push esi
push edi
mov edi, dword [esp + 0x48]
xor ebx, ebx
mov esi, ecx
push edi
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x14]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov cl, byte [esp + 0x14]
push ebx
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea ecx, [esp + 0x14]
mov eax, dword [edx]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x34], edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esi + 0x5d74]
mov byte [esp + 0x48], 1
call fcn.00494790
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x493165
mov al, byte [ecx - 1]
cmp al, bl
je 0x493159
cmp al, 0xff
je 0x493159
dec al
mov byte [ecx - 1], al
jmp 0x493165
add ecx, 0xfffffffe
push ecx
call fcn.0049c000
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4931a9
mov al, byte [ecx - 1]
cmp al, bl
je 0x49319d
cmp al, 0xff
je 0x49319d
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 8
add ecx, 0xfffffffe
push ecx
call fcn.0049c000
add esp, 4
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x49bdd0
Capabilities:
Encode data using base64

Disassembly:
mov edx, dword [esp + 4]
push ebp
test edx, edx
je 0x49bf22
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49bf22
mov ebp, dword [esp + 0xc]
test ebp, ebp
jl 0x49bf22
xor eax, eax
test ebp, ebp
jle 0x49bf24
push ebx
push esi
push edi
cmp ebp, 3
jl 0x49be85
mov bl, byte [edx]
inc edx
mov byte [esp + 0x14], bl
mov esi, dword [esp + 0x14]
mov bl, byte [edx]
and esi, 0xff
inc edx
mov edi, esi
mov byte [esp + 0x1c], bl
mov bl, byte [edx]
and esi, 3
shr edi, 2
mov byte [esp + 0x18], bl
inc edx
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edi, dword [esp + 0x1c]
and edi, 0xff
mov byte [ecx], bl
mov ebx, edi
inc ecx
shr ebx, 4
shl esi, 4
or ebx, esi
mov esi, dword [esp + 0x18]
and esi, 0xff
and edi, 0xf
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
mov ebx, esi
shr ebx, 6
shl edi, 2
or ebx, edi
inc ecx
inc ecx
and esi, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], bl
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
jmp 0x49bf0e
mov bl, byte [edx]
cmp ebp, 2
mov byte [esp + 0x14], bl
jne 0x49bee0
mov esi, dword [esp + 0x14]
mov bl, byte [edx + 1]
and esi, 0xff
inc edx
mov edi, esi
mov byte [esp + 0x1c], bl
shr edi, 2
and esi, 3
inc ecx
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edi, dword [esp + 0x1c]
and edi, 0xff
mov byte [ecx - 1], bl
mov ebx, edi
shr ebx, 4
shl esi, 4
or ebx, esi
inc ecx
and edi, 0xf
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], bl
mov bl, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
jmp 0x49bf0a
mov esi, dword [esp + 0x14]
and esi, 0xff
mov edi, esi
and esi, 3
shr edi, 2
shl esi, 4
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], bl
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
sub ebp, 3
inc ecx
add eax, 4
test ebp, ebp
jg 0x49be02
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x49bf30
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov ecx, dword [esp + 4]
push esi
test ecx, ecx
je 0x49bfee
mov esi, dword [esp + 0x10]
test esi, esi
je 0x49bfee
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x49bfee
mov edx, eax
and edx, reloc.WS2_32.dll_closesocket
jns 0x49bf64
dec edx
or edx, 0xfffffffc
inc edx
jne 0x49bfee
push edi
xor edi, edi
test eax, eax
jle 0x49bfe9
add eax, 3
push ebx
shr eax, 2
push ebp
mov dword [esp + 0x14], eax
movsx ebp, byte [ecx]
movsx eax, byte [ecx + 1]
inc ecx
mov edx, dword [ebp*4 + 0x4cea2c]
mov eax, dword [eax*4 + 0x4cea2c]
inc ecx
mov ebx, eax
shl dl, 2
shr ebx, 4
or dl, bl
mov byte [esi], dl
inc esi
movsx edx, byte [ecx]
inc edi
inc ecx
cmp edx, 0x3d
je 0x49bfdb
mov edx, dword [edx*4 + 0x4cea2c]
mov ebx, edx
shr ebx, 2
shl al, 4
or bl, al
mov byte [esi], bl
inc esi
movsx ebp, byte [ecx]
inc edi
inc ecx
cmp ebp, 0x3d
je 0x49bfdc
mov eax, dword [ebp*4 + 0x4cea2c]
shl dl, 6
or al, dl
mov byte [esi], al
inc esi
inc edi
jmp 0x49bfdc
inc ecx
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x49bf7d
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x49c2c0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x49e2a0
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x5134c4
jmp fcn.0049e2b0

Function at 0x49ea00
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c10
call fcn.004a0d60
mov eax, dword [esp + 0x2c14]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x49eb6a
mov esi, dword [esp + 0x2c20]
cmp esi, ebx
je 0x49eb6a
push ebp
push edi
xor edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
push edi
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.0049e800
add esp, 0x10
lea ecx, [esp + 0x28]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x49eb4d
xor edx, edx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x510]
mov dword [esp + 0x18], edx
push ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edx
push eax
lea ecx, [esp + 0x518]
mov dword [esp + 0x28], edx
push 0x2710
push ecx
lea edx, [esp + 0x28]
push 0xc
push edx
push 0x2d1400
push ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x49eb35
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x128]
lea edx, [esp + 0x510]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x528]
lea eax, [esp + 0x128]
push eax
push 1
push ecx
push edx
call fcn.0049ffa0
add esp, 0x10
cmp esi, 0x7fffffff
ja 0x49eb35
mov eax, dword [esp + 0x2c24]
lea edx, [esp + 0x128]
xor edi, edi
sub edx, eax
mov cl, byte [edx + eax]
cmp cl, bl
je 0x49eb1d
mov byte [eax], cl
inc eax
dec esi
jne 0x49eb0e
jmp 0x49eb21
cmp esi, ebx
jne 0x49eb27
dec eax
mov edi, 0x8007007a
cmp edi, ebx
mov byte [eax], bl
jne 0x49eb35
mov dword [esp + 0x10], 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebx
jne 0x49eb5b
mov esi, dword [esp + 0x2c28]
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x49ea38
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x2c10
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x2c10
ret
Function at 0x49f1d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2e8
test eax, eax
push esi
push edi
je 0x49f3bc
mov esi, dword [esp + 0x2f8]
test esi, esi
je 0x49f3bc
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49f356
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x14], eax
mov ebx, 0x104
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push 0
lea edx, [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x49f342
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 1
push eax
lea eax, [esp + 0xfc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49f339
lea edx, [esp + 0x1c]
lea eax, [esp + 0x1f4]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], ebx
call ebp
test eax, eax
jne 0x49f32e
mov ecx, 0x19
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
push 0x64
lea ecx, [esp + 0x1f8]
push eax
push ecx
call fcn.0049f3d0
add esp, 0xc
test eax, eax
je 0x49f32e
mov al, byte [esp + 0x28]
test al, al
je 0x49f301
lea edx, [esp + 0x28]
lea eax, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x49f32e
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x28]
mov esi, 0x64
lea eax, [esp + 0x28]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x49f326
mov byte [eax], cl
inc eax
dec esi
jne 0x49f317
jmp 0x49f32a
test esi, esi
jne 0x49f32b
dec eax
mov byte [eax], 0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [esp + 0x14]
jmp 0x49f232
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x300]
pop ebp
pop ebx
mov al, byte [esp + 0x20]
test al, al
je 0x49f3bc
cmp esi, 0x7fffffff
jbe 0x49f37d
mov eax, 0x80070057
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
pop esi
add esp, 0x2e8
ret
mov eax, dword [esp + 0x2f4]
lea edx, [esp + 0x20]
xor edi, edi
sub edx, eax
mov cl, byte [edx + eax]
test cl, cl
je 0x49f39b
mov byte [eax], cl
inc eax
dec esi
jne 0x49f38c
jmp 0x49f39f
test esi, esi
jne 0x49f3a5
dec eax
mov edi, 0x8007007a
mov byte [eax], 0
mov eax, edi
xor ecx, ecx
pop edi
test eax, eax
setge cl
mov eax, ecx
pop esi
add esp, 0x2e8
ret
pop edi
xor eax, eax
pop esi
add esp, 0x2e8
ret
Function at 0x49f8f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov al, byte [0x4d0f10]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0xd0], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd1]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ebx
push ecx
stosb byte es:[edi], al
call fcn.004a0180
mov edx, dword [esp + 0x1e0]
add esp, 8
lea eax, [esp + 0xd0]
push edx
push 0x4c8340
push 0x104
push eax
call fcn.0049e800
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe4]
push ecx
push edx
call fcn.004a01e0
lea eax, [esp + 0x84]
push eax
call fcn.004a0c20
lea ecx, [esp + 0x88]
push ecx
call fcn.004a0c20
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x44], ecx
mov word [esp + 0x39], ax
mov ecx, 0xf
lea edi, [esp + 0x4d]
mov byte [esp + 0x3b], al
mov byte [esp + 0x4c], bl
mov edx, dword [esp + 0xe4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [sym.imp.MSVCRT.dll_strncat]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xf0]
mov ecx, 0x10
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x4c]
add esp, 0x24
mov dword [esp + 0x24], edx
mov byte [esp + 0x10], bl
xor esi, esi
rep stosd dword es:[edi], eax
xor edx, edx
xor ecx, ecx
mov dl, byte [esp + esi + 0x18]
lea eax, [esp + 0x10]
push edx
push str._02x
mov dword [esp + 0x18], ecx
push 8
push eax
mov dword [esp + 0x24], ecx
call fcn.0049e800
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x40
sub edx, ecx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jge 0x49fa3d
mov ecx, edx
jmp 0x49fa4b
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call ebp
add esp, 0xc
inc esi
cmp esi, 0x10
jl 0x49f9ef
mov esi, dword [esp + 0x1dc]
cmp esi, ebx
je 0x49faa3
mov edx, dword [esp + 0x1e0]
xor eax, eax
mov ecx, edx
mov edi, esi
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea eax, [esp + 0x28]
push eax
push 0x4c8340
push edx
push esi
call fcn.0049e800
push esi
call dword [sym.imp.MSVCRT.dll__strlwr]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
Function at 0x49fae0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x508
push ebx
push ebp
mov ebp, dword [esp + 0x514]
push esi
test ebp, ebp
push edi
je 0x49fc99
mov ebx, dword [esp + 0x520]
cmp ebx, 0x20
jb 0x49fc99
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x118]
push eax
push ecx
push edx
push 0x4cf4c4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x49fc99
lea edi, [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x40
jne 0x49fc99
lea edx, [esp + 0x118]
lea ecx, [esp + 0x18]
mov esi, 0x80
lea eax, [esp + 0x18]
sub edx, ecx
lea ecx, [esi - 0x60]
test ecx, ecx
je 0x49fb9c
mov cl, byte [edx + eax]
test cl, cl
je 0x49fb9c
mov byte [eax], cl
inc eax
dec esi
jne 0x49fb86
jmp 0x49fba0
test esi, esi
jne 0x49fba1
dec eax
lea edx, [esp + 0x138]
lea ecx, [esp + 0x98]
mov byte [eax], 0
mov esi, 0x80
lea eax, [esp + 0x98]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x49fbcf
mov byte [eax], cl
inc eax
dec esi
jne 0x49fbc0
jmp 0x49fbd3
test esi, esi
jne 0x49fbd4
dec eax
mov byte [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x118]
push 0x400
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0049f8f0
add esp, 0xc
lea ecx, [esp + 0x98]
lea edx, [esp + 0x118]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x49fc99
cmp ebx, 0x7fffffff
jbe 0x49fc3c
mov eax, 0x80070057
xor ecx, ecx
test eax, eax
pop edi
pop esi
sete cl
pop ebp
mov eax, ecx
pop ebx
add esp, 0x508
ret
xor edi, edi
mov edx, ebx
test ebx, ebx
mov eax, ebp
jne 0x49fc61
mov edi, 0x80070057
xor ecx, ecx
mov eax, edi
pop edi
test eax, eax
sete cl
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x508
ret
lea esi, [esp + 0x18]
sub esi, ebp
mov cl, byte [esi + eax]
test cl, cl
je 0x49fc76
mov byte [eax], cl
inc eax
dec edx
jne 0x49fc67
jmp 0x49fc7a
test edx, edx
jne 0x49fc80
dec eax
mov edi, 0x8007007a
mov byte [eax], 0
mov eax, edi
xor ecx, ecx
pop edi
test eax, eax
sete cl
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x508
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x508
ret
Function at 0x49fcb0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov ecx, 0x20
xor eax, eax
push esi
mov esi, dword [esp + 0x190]
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x80
push eax
push esi
call fcn.0049f8f0
mov edx, esi
lea ecx, [esp + 0x98]
add esp, 0xc
mov edi, 0x104
lea eax, [esp + 0x8c]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x49fd05
mov byte [eax], cl
inc eax
dec edi
jne 0x49fcf6
jmp 0x49fd09
test edi, edi
jne 0x49fd0a
dec eax
mov byte [eax], 0
mov ecx, 0x104
lea eax, [esp + 0x8c]
cmp byte [eax], 0
je 0x49fd24
inc eax
dec ecx
jne 0x49fd19
jmp 0x49fd6a
test ecx, ecx
je 0x49fd6a
lea edx, [esp + 8]
test edx, edx
je 0x49fd39
mov eax, 0x104
sub eax, ecx
jmp 0x49fd3d
mov eax, dword [esp + 8]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x8c]
je 0x49fd6a
lea esi, [esp + 0xc]
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x49fd62
mov byte [eax], cl
inc eax
dec edx
jne 0x49fd53
jmp 0x49fd66
test edx, edx
jne 0x49fd67
dec eax
mov byte [eax], 0
lea edi, [esp + 0x8c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x8c]
push ecx
push eax
push 1
push 0x4cf4c4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop edi
pop esi
add esp, 0x188
ret
Function at 0x4a6370
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x4a7090
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret