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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.0048c640
xor edi, edi
cmp eax, edi
jne 0x48c88d
mov eax, dword [esi + 0xc]
cmp eax, 1
je 0x48c88b
cmp dword [esi + 0x5d90], eax
jb 0x48c88b
or ebp, 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 0x5d88]
mov ebx, dword [eax]
cmp ebx, eax
je 0x48c848
mov edx, dword [0x4c8970]
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x48c7fc
push 0xa
lea ecx, [edi + 8]
call fcn.00456280
cmp ebp, 0xffffffff
mov esi, eax
jne 0x48c7c1
mov ebp, dword [edi + 0xb0]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x98]
cmp eax, 0x2710
jb 0x48c88b
cmp dword [esp + 0x10], esi
jbe 0x48c7e8
mov ebp, dword [edi + 0xb0]
mov dword [esp + 0x10], esi
cmp dword [esp + 0x14], esi
jae 0x48c7f2
mov dword [esp + 0x14], esi
mov edx, dword [0x4c8970]
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx + 8]
cmp ecx, edx
je 0x48c815
mov eax, dword [ecx]
cmp eax, edx
je 0x48c811
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x48c809
mov ebx, ecx
jmp 0x48c82e
mov eax, dword [ebx + 4]
cmp ebx, dword [eax + 8]
jne 0x48c827
mov ebx, eax
mov eax, dword [eax + 4]
cmp ebx, dword [eax + 8]
je 0x48c81d
cmp dword [ebx + 8], eax
je 0x48c82e
mov ebx, eax
cmp ebx, dword [esi + 0x5d88]
jne 0x48c79b
cmp dword [esp + 0x10], 0x7800
ja 0x48c88b
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
cmp edi, ecx
jbe 0x48c88b
mov edx, edi
sub edx, eax
cmp edx, 0x3c00
jbe 0x48c88b
push edi
push eax
mov eax, dword [esi + 0x5ca0]
push ebp
push eax
push str.__d._3d__Rate___u_MaxRate___u___
push 0x4c89f8
call fcn.00453b40
add esp, 0x18
mov ecx, esi
push ebp
call fcn.0048e240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x48ca60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x5d40], 4
jne 0x48cba4
mov eax, dword [esi + 0x5d48]
test eax, eax
je 0x48cba4
mov ecx, dword [esi + 0x5da0]
mov edx, dword [esi + 0x5d90]
mov eax, dword [esi + 0xc]
lea edi, [edx + ecx]
cmp edi, eax
jae 0x48cb1b
sub eax, edx
sub eax, ecx
mov ecx, dword [0x4c8c60]
cmp eax, ecx
jbe 0x48caab
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ecx], eax
mov edi, dword [esi + 0x5d68]
cmp edi, 0xffffffff
je 0x48cae1
call ebx
mov edx, eax
mov eax, dword [0x4c8c64]
sub edx, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cmp edx, eax
jb 0x48cba4
cmp edi, 0xffffffff
je 0x48cb0f
call ebx
mov ecx, eax
mov eax, dword [0x4c8c64]
mov ebp, dword [esi + 0x5d68]
lea eax, [eax + eax*4]
sub ecx, ebp
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jb 0x48cb0f
call ebx
mov dword [esi + 0x5d68], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
cmp eax, 1
je 0x48cba4
cmp ecx, 1
ja 0x48cba4
mov ebp, dword [esp + 0x14]
mov eax, 1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ecx
mov dword [ebp], eax
mov edi, dword [esi + 0x5d68]
cmp edi, 0xffffffff
je 0x48cb63
call ebx
mov ecx, eax
mov eax, dword [0x4c8c64]
sub ecx, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jb 0x48cba4
cmp edi, 0xffffffff
je 0x48cb98
call ebx
mov ecx, eax
mov eax, dword [esi + 0x5d68]
sub ecx, eax
mov eax, dword [0x4c8c64]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jb 0x48cb98
call ebx
mov dword [esi + 0x5d68], eax
mov dword [ebp], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x48da70
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, ecx
push ebx
call fcn.0048e240
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x48daaf
mov eax, dword [edi + 0x5ca0]
push ebx
push eax
push str.__d._3d__OnNotifyHttpData_cid_not_find
push 0x4c89f8
call fcn.00453b40
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push ecx
mov ecx, dword [esi]
call fcn.00464460
test eax, eax
jne 0x48dad0
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
mov edx, dword [edi + 0x5ca8]
mov eax, dword [esp + 0xc]
cmp edx, eax
jne 0x48daec
mov eax, dword [edi + 0x5cac]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x48daf7
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x14
mov ebx, dword [esp + 0x24]
push ebp
push 1
push ebx
lea ecx, [edi + 0x5cb0]
call fcn.004560e0
push 1
push ebx
lea ecx, [esi + 8]
call fcn.004560e0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov edx, dword [esi + 0xd0]
mov dword [esi + 0x9c], eax
add edx, ebx
mov dword [esi + 0xd0], edx
mov ecx, dword [esi + 0xd4]
adc ecx, 0
mov dword [esi + 0xd4], ecx
mov eax, dword [edi + 0x5d60]
cmp eax, 0xffffffff
jne 0x48db59
call ebp
sub eax, dword [edi + 0x5d64]
mov dword [edi + 0x5d60], eax
mov ecx, dword [esi + 0xb4]
push ebx
push ecx
lea ecx, [edi + 0x14]
call fcn.00495360
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0x14
Function at 0x48e180
Capabilities:
Check for time delay via gettickcount

Disassembly:
add ecx, 0x14
jmp 0x495480
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x24]
test eax, eax
jbe 0x4954e6
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea esi, [ebp + 0x58]
cmp dword [esi + 0xc], 1
jne 0x4954d8
call edi
mov edx, dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x18]
sub ecx, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jbe 0x4954d8
call edi
mov dword [esi], eax
mov dword [esi + 0xc], 0
mov eax, dword [esi - 0x1c]
test eax, eax
jne 0x4954d0
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 eax
mov ecx, ebp
call fcn.004936a0
mov eax, dword [ebp + 0x24]
inc ebx
add esi, 0x5c0
cmp ebx, eax
jb 0x495498
mov ecx, dword [ebp + 0x5c2c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x495559
mov esi, 2
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x1c], esi
jne 0x495513
mov edx, dword [ecx + 0x18]
test edx, edx
lea edi, [edx - 1]
mov dword [ecx + 0x18], edi
jg 0x495513
mov dword [ecx + 0x1c], 0
mov word [ecx + 0xe], 0
mov ecx, dword [eax + 8]
mov edx, dword [0x50ae50]
cmp ecx, edx
je 0x495538
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
je 0x495551
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
jne 0x49552e
jmp 0x495551
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x49554a
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x495540
cmp dword [eax + 8], ecx
je 0x495551
mov eax, ecx
cmp eax, dword [ebp + 0x5c2c]
jne 0x4954f7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x48f440
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.0048e240
mov edi, eax
test edi, edi
jne 0x48f47f
mov eax, dword [esi + 0x5ca0]
push ebx
push eax
push 0x4c5fa4
push 0x4c89f8
call fcn.00453c20
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.00464460
cmp eax, 1
jne 0x48f4cc
mov eax, dword [esi + 0x5ca8]
mov ecx, dword [esi + 0x5cac]
mov edx, eax
or edx, ecx
jne 0x48f51b
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 0x48f5a0
mov eax, dword [esi + 0x5ca0]
push ebx
push eax
push str.__d._3d__HTTP
push 0x4c89f8
call fcn.00453c20
add esp, 0x10
mov ecx, esi
mov dword [esi + 0xc], 1
push ebx
call fcn.0048e360
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 0x48f52b
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x48f4cc
mov eax, dword [edi + 0xdc]
test eax, eax
jne 0x48f53a
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.00453810
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 0x4c5eec
push 0x4c89f8
call fcn.00453c20
mov ecx, dword [edi + 0xb4]
add esp, 0x28
push ecx
lea ecx, [esi + 0x14]
call fcn.00494d10
push ebx
mov ecx, esi
call fcn.0048e360
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
cmp dword [esi + 0x5d5c], 0xffffffff
jne 0x48f5b7
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 0x48f5d0
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.0048e240
mov edi, eax
test edi, edi
jne 0x48f5f3
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.00464460
cmp eax, 1
jne 0x48f649
mov eax, dword [esi + 0x5ca8]
mov ecx, dword [esi + 0x5cac]
mov edx, eax
or edx, ecx
jne 0x48f66f
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.0048f3d0
cmp dword [esi + 0x5d5c], 0xffffffff
jne 0x48f660
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 0x48f67f
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x48f649
mov eax, dword [edi + 0xdc]
test eax, eax
jne 0x48f68e
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.00453810
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 0x4c89f8
call fcn.00453c20
mov ecx, dword [edi + 0xb4]
add esp, 0x28
push ecx
lea ecx, [esi + 0x14]
call fcn.00494d10
push ebx
mov ecx, esi
call fcn.0048e360
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x48f7b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a58b1
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.00490db0
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x48f875
mov al, byte [ecx - 1]
cmp al, bl
je 0x48f869
cmp al, 0xff
je 0x48f869
dec al
mov byte [ecx - 1], al
jmp 0x48f875
add ecx, 0xfffffffe
push ecx
call fcn.00437568
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 0x48f8b9
mov al, byte [ecx - 1]
cmp al, bl
je 0x48f8ad
cmp al, 0xff
je 0x48f8ad
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.00437568
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 0x497610
Capabilities:
Encode data using base64

Disassembly:
mov edx, dword [esp + 4]
push ebp
test edx, edx
je 0x497762
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x497762
mov ebp, dword [esp + 0xc]
test ebp, ebp
jl 0x497762
xor eax, eax
test ebp, ebp
jle 0x497764
push ebx
push esi
push edi
cmp ebp, 3
jl 0x4976c5
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 0x49774e
mov bl, byte [edx]
cmp ebp, 2
mov byte [esp + 0x14], bl
jne 0x497720
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 0x49774a
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 0x497642
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x497770
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov ecx, dword [esp + 4]
push esi
test ecx, ecx
je 0x49782e
mov esi, dword [esp + 0x10]
test esi, esi
je 0x49782e
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x49782e
mov edx, eax
and edx, reloc.WS2_32.dll_closesocket
jns 0x4977a4
dec edx
or edx, 0xfffffffc
inc edx
jne 0x49782e
push edi
xor edi, edi
test eax, eax
jle 0x497829
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 + 0x4c68ac]
mov eax, dword [eax*4 + 0x4c68ac]
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 0x49781b
mov edx, dword [edx*4 + 0x4c68ac]
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 0x49781c
mov eax, dword [ebp*4 + 0x4c68ac]
shl dl, 6
or al, dl
mov byte [esi], al
inc esi
inc edi
jmp 0x49781c
inc ecx
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4977bd
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x497c00
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c10
call fcn.004999f0
mov eax, dword [esp + 0x2c14]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x497d6a
mov esi, dword [esp + 0x2c20]
cmp esi, ebx
je 0x497d6a
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.00497a00
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 0x497d4d
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 0x497d35
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.00498c50
add esp, 0x10
cmp esi, 0x7fffffff
ja 0x497d35
mov eax, dword [esp + 0x2c24]
lea edx, [esp + 0x128]
xor edi, edi
sub edx, eax
mov cl, byte [edx + eax]
cmp cl, bl
je 0x497d1d
mov byte [eax], cl
inc eax
dec esi
jne 0x497d0e
jmp 0x497d21
cmp esi, ebx
jne 0x497d27
dec eax
mov edi, 0x8007007a
cmp edi, ebx
mov byte [eax], bl
jne 0x497d35
mov dword [esp + 0x10], 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebx
jne 0x497d5b
mov esi, dword [esp + 0x2c28]
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x497c38
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 0x497f10
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 0x4980fc
mov esi, dword [esp + 0x2f8]
test esi, esi
je 0x4980fc
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 0x498096
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 0x498082
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 0x498079
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 0x49806e
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.00498110
add esp, 0xc
test eax, eax
je 0x49806e
mov al, byte [esp + 0x28]
test al, al
je 0x498041
lea edx, [esp + 0x28]
lea eax, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x49806e
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 0x498066
mov byte [eax], cl
inc eax
dec esi
jne 0x498057
jmp 0x49806a
test esi, esi
jne 0x49806b
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 0x497f72
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 0x4980fc
cmp esi, 0x7fffffff
jbe 0x4980bd
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 0x4980db
mov byte [eax], cl
inc eax
dec esi
jne 0x4980cc
jmp 0x4980df
test esi, esi
jne 0x4980e5
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