joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422460
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
mov esi, ecx
lea eax, [esp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4224cf
mov eax, dword [esp + 8]
cmp eax, 3
je 0x42249f
cmp eax, 4
je 0x42249f
cmp eax, 0xb
jne 0x4224cf
cmp dword [esp + 4], 4
jne 0x4224cf
lea eax, [esp + 4]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4224cf
mov al, 1
pop esi
add esp, 8
ret 4
xor al, al
pop esi
add esp, 8
ret 4

Function at 0x425b80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cd55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, dword [ecx + 4]
push 4
call fcn.00550cf4
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x426310
push 0
push 0
call fcn.0055bf98
add esp, 0x1c
mov dword [ebp - 0x18], eax
pop esi
test eax, eax
je 0x425bfa
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.0042d950
cmp dword [ebp - 0x14], 0
jne 0x425bf5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00555db5
push 6
mov dword [ebp - 0x14], 0
call fcn.0053b2f5
int3
Function at 0x426ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ce76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.004305b0
add eax, 0x10
mov dword [esi + 8], eax
lea edi, [esi + 0x10]
mov dword [edi + 0x24], 0
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x426b0d
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.004305b0
add eax, 0x10
mov dword [esi + 0x38], eax
lea edi, [esi + 4]
mov byte [ebp - 4], 4
push edi
push 0xf003f
push 0
push dword [ebx]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
jne 0x426bc0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
test eax, eax
jne 0x426b93
mov eax, dword [ebp + 0x10]
cmp eax, 3
je 0x426b7b
cmp eax, 4
je 0x426b7b
cmp eax, 0xb
jne 0x426b93
cmp dword [ebp + 0xc], 4
jne 0x426b93
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [esi + 0x38]
push dword [edi]
call ebx
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x426bab
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x34
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.a3Bw8ahkV9FwMYoBAITgSwcRxGUse7Hx5LTHwAP5BRUU
lea ecx, [ebp - 0x38]
call fcn.00430a50
push ebx
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.004306a0
lea ecx, [ebp + 0xc]
call fcn.00446d80
add esp, 0x18
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.00405b90
push 0x5c2fd0
lea eax, [ebp - 0x20]
push eax
call fcn.00552c2a
int3

Function at 0x42df50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d50f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.0053acc4
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x42dfdb
push eax
push esi
call fcn.0053aa1d
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.0053a778
int3
Function at 0x42f150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d5e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov edi, dword [eax + 4]
add edi, esi
mov ecx, edi
call fcn.0042da70
mov eax, dword [ebp + 8]
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 0x3c], 0
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 2
push eax
call fcn.0042e3d0
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x30]
mov ecx, eax
call edx
movzx eax, ax
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test ebx, ebx
je 0x42f208
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x42f205
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov eax, dword [ebp + 8]
cmp dword [edi + 0x38], 0
mov word [edi + 0x40], ax
jne 0x42f222
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.0042ef90
mov eax, dword [esi + 0x10]
pop edi
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x10], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi + 0xc], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42f500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d4b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov eax, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00550cf4
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0053a920
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
pop edi
pop esi
mov dword [edx], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x430e00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x430e58
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x430e58
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x430e46
cmp esi, edx
jae 0x430e58
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x430e34
cmp esi, edx
jae 0x430e58
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x4374d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d4b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00550cf4
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0053a920
add esp, 8
mov dword [esi + 4], eax
mov ecx, ebx
mov dword [ebx + 0x34], esi
call fcn.00442ef0
mov eax, ebx
lea esi, [eax + 8]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea edx, [eax + 0x24]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x2c], edx
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x5d5d34]
mov dword [eax], 0
mov eax, dword [0x5d5d30]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x4c], 0
mov dword [edx + 0x38], 0
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x441a90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ea55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.0053acc4
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x50], ax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], al
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], al
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push 0x59f7c8
push eax
call fcn.0053aa1d
lea eax, [ebp - 0x3c]
push eax
call fcn.0053ad53
movups xmm0, xmmword [eax]
movups xmmword [esi + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
call fcn.0053aa68
mov eax, dword [ebp - 0x44]
add esp, 0x10
test eax, eax
je 0x441b5f
push eax
call fcn.00555d84
add esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], 0
test eax, eax
je 0x441b76
push eax
call fcn.00555d84
add esp, 4
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x441b8d
push eax
call fcn.00555d84
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x441ba4
push eax
call fcn.00555d84
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], 0
test eax, eax
je 0x441bbb
push eax
call fcn.00555d84
add esp, 4
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x64], 0
test eax, eax
je 0x441bd2
push eax
call fcn.00555d84
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], 0
call fcn.0053ad1c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x442800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57eb4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
lea edi, [esi + 0x38]
mov dword [esi + 0x30], 0
mov byte [esi + 0x34], 0
mov dword [ebp + 8], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4428a7
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 5
lea ecx, [esi + 0x70]
mov al, byte [ebp + 0xc]
mov byte [esi + 0x60], al
push 9
mov byte [esi + 0x68], 9
call fcn.0042bd60
lea eax, [ebp + 0xf]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x10]
mov byte [ebp + 0xf], 1
call fcn.004427b0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x4428eb
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x30

Function at 0x443af0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e17d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.0042da70
mov eax, dword [ebp + 8]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x3c], 0
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 1
push eax
call fcn.00444e70
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 0
test ebx, ebx
je 0x443ba3
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
test eax, eax
je 0x443ba0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp + 0xb]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], al
jne 0x443bbc
mov eax, dword [esi + 0xc]
mov ecx, esi
push 0
or eax, 4
push eax
call fcn.0042ef90
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4460b0
Capabilities:
Hash data using crc32b

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x400
mov edi, ecx
push 0
push edi
call fcn.00552ad0
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0xc], ecx
nop dword [eax]
xor eax, eax
test cl, 1
je 0x4460db
bts eax, 7
shr ecx, 1
test cl, 1
je 0x4460e6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x4460f1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x4460fc
bts eax, 4
shr ecx, 1
test cl, 1
je 0x446107
bts eax, 3
shr ecx, 1
test cl, 1
je 0x446112
bts eax, 2
shr ecx, 1
test cl, 1
je 0x44611d
bts eax, 1
test cl, 2
je 0x446126
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [esp + 0xc]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x4461c3
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x4461b4
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esi], edx
mov dword [esp + 0xc], ecx
cmp ecx, 0xff
jle 0x4460d0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x448030
Capabilities:
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57f16d
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x44815d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x448071
mov eax, dword [esi + 0x84]
push 0
push 0x1bb
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x44815d
mov dword [ebp - 4], 0
call fcn.00430c90
mov ecx, eax
test ecx, ecx
je 0x4481d5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x4480d0
mov ecx, dword [esi + 0x88]
push edx
push dword [ebp - 0x18]
push dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
lea eax, [ebp - 0x10]
push dword [esi + 4]
push dword [esi]
push ecx
push dword [esi + 0x8c]
push eax
call fcn.00422bb0
mov esi, dword [ebp - 0x10]
add esp, 0x2c
push 0x800000
push 0
push 0
push 0
push esi
push 0x59fbdc
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
test edi, edi
je 0x448172
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x448172
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
push dword [ebp - 0x14]
call edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44815d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44818a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test edi, edi
je 0x4481bb
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov ebx, eax
test ebx, ebx
je 0x4481b8
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov ebx, eax
push edi
call esi
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00431210
int3
Function at 0x4497e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f27d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push ebx
push esi
push edi
lea ecx, [ebp - 0x414]
mov dword [ebp - 4], 0
call fcn.004460b0
mov esi, dword [ebp + 8]
call fcn.00430c90
mov ecx, eax
test ecx, ecx
je 0x4498d1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00450870
test al, al
jne 0x44984a
push esi
lea ecx, [ebp - 0x14]
call fcn.00450950
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
jle 0x449866
push esi
lea ecx, [ebp - 0x14]
call fcn.004509e0
mov eax, dword [ebp - 0x14]
or ebx, 0xffffffff
mov edi, eax
test esi, esi
je 0x44988a
nop
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
xor ebx, dword [ebp + edx*4 - 0x414]
sub esi, 1
jne 0x449870
or esi, 0xffffffff
lea edx, [eax - 0x10]
not ebx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4498a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x4498be
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00431210
int3
Function at 0x44a6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f445
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 2
call fcn.00430c90
mov ecx, eax
test ecx, ecx
je 0x44a84e
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
mov edi, eax
lea esi, [edi + 0x10]
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 0x1000
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x44a7b7
mov edx, dword [ebp - 0x14]
test edx, edx
js 0x44a858
mov eax, dword [edi + 8]
mov ecx, 1
sub ecx, dword [edi + 0xc]
sub eax, edx
or ecx, eax
jge 0x44a760
push edx
lea ecx, [ebp - 0x10]
call fcn.00431190
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esi - 8]
push esi
call fcn.00555f13
add esp, 8
test eax, eax
js 0x44a858
cmp eax, dword [esi - 8]
jg 0x44a858
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esi - 0x10]
mov ecx, edi
call fcn.004305b0
add eax, 0x10
mov dword [ebx], eax
jmp 0x44a7f2
call fcn.00430c90
mov ecx, eax
test ecx, ecx
je 0x44a862
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x597b10
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00430f00
test al, al
jne 0x44a7f2
push 0
push 0x597b10
mov ecx, ebx
call fcn.00431230
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44a809
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44a823
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x44a83b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00431210
push 0x80070057
call fcn.00431210
push 0x80004005
call fcn.00431210
int3