joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c62e
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
lea eax, [esi + 0x38]
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x505160
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004ecd68
pop eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], eax
add ecx, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x40], 1
mov dword [esi + 8], ecx
mov dword [esi + 0x14], eax
call fcn.0048bde2
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
movsd xmm0, qword [eax + 0x18]
movsd qword [ecx + 0x18], xmm0
movsd xmm0, qword [eax + 0x10]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
and dword [esi + 0x40], 0
mov ecx, dword [esi + 0x10]
mov byte [esi + 7], 0
push dword [esi + 0x18]
push dword [esi + 0x1c]
call fcn.004ecdb1
pop eax
pop ecx
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x49e3c5
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, ecx
mov edi, edx
mov ecx, dword [edx + 0x44]
mov edx, dword [edx + 0x48]
push 0x58c740
push dword [edi + 0x38]
call fcn.0049e1bb
pop ecx
pop ecx
test eax, eax
mov ecx, esp
cmove edx, eax
and dword [ecx + 0x24], 0
and dword [ecx + 0x28], 0
and dword [ecx + 0x2c], 0
mov dword [ecx], edx
mov dword [ecx + 4], 1
mov dword [ecx + 8], eax
lea eax, [esp + 0x30]
and dword [ecx + 0x10], 0
and dword [ecx + 0xc], 0
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
and dword [ecx + 0x20], 0
and dword [ecx + 0x1c], 0
and dword [eax], 0
mov dword [eax + 4], 4
mov dword [eax + 8], ecx
lea ecx, [edi + 0x80]
push 0
push 0
push eax
push ecx
call dword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x49e4fe
test eax, eax
je 0x49e494
cmp eax, 0x90317
je 0x49e4f7
cmp eax, 0x90321
jne 0x49e50b
mov dword [edi + 0x68], 0x10000
mov byte [edi + 0x6c], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0x38]
jne 0x49e47f
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.0049e37d
and dword [edi + 0xac], 0
jmp 0x49e51c
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x44]
mov ebp, dword [esp + 0xc]
mov edx, dword [edi + 0x48]
and dword [edi + 0x30], 0
lea ebx, [edi + 0x28]
sub eax, ecx
add ebp, eax
push ebp
push eax
call fcn.0049e529
pop ecx
pop ecx
mov ebp, edx
mov edx, eax
mov ecx, ebx
push ebp
call fcn.00421f68
pop eax
and dword [edi + 0x24], 0
and dword [edi + 0x20], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0x38]
jne 0x49e4db
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.0049e37d
mov eax, dword [edi + 0x38]
xor ecx, ecx
or eax, dword [edi + 0x3c]
sete cl
mov dword [edi + 0xac], ecx
jmp 0x49e51c
mov word [esi], 0x104
jmp 0x49e521
cmp dword [esp + 0x10], 4
jne 0x49e513
mov eax, dword [esp + 0xc]
jmp 0x49e516
and dword [esi], 0
mov dword [esi + 4], eax
jmp 0x49e521
xor eax, eax
inc eax
mov dword [edi + 0xac], eax
mov word [esi], 4
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4a068d
Capabilities:
Decrypt data via sspi

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, ecx
mov edi, edx
mov ecx, dword [edx + 0xec]
mov edx, dword [edx + 0xf0]
push 0x58c740
push dword [edi + 0xe0]
call fcn.0049e1bb
pop ecx
pop ecx
test eax, eax
mov ecx, esp
cmove edx, eax
and dword [ecx + 0x24], 0
and dword [ecx + 0x28], 0
and dword [ecx + 0x2c], 0
mov dword [ecx], edx
mov dword [ecx + 4], 1
mov dword [ecx + 8], eax
lea eax, [esp + 0x30]
and dword [ecx + 0x10], 0
and dword [ecx + 0xc], 0
and dword [ecx + 0x18], 0
and dword [ecx + 0x14], 0
and dword [ecx + 0x20], 0
and dword [ecx + 0x1c], 0
and dword [eax], 0
mov dword [eax + 4], 4
mov dword [eax + 8], ecx
lea ecx, [edi + 0x128]
push 0
push 0
push eax
push ecx
call dword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x4a07f3
test eax, eax
je 0x4a076e
cmp eax, 0x90317
je 0x4a07ec
cmp eax, 0x90321
jne 0x4a0800
mov dword [edi + 0x110], 0x10000
mov byte [edi + 0x114], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0xe0]
jne 0x4a0759
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.004a0639
and dword [edi + 0x154], 0
jmp 0x4a0811
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0xec]
mov ebp, dword [esp + 0xc]
mov edx, dword [edi + 0xf0]
and dword [edi + 0xd8], 0
lea ebx, [edi + 0xd0]
sub eax, ecx
add ebp, eax
push ebp
push eax
call fcn.0049e529
pop ecx
pop ecx
mov ebp, edx
mov edx, eax
mov ecx, ebx
push ebp
call fcn.00421f68
pop eax
and dword [edi + 0xcc], 0
and dword [edi + 0xc8], 0
xor eax, eax
cmp dword [esp + 0x28], 5
mov edx, dword [edi + 0xe0]
jne 0x4a07ca
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, edi
call fcn.004a0639
mov eax, dword [edi + 0xe0]
xor ecx, ecx
or eax, dword [edi + 0xe4]
sete cl
mov dword [edi + 0x154], ecx
jmp 0x4a0811
mov word [esi], 0x104
jmp 0x4a0816
cmp dword [esp + 0x10], 4
jne 0x4a0808
mov eax, dword [esp + 0xc]
jmp 0x4a080b
and dword [esi], 0
mov dword [esi + 4], eax
jmp 0x4a0816
xor eax, eax
inc eax
mov dword [edi + 0x154], eax
mov word [esi], 4
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4ae43d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 4], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x5057a0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
mov dword [esi + 8], ecx
call fcn.004aeefb
mov ecx, dword [esi + 4]
xor edi, edi
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea edx, [esi + 8]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ebx
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.004ae675
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x178
mov esi, esp
mov dword [esi + 0x160], ebp
lea eax, [esi + 0x168]
mov dword [esi + 0x1c], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x505830
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004ecd68
pop eax
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 8]
mov dword [esi + 0x14], eax
add edi, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x30]
push 0x130
push dword [esi + 0x1c]
push eax
call fcn.005282e0
add esp, 0xc
mov ecx, edi
mov dword [esi + 0x170], 1
mov dword [esi + 8], edi
call fcn.004adf46
push 0x130
lea eax, [esi + 0x30]
push eax
push dword [esi + 8]
call fcn.005282e0
add esp, 0xc
and dword [esi + 0x170], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov byte [esi + 7], 0
push dword [esi + 0x14]
push dword [esi + 0x18]
call fcn.004ecdb1
pop eax
pop ecx
mov eax, dword [esi + 0x168]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4b00a1
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xab8
mov esi, esp
mov dword [esi + 0xaa0], ebp
lea eax, [esi + 0xaa8]
mov dword [esi + 0x1c], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x5058d0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004ecd68
pop eax
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 8]
mov dword [esi + 0x14], eax
add edi, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x30]
push 0xa70
push dword [esi + 0x1c]
push eax
call fcn.005282e0
add esp, 0xc
mov ecx, edi
mov dword [esi + 0xab0], 1
mov dword [esi + 8], edi
call fcn.004afa4e
push 0xa70
lea eax, [esi + 0x30]
push eax
push dword [esi + 8]
call fcn.005282e0
add esp, 0xc
and dword [esi + 0xab0], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov byte [esi + 7], 0
push dword [esi + 0x14]
push dword [esi + 0x18]
call fcn.004ecdb1
pop eax
pop ecx
mov eax, dword [esi + 0xaa8]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4b091f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 4], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x505920
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
mov dword [esi + 8], ecx
call fcn.004b0b57
mov ecx, dword [esi + 4]
xor edi, edi
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea edx, [esi + 8]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ebx
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.004b01ea
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4b2a4b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
lea eax, [esi + 0x78]
mov dword [esi + 0x1c], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x5059e0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004ecd68
pop eax
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 8]
mov dword [esi + 0x14], eax
add edi, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x30]
push 0x40
push dword [esi + 0x1c]
push eax
call fcn.005282e0
add esp, 0xc
mov ecx, edi
mov dword [esi + 0x80], 1
mov dword [esi + 8], edi
call fcn.004b2a04
push 0x40
lea eax, [esi + 0x30]
push eax
push dword [esi + 8]
call fcn.005282e0
add esp, 0xc
and dword [esi + 0x80], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov byte [esi + 7], 0
push dword [esi + 0x14]
push dword [esi + 0x18]
call fcn.004ecdb1
pop eax
pop ecx
mov eax, dword [esi + 0x78]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov esi, esp
mov dword [esi + 0x148], ebp
lea eax, [esi + 0x150]
mov dword [esi + 0x1c], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x505a00
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004ecd68
pop eax
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 8]
mov dword [esi + 0x14], eax
add edi, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x30]
push 0x118
push dword [esi + 0x1c]
push eax
call fcn.005282e0
add esp, 0xc
mov ecx, edi
mov dword [esi + 0x158], 1
mov dword [esi + 8], edi
call fcn.004b2b7c
push 0x118
lea eax, [esi + 0x30]
push eax
push dword [esi + 8]
call fcn.005282e0
add esp, 0xc
and dword [esi + 0x158], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov byte [esi + 7], 0
push dword [esi + 0x14]
push dword [esi + 0x18]
call fcn.004ecdb1
pop eax
pop ecx
mov eax, dword [esi + 0x150]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4b2dc8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov esi, esp
mov dword [esi + 0x70], ebp
lea eax, [esi + 0x78]
mov dword [esi + 0x1c], edx
mov dword [esi + 8], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x505a10
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
and dword [eax + 8], 0
mov byte [esi + 7], 1
lea ecx, [esi + 0x20]
push edi
call fcn.004ecd68
pop eax
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 8]
mov dword [esi + 0x14], eax
add edi, 0x10
mov eax, dword [esi + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x30]
push 0x40
push dword [esi + 0x1c]
push eax
call fcn.005282e0
add esp, 0xc
mov ecx, edi
mov dword [esi + 0x80], 1
mov dword [esi + 8], edi
call fcn.004b2bce
push 0x40
lea eax, [esi + 0x30]
push eax
push dword [esi + 8]
call fcn.005282e0
add esp, 0xc
and dword [esi + 0x80], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov byte [esi + 7], 0
push dword [esi + 0x14]
push dword [esi + 0x18]
call fcn.004ecdb1
pop eax
pop ecx
mov eax, dword [esi + 0x78]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4bb161
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 4], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x505bc0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
mov dword [esi + 8], ecx
call fcn.004b2a31
mov ecx, dword [esi + 4]
xor edi, edi
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea edx, [esi + 8]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ebx
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.004b36a3
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4bc0dd
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 4], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x505c80
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
mov dword [esi + 8], ecx
call fcn.004b2bb6
mov ecx, dword [esi + 4]
xor edi, edi
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea edx, [esi + 8]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ebx
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.004b366d
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4bd09d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
lea eax, [esi + 0x30]
mov dword [esi + 4], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x505d40
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
and dword [eax + 8], 0
mov dword [esi + 8], ecx
call fcn.004b2c62
mov ecx, dword [esi + 4]
xor edi, edi
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
lea edx, [esi + 8]
or dword [esi + 0x38], 0xffffffff
mov dword [edx + 8], edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ebx
and dword [edx + 4], 0
mov dword [edx], 1
call fcn.004b3631
mov eax, dword [esi + 0x30]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4bd9df
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
lea esi, [ebp - 0x18]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x4c]
mov dword [esi - 4], esp
or dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x505d80
mov eax, dword fs:[0]
mov dword [esi], eax
mov dword fs:[0], esi
push 0xb
call fcn.00407d00
pop eax
and dword [ebp - 0x2c], 0
and dword [esi + 8], 0
mov ecx, 0x800
xor edx, edx
mov dword [ebp - 0x24], 0x800
call fcn.00426da7
lea ecx, [ebp - 0x38]
mov dword [ecx], eax
mov dword [ecx + 4], edx
and dword [ecx + 8], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 1
push ecx
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x40]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x4bda81
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x38]
call fcn.004caaf1
jmp 0x4bda49
test eax, eax
jne 0x4bda9f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0xb
jbe 0x4bdabc
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], 0xde
jmp 0x4bdaa5
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
and dword [ecx + 4], 0
mov dword [ecx], 0x80000000
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
call fcn.004caa30
jmp 0x4bdad1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x38]
mov dword [edx + 8], ecx
movsd qword [edx], xmm0
mov byte [edx + 0xc], al
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x28]
call fcn.004ca955
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4cb45f
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x505f70
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 0x58], 0
and dword [ebp - 0x5c], 0
and dword [ebp - 0x50], 0
and dword [ebp - 0x54], 0
and dword [ebp - 0x48], 0
and dword [ebp - 0x4c], 0
and dword [ebp - 0x40], 0
and dword [ebp - 0x44], 0
and dword [ebp - 0x3c], 0
and dword [ebp - 0x34], 0
mov dword [ebp - 0x68], 4
mov dword [ebp - 0x38], 0x400010
cmp dword [edx + 0xc], 0x80000000
je 0x4cb4de
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
cmp dword [edx + 0x18], 0x80000000
je 0x4cb508
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4cb503
mov esi, dword [edx + 0x1c]
xor ecx, ecx
movzx edi, byte [esi]
inc esi
or ecx, dword [edi*4 + 0x5bb5f0]
dec eax
jne 0x4cb4f3
jmp 0x4cb505
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov ebx, dword [edx + 8]
test ebx, ebx
mov dword [ebp - 0x28], ebx
je 0x4cb54b
cmp ebx, 0x20000000
jae 0x4cb5e5
mov edi, dword [edx + 4]
lea esi, [ebx*4]
push 4
pop ecx
mov edx, esi
call fcn.00422b99
test eax, eax
je 0x4cb5ee
xor edx, edx
mov ecx, dword [edi + edx*4]
mov dword [eax + edx*4], ecx
inc edx
cmp ebx, edx
jne 0x4cb53c
mov edx, ebx
jmp 0x4cb550
xor edx, edx
push 4
pop eax
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x24], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea eax, [ebp - 0x30]
push 0
push eax
push 0
push 0
push ecx
push 0
push 2
push 0x58e0e7
push 0
call dword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x4cb58b
mov ecx, dword [ebp - 0x20]
and dword [ecx], 0
mov dword [ecx + 4], eax
jmp 0x4cb5c9
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
lea esi, [ebp - 0x70]
inc edx
mov dword [esi - 8], edx
mov dword [esi - 4], edx
mov dword [ebp - 0x10], edx
mov dword [esi], eax
mov dword [esi + 4], ecx
push 0x10
pop ecx
call fcn.00422c40
movsd xmm0, qword [ebp - 0x78]
movsd xmm1, qword [ebp - 0x70]
mov ecx, dword [ebp - 0x20]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [ecx + 4], eax
mov byte [ecx], 4
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.004f1f91
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
or dword [ebp - 0x10], 0xffffffff
call fcn.004211c0
or dword [ebp - 0x10], 0xffffffff
push 4
pop ecx
mov edx, esi
call fcn.005367d0
push ebp
sub esp, 0x24
add ebp, 0xc
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.004f1f91
add esp, 0x24
pop ebp
ret
Function at 0x4cbc42
Capabilities:
Get remote cert context via schannel

Disassembly:
push esi
push eax
mov eax, esp
mov esi, ecx
and dword [eax], 0
push eax
push 0x53
push edx
call dword [sym.imp.secur32.dll_QueryContextAttributesW]
test eax, eax
je 0x4cbc61
and dword [esi], 0
mov dword [esi + 4], eax
jmp 0x4cbc6a
mov eax, dword [esp]
mov dword [esi + 4], eax
mov byte [esi], 4
add esp, 4
pop esi
ret