joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449b00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4caad3
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x38]
mov dword [esp + 0x14], eax
push eax
mov byte [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0x108], eax
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], eax
jne 0x449b9e
push 0x10
push str.NonNullValueName
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], eax
mov byte [esp + 0x28], al
call fcn.0040e480
mov byte [esp + 0x108], 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x3c]
push edx
call fcn.00488a7c
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x14]
mov edx, 0x10
cmp dword [ecx + 0x18], edx
jb 0x449bb3
mov ecx, dword [ecx + 4]
jmp 0x449bb6
add ecx, 4
cmp dword [ebx + 0x18], edx
mov dword [esp + 0x10], ecx
jb 0x449bc4
mov esi, dword [ebx + 4]
jmp 0x449bc7
lea esi, [ebx + 4]
call fcn.0040c720
mov edx, dword [esp + 0x10]
add eax, 1
push eax
mov eax, dword [edi + 0x20]
push edx
push 1
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x449c92
add edi, 4
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ecx, str.Failed_to_set_String_value
call fcn.004089d0
mov byte [esp + 0x110], 2
push eax
lea edx, [esp + 0x98]
push edx
mov ecx, 0x4e228c
call fcn.00408aa0
mov byte [esp + 0x118], 3
push ebx
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.00408900
add esp, 0x1c
mov byte [esp + 0x108], 4
push eax
lea ecx, [esp + 0xc8]
push ecx
mov ecx, str._to
call fcn.00408aa0
mov byte [esp + 0x110], 5
mov edx, dword [ebp + 0xc]
push edx
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00408900
add esp, 0x14
mov byte [esp + 0x108], 6
push esi
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00447510
push 0x502ed8
lea edx, [esp + 0x3c]
push edx
call fcn.00488a7c
call fcn.0044aee0
mov dword [esp + 0x108], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.00406ab0
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x449cd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4caa6e
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x38]
mov dword [esp + 0x10], eax
mov bl, 1
push eax
mov byte [esp + 0x18], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [esp + 0x120], esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], esi
jne 0x449d6f
push 0x10
push str.NonNullValueName
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
call fcn.0040e480
mov byte [esp + 0x120], bl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x38]
push edx
call fcn.00488a7c
cmp dword [eax + 0x18], 0x10
jb 0x449d7a
mov eax, dword [eax + 4]
jmp 0x449d7d
add eax, 4
mov edx, dword [edi + 0x20]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
cmp ebx, esi
je 0x449e5a
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00408ff0
mov esi, eax
mov byte [esp + 0x128], 2
add edi, 4
lea edx, [esp + 0x100]
push edi
push edx
mov ecx, str.Failed_to_set_UnsignedNumber_value
call fcn.004089d0
mov byte [esp + 0x130], 3
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, 0x4e228c
call fcn.00408aa0
mov byte [esp + 0x138], 4
mov ecx, dword [ebp + 8]
push ecx
push eax
lea edx, [esp + 0xfc]
push edx
call fcn.00408900
add esp, 0x24
mov byte [esp + 0x120], 5
push eax
lea eax, [esp + 0xa8]
push eax
mov ecx, str._to
call fcn.00408aa0
mov byte [esp + 0x128], 6
push esi
push eax
lea ecx, [esp + 0xd0]
push ecx
call fcn.00408900
add esp, 0x14
mov byte [esp + 0x120], 7
push ebx
lea edx, [esp + 0x38]
push edx
mov ecx, eax
call fcn.00447510
push 0x502ed8
lea eax, [esp + 0x38]
push eax
call fcn.00488a7c
call fcn.0044aee0
mov dword [esp + 0x120], 0xffffffff
lea ecx, [esp + 0x10]
push ecx
call fcn.00406ab0
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x449e90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ca9f9
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x38]
mov dword [esp + 0x30], eax
push eax
mov byte [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [esp + 0xd0], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], esi
jne 0x449f2f
push 0x10
push str.NonNullValueName
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
call fcn.0040e480
mov byte [esp + 0xd0], 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x3c]
push edx
call fcn.00488a7c
mov edx, dword [ebp + 0xc]
cmp edx, esi
jne 0x449f7d
push 0x14
push str.NonNullCallerDataPtr
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], esi
mov byte [esp + 0x20], 0
call fcn.0040e480
mov byte [esp + 0xd0], 2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x3c]
push edx
call fcn.00488a7c
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
jne 0x449fb8
push str.PositiveLength
lea ecx, [esp + 0x18]
call fcn.0040e550
mov byte [esp + 0xd0], 3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x3c]
push edx
call fcn.00488a7c
cmp dword [ebx + 0x18], 0x10
jb 0x449fc3
mov eax, dword [ebx + 4]
jmp 0x449fc6
lea eax, [ebx + 4]
push ecx
push edx
push 3
push esi
push eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x44a048
add edi, 4
lea ecx, [esp + 0x14]
push edi
push ecx
mov ecx, str.Failed_to_set_Binary_value
call fcn.004089d0
mov byte [esp + 0xd8], 4
push eax
lea edx, [esp + 0x98]
push edx
mov ecx, 0x4e228c
call fcn.00408aa0
mov byte [esp + 0xe0], 5
push ebx
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00408900
add esp, 0x1c
mov byte [esp + 0xd0], 6
push esi
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00447510
push 0x502ed8
lea edx, [esp + 0x3c]
push edx
call fcn.00488a7c
call fcn.0044aee0
mov dword [esp + 0xd0], 0xffffffff
lea eax, [esp + 0x30]
push eax
call fcn.00406ab0
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ca4d0
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x38]
mov dword [esp + 0x20], eax
push eax
mov byte [esp + 0x28], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [esp + 0xc0], ebx
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
jb 0x44a0ea
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x44a20d
cmp dword [esp + 0x1c], 1
je 0x44a188
push 7
push str.unknown
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.0040e480
mov byte [esp + 0xc0], 1
push 6
push str.string
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.0040e480
mov byte [esp + 0xc0], 2
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x48]
push edx
push edi
add esi, 4
push esi
lea eax, [esp + 0x70]
push eax
call fcn.004220e0
push 0x5028b0
lea ecx, [esp + 0x64]
push ecx
call fcn.00488a7c
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x44a1e0
push eax
call fcn.004606ba
add esp, 4
cmp dword [edi + 0x18], 0x10
mov dword [esp + 0x18], eax
jb 0x44a1ab
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
jmp 0x44a1af
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esi + 0x20]
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44a1d3
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040e130
mov edx, dword [esp + 0x18]
push edx
call fcn.004606bf
add esp, 4
mov dword [esp + 0xc0], 0xffffffff
lea eax, [esp + 0x20]
push eax
call fcn.00406ab0
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
add esi, 4
push esi
lea ecx, [esp + 0x68]
push ecx
call fcn.00421d70
push 0x502868
lea edx, [esp + 0x64]
push edx
call fcn.00488a7c
int3
Function at 0x44a230
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ca48b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x38]
mov dword [esp + 0x20], eax
mov bl, 1
push eax
mov byte [esp + 0x28], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0xc0], eax
cmp dword [ebp + 0xc], eax
jne 0x44a2cb
push 0x17
push str.NonNullCallersNumberPtr
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], eax
mov byte [esp + 0x34], al
call fcn.0040e480
mov byte [esp + 0xc0], bl
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x64]
push edx
call fcn.00488a7c
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea ebx, [edi + 4]
jb 0x44a2e3
mov eax, dword [ebx]
jmp 0x44a2e5
mov eax, ebx
lea ecx, [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44a3ce
mov eax, 4
cmp dword [esp + 0x18], eax
je 0x44a365
push str.unknown
lea ecx, [esp + 0x2c]
call fcn.0040e550
mov byte [esp + 0xc0], 2
push str.UnsignedNumber
lea ecx, [esp + 0x48]
call fcn.0040e550
mov byte [esp + 0xc0], 3
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x48]
push edx
push edi
add esi, 4
push esi
lea eax, [esp + 0x70]
push eax
call fcn.004220e0
push 0x5028b0
lea ecx, [esp + 0x64]
push ecx
call fcn.00488a7c
cmp dword [esp + 0x14], eax
jne 0x44a3a1
cmp dword [edi + 0x18], 0x10
mov dword [esp + 0x1c], 0
jb 0x44a37b
mov ebx, dword [ebx]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44a3a1
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x20]
push ecx
call fcn.00406ab0
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
add esi, 4
push esi
lea edx, [esp + 0x68]
push edx
call fcn.00421d70
push 0x502868
lea eax, [esp + 0x64]
push eax
call fcn.00488a7c
int3
Function at 0x44a6e0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ca983
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x38]
mov dword [esp + 0x14], eax
push eax
mov byte [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0xd0], eax
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], eax
jne 0x44a77e
push 0x10
push str.NonNullValueName
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], eax
mov byte [esp + 0x28], al
call fcn.0040e480
mov byte [esp + 0xd0], 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x3c]
push edx
call fcn.00488a7c
cmp dword [ebx + 0x18], 0x10
jb 0x44a789
mov eax, dword [ebx + 4]
jmp 0x44a78c
lea eax, [ebx + 4]
push eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
test esi, esi
je 0x44a809
add edi, 4
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ecx, str.Failed_to_delete_value
call fcn.004089d0
mov byte [esp + 0xd8], 2
push eax
lea edx, [esp + 0x98]
push edx
mov ecx, 0x4e228c
call fcn.00408aa0
mov byte [esp + 0xe0], 3
push ebx
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00408900
add esp, 0x1c
mov byte [esp + 0xd0], 4
push esi
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00447510
push 0x502ed8
lea edx, [esp + 0x3c]
push edx
call fcn.00488a7c
call fcn.0044aee0
mov dword [esp + 0xd0], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.00406ab0
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44a840
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce18a
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x38]
mov dword [esp + 0xc], eax
push eax
mov byte [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x44a895
mov eax, dword [eax + 4]
jmp 0x44a898
add eax, 4
push eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
call fcn.0044aee0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0xc]
push ecx
call fcn.00406ab0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x44a8d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ca015
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x38]
mov dword [esp + 0xc], eax
mov bl, 1
push eax
mov byte [esp + 0x14], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ecx
jne 0x44a96a
push 0x10
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x1c], cl
push str.NonNullValueName
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
call fcn.0040e480
mov byte [esp + 0x90], bl
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00421b30
push 0x502820
lea edx, [esp + 0x34]
push edx
call fcn.00488a7c
cmp dword [eax + 0x18], 0x10
jb 0x44a975
mov eax, dword [eax + 4]
jmp 0x44a978
add eax, 4
push ecx
push ecx
push ecx
push ecx
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete bl
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0xc]
push ecx
call fcn.00406ab0
mov al, bl
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x44c950
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4ca813
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
cmp dword [esi + 4], 0
jne 0x44c9a3
push str.NonNullRegKeyWeakReference
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x95e
mov ecx, str.......CommonMiscWin32Registry.cpp
mov edx, str.m_pRegKeyWeakReference
call fcn.0042ca40
mov eax, dword [esi + 4]
cmp dword [eax + 0x20], 0
jne 0x44c9cf
push str.NonNullWin32KeyHandle
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0x95f
mov ecx, str.......CommonMiscWin32Registry.cpp
mov edx, str.m_pRegKeyWeakReference__m_hkey
call fcn.0042ca40
mov eax, dword [esi + 4]
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov ecx, dword [eax + 0x20]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, eax
test edi, edi
je 0x44ca66
mov edx, dword [esi + 4]
add edx, 4
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, str.Failed_to_query_key
call fcn.004089d0
mov dword [esp + 0xb0], 0
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, str._for_key_info
call fcn.00408aa0
add esp, 0x10
mov byte [esp + 0xa8], 1
push edi
lea edx, [esp + 0x50]
push edx
mov ecx, eax
call fcn.00447510
push 0x502ed8
lea eax, [esp + 0x50]
push eax
call fcn.00488a7c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add edx, 1
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0xa4
ret
Function at 0x44d0d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cbb9a
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x512f80]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ecx]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x18], ebx
call eax
xor esi, esi
mov dword [esp + 0x98], esi
lea eax, [esp + 0x3c]
call fcn.00442720
cmp eax, esi
jne 0x44d1de
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
call fcn.00442730
mov byte [esp + 0x98], 1
push eax
lea edx, [esp + 0x70]
push edx
mov ecx, str.String:
call fcn.004089d0
add esp, 8
mov byte [esp + 0x98], 2
push 0xffffffffffffffff
push esi
push eax
mov ecx, ebx
call fcn.0040dba0
mov byte [esp + 0x98], 1
mov edi, 0x10
cmp dword [esp + 0x84], edi
jb 0x44d199
mov eax, dword [esp + 0x70]
push eax
call fcn.004606bf
add esp, 4
mov ebx, 0xf
mov dword [esp + 0x84], ebx
mov dword [esp + 0x80], esi
mov byte [esp + 0x70], 0
mov byte [esp + 0x98], 0
cmp dword [esp + 0x38], edi
jb 0x44d1cc
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004606bf
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
jmp 0x44d2ef
cmp eax, 1
jne 0x44d225
lea esi, [esp + 0x3c]
call fcn.00442800
push eax
push str.Number:_0x_8.8x
mov edi, 0x19
lea esi, [esp + 0x74]
call fcn.00442f10
mov eax, esi
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x44d208
sub eax, edx
push eax
lea edx, [esp + 0x70]
push edx
mov ecx, ebx
call fcn.0040e480
jmp 0x44d2ef
lea edi, [esp + 0x10]
lea eax, [esp + 0x3c]
mov dword [esp + 0x10], esi
call fcn.004428f0
mov dword [esp + 0x18], eax
mov eax, 0xa
call fcn.0040c720
mov esi, eax
mov eax, dword [esp + 0x10]
lea eax, [esi + eax*2 + 1]
push eax
call fcn.00481d2d
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x1c], edi
jne 0x44d280
push 0xabf
push str.......CommonMiscWin32Registry.cpp
push str.szFmtBuf
push ecx
call fcn.0042c7e0
add esp, 4
mov ecx, eax
call fcn.0042ca10
push esi
push str.Binary:_0x
push edi
call fcn.0048aad0
xor ebx, ebx
add esp, 0xc
add esi, edi
cmp dword [esp + 0x10], ebx
jbe 0x44d2c4
mov ecx, dword [esp + 0x18]
movzx edx, byte [ebx + ecx]
push edx
push str._2.2x
mov edi, 3
call fcn.00442f10
add ebx, 1
add esp, 8
add esi, 2
cmp ebx, dword [esp + 0x10]
jb 0x44d299
mov edi, dword [esp + 0x1c]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x44d2d0
mov ecx, dword [esp + 0x14]
sub eax, edx
push eax
push edi
call fcn.0040e480
push edi
call fcn.00481df0
add esp, 4
mov dword [esp + 0x98], 0xffffffff
lea eax, [esp + 0x3c]
push eax
call fcn.004424b0
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0048162f
mov esp, ebp
pop ebp
ret 4
Function at 0x44d330
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4ca7a3
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x44d385
push str.NonNullRegKeyWeakReference
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0xb0e
mov ecx, str.......CommonMiscWin32Registry.cpp
mov edx, str.m_pRegKeyWeakReference
call fcn.0042ca40
mov eax, dword [esi + 4]
cmp dword [eax + 0x20], ebx
jne 0x44d3b0
push str.NonNullWin32KeyHandle
push ecx
call fcn.0042c7e0
add esp, 4
push eax
mov eax, 0xb0f
mov ecx, str.......CommonMiscWin32Registry.cpp
mov edx, str.m_pRegKeyWeakReference__m_hkey
call fcn.0042ca40
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov edx, dword [ecx + 0x20]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, eax
cmp edi, ebx
je 0x44d43a
mov eax, dword [esi + 4]
add eax, 4
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.Failed_to_query_key
call fcn.004089d0
mov dword [esp + 0xb8], ebx
push eax
lea edx, [esp + 0x44]
push edx
mov ecx, str._for_value_info
call fcn.00408aa0
add esp, 0x10
mov byte [esp + 0xb0], 1
push edi
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call fcn.00447510
push 0x502ed8
lea edx, [esp + 0x58]
push edx
call fcn.00488a7c
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add ecx, 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0xa8
ret

Function at 0x44e270
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c7108
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x512f80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040e160
mov dword [esp + 0x18], 0
mov dword [esi], vtable.common::CConvertedWin32StructuredException.0
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x44f0f9
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, 0x200c
call fcn.0048a520
mov eax, dword [0x512f80]
xor eax, esp
mov dword [esp + 0x2004], eax
push ebx
push esi
mov esi, ecx
call fcn.004346f0
mov ecx, dword [edi + 0x24]
mov ebx, dword [sym.imp.WS2_32.dll_recv]
push 0
push 0x2000
lea eax, [esp + 0x10]
push eax
push ecx
call ebx
test eax, eax
jle 0x44f14e
lea ecx, [ecx]
push eax
lea ecx, [esp + 0xc]
mov eax, esi
call fcn.00434560
mov eax, esi
call fcn.00434820
cmp eax, 1
jae 0x44f167
mov eax, dword [edi + 0x24]
push 0
push 0x2000
lea edx, [esp + 0x10]
push edx
push eax
call ebx
test eax, eax
jg 0x44f120
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x2004]
xor ecx, esp
call fcn.0048162f
add esp, 0x200c
ret
mov eax, esi
call fcn.00434580
mov ecx, dword [esp + 0x200c]
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0048162f
add esp, 0x200c
ret