joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49bb40
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.0049a940
mov edi, eax
test edi, edi
jne 0x49bb7f
mov eax, dword [esi + 0x5ca0]
push ebx
push eax
push 0x4d63a0
push 0x4d8db8
call fcn.0045c870
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.0046e4d0
cmp eax, 1
jne 0x49bbcc
mov eax, dword [esi + 0x5ca8]
mov ecx, dword [esi + 0x5cac]
mov edx, eax
or edx, ecx
jne 0x49bc1b
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 0x49bca0
mov eax, dword [esi + 0x5ca0]
push ebx
push eax
push str.__d._3d__HTTP
push 0x4d8db8
call fcn.0045c870
add esp, 0x10
mov ecx, esi
mov dword [esi + 0xc], 1
push ebx
call fcn.0049aa60
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 0x49bc2b
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x49bbcc
mov eax, dword [edi + 0xdc]
test eax, eax
jne 0x49bc3a
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.0045c450
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 0x4d62e8
push 0x4d8db8
call fcn.0045c870
mov ecx, dword [edi + 0xb4]
add esp, 0x28
push ecx
lea ecx, [esi + 0x14]
call fcn.004a1970
push ebx
mov ecx, esi
call fcn.0049aa60
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
cmp dword [esi + 0x5d5c], 0xffffffff
jne 0x49bcb7
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 0x49bcd0
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.0049a940
mov edi, eax
test edi, edi
jne 0x49bcf3
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.0046e4d0
cmp eax, 1
jne 0x49bd49
mov eax, dword [esi + 0x5ca8]
mov ecx, dword [esi + 0x5cac]
mov edx, eax
or edx, ecx
jne 0x49bd6f
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.0049bad0
cmp dword [esi + 0x5d5c], 0xffffffff
jne 0x49bd60
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 0x49bd7f
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x49bd49
mov eax, dword [edi + 0xdc]
test eax, eax
jne 0x49bd8e
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.0045c450
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 0x4d8db8
call fcn.0045c870
mov ecx, dword [edi + 0xb4]
add esp, 0x28
push ecx
lea ecx, [esi + 0x14]
call fcn.004a1970
push ebx
mov ecx, esi
call fcn.0049aa60
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x49beb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b5621
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.0049d5a0
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x49bf75
mov al, byte [ecx - 1]
cmp al, bl
je 0x49bf69
cmp al, 0xff
je 0x49bf69
dec al
mov byte [ecx - 1], al
jmp 0x49bf75
add ecx, 0xfffffffe
push ecx
call fcn.0043b3d0
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 0x49bfb9
mov al, byte [ecx - 1]
cmp al, bl
je 0x49bfad
cmp al, 0xff
je 0x49bfad
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.0043b3d0
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 0x4a4be0
Capabilities:
Encode data using base64

Disassembly:
mov edx, dword [esp + 4]
push ebp
test edx, edx
je 0x4a4d32
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4a4d32
mov ebp, dword [esp + 0xc]
test ebp, ebp
jl 0x4a4d32
xor eax, eax
test ebp, ebp
jle 0x4a4d34
push ebx
push esi
push edi
cmp ebp, 3
jl 0x4a4c95
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 0x4a4d1e
mov bl, byte [edx]
cmp ebp, 2
mov byte [esp + 0x14], bl
jne 0x4a4cf0
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 0x4a4d1a
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 0x4a4c12
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4a4d40
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov ecx, dword [esp + 4]
push esi
test ecx, ecx
je 0x4a4dfe
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4a4dfe
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x4a4dfe
mov edx, eax
and edx, reloc.WS2_32.dll_closesocket
jns 0x4a4d74
dec edx
or edx, 0xfffffffc
inc edx
jne 0x4a4dfe
push edi
xor edi, edi
test eax, eax
jle 0x4a4df9
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 + 0x4d6cac]
mov eax, dword [eax*4 + 0x4d6cac]
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 0x4a4deb
mov edx, dword [edx*4 + 0x4d6cac]
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 0x4a4dec
mov eax, dword [ebp*4 + 0x4d6cac]
shl dl, 6
or al, dl
mov byte [esi], al
inc esi
inc edi
jmp 0x4a4dec
inc ecx
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4a4d8d
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4a52d0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c10
call fcn.004a7630
mov eax, dword [esp + 0x2c14]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x4a543a
mov esi, dword [esp + 0x2c20]
cmp esi, ebx
je 0x4a543a
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.004a50d0
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 0x4a541d
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 0x4a5405
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.004a6870
add esp, 0x10
cmp esi, 0x7fffffff
ja 0x4a5405
mov eax, dword [esp + 0x2c24]
lea edx, [esp + 0x128]
xor edi, edi
sub edx, eax
mov cl, byte [edx + eax]
cmp cl, bl
je 0x4a53ed
mov byte [eax], cl
inc eax
dec esi
jne 0x4a53de
jmp 0x4a53f1
cmp esi, ebx
jne 0x4a53f7
dec eax
mov edi, 0x8007007a
cmp edi, ebx
mov byte [eax], bl
jne 0x4a5405
mov dword [esp + 0x10], 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebx
jne 0x4a542b
mov esi, dword [esp + 0x2c28]
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x4a5308
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 0x4a5aa0
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 0x4a5c8c
mov esi, dword [esp + 0x2f8]
test esi, esi
je 0x4a5c8c
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 0x4a5c26
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 0x4a5c12
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 0x4a5c09
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 0x4a5bfe
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.004a5ca0
add esp, 0xc
test eax, eax
je 0x4a5bfe
mov al, byte [esp + 0x28]
test al, al
je 0x4a5bd1
lea edx, [esp + 0x28]
lea eax, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x4a5bfe
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 0x4a5bf6
mov byte [eax], cl
inc eax
dec esi
jne 0x4a5be7
jmp 0x4a5bfa
test esi, esi
jne 0x4a5bfb
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 0x4a5b02
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 0x4a5c8c
cmp esi, 0x7fffffff
jbe 0x4a5c4d
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 0x4a5c6b
mov byte [eax], cl
inc eax
dec esi
jne 0x4a5c5c
jmp 0x4a5c6f
test esi, esi
jne 0x4a5c75
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 0x4a61c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov al, byte [0x4d8c80]
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.004a6a50
mov edx, dword [esp + 0x1e0]
add esp, 8
lea eax, [esp + 0xd0]
push edx
push 0x4d05c0
push 0x104
push eax
call fcn.004a50d0
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.004a6ab0
lea eax, [esp + 0x84]
push eax
call fcn.004a74f0
lea ecx, [esp + 0x88]
push ecx
call fcn.004a74f0
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.004a50d0
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 0x4a630d
mov ecx, edx
jmp 0x4a631b
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 0x4a62bf
mov esi, dword [esp + 0x1dc]
cmp esi, ebx
je 0x4a6373
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 0x4d05c0
push edx
push esi
call fcn.004a50d0
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 0x4a63b0
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 0x4a6569
mov ebx, dword [esp + 0x520]
cmp ebx, 0x20
jb 0x4a6569
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 0x4d7220
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 0x4a6569
lea edi, [esp + 0x118]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x40
jne 0x4a6569
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 0x4a646c
mov cl, byte [edx + eax]
test cl, cl
je 0x4a646c
mov byte [eax], cl
inc eax
dec esi
jne 0x4a6456
jmp 0x4a6470
test esi, esi
jne 0x4a6471
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 0x4a649f
mov byte [eax], cl
inc eax
dec esi
jne 0x4a6490
jmp 0x4a64a3
test esi, esi
jne 0x4a64a4
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.004a61c0
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 0x4a6569
cmp ebx, 0x7fffffff
jbe 0x4a650c
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 0x4a6531
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 0x4a6546
mov byte [eax], cl
inc eax
dec edx
jne 0x4a6537
jmp 0x4a654a
test edx, edx
jne 0x4a6550
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 0x4a6580
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.004a61c0
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 0x4a65d5
mov byte [eax], cl
inc eax
dec edi
jne 0x4a65c6
jmp 0x4a65d9
test edi, edi
jne 0x4a65da
dec eax
mov byte [eax], 0
mov ecx, 0x104
lea eax, [esp + 0x8c]
cmp byte [eax], 0
je 0x4a65f4
inc eax
dec ecx
jne 0x4a65e9
jmp 0x4a663a
test ecx, ecx
je 0x4a663a
lea edx, [esp + 8]
test edx, edx
je 0x4a6609
mov eax, 0x104
sub eax, ecx
jmp 0x4a660d
mov eax, dword [esp + 8]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x8c]
je 0x4a663a
lea esi, [esp + 0xc]
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x4a6632
mov byte [eax], cl
inc eax
dec edx
jne 0x4a6623
jmp 0x4a6636
test edx, edx
jne 0x4a6637
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 0x4d7220
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 0x4acc40
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 0x4ad960
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 0x4023f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
push 5
call dword [sym.imp.SQLUNIRL.dll__MAKEINTRESOURCE_4]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SQLUNIRL.dll__FindResource_12]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402475
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402475
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40246b
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov edx, dword [ebp - 8]
push edx
call fcn.00402490
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret