Function at 0x44ca90
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ac990
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
movdqa xmm0, xmmword [0x601bb0]
movdqu xmmword [esp + 0x34], xmm0
mov dword [esp + 0x30], vtable.DCAJson.0
xorps xmm0, xmm0
mov dword [esp + 0x54], 0
movdqu xmmword [esp + 0x44], xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
xor ebx, ebx
mov dword [esp + 0x1c], vtable.CDBase64.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x68], 1
call fcn.0044b390
mov edx, dword [ebp + 8]
test edx, edx
je 0x44ccc4
cmp dword [esp + 0x3c], ebx
jne 0x44ccc4
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44cb33
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.00439190
test eax, eax
je 0x44ccc4
push 0x5fff04
lea ecx, [esp + 0x34]
call fcn.00438f50
test eax, eax
je 0x44cb6c
push dword [eax + 0x24]
call fcn.00585978
add esp, 4
push 0x5ffef8
lea ecx, [esp + 0x34]
mov dword [edi + 0xc], eax
call fcn.00438f50
test eax, eax
je 0x44cb87
mov eax, dword [eax + 0x18]
and eax, 1
push 0x5ffee8
lea ecx, [esp + 0x34]
mov dword [edi + 0x84], eax
call fcn.00438f50
mov esi, 0x5ef390
test eax, eax
jne 0x44cba8
mov ecx, esi
jmp 0x44cbb2
mov eax, dword [eax + 0x24]
mov ecx, esi
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [edi + 0x14]
call fcn.00433400
push 0x5ffed0
lea ecx, [esp + 0x34]
call fcn.00438f50
test eax, eax
jne 0x44cbd4
mov ecx, 0x5ef390
jmp 0x44cbde
mov eax, dword [eax + 0x24]
mov ecx, esi
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [edi + 0x30]
call fcn.00433400
mov eax, dword [edi + 0x30]
test eax, eax
je 0x44ccbd
cmp dword [eax - 0xc], 0
je 0x44ccbd
push 0x5fff1c
lea ecx, [esp + 0x34]
call fcn.00438f50
mov edx, 0x5ef390
test eax, eax
je 0x44cc1b
mov eax, dword [eax + 0x24]
test eax, eax
cmovne edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44cc20
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00438c80
test eax, eax
je 0x44cd22
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44cd22
mov ebx, dword [esp + 0x20]
mov esi, dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
push eax
push ebx
push 0x10001
call esi
mov dword [edi + 0x10], eax
test eax, eax
je 0x44ccbd
push 0x5fff10
lea ecx, [esp + 0x34]
call fcn.00438f50
test eax, eax
je 0x44cd2f
mov eax, dword [eax + 0x24]
test eax, eax
je 0x44cd2f
cmp byte [eax], 0
je 0x44cd2f
push eax
lea ecx, [esp + 0x20]
call fcn.00438e40
test eax, eax
je 0x44cd22
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44cd22
mov ebx, dword [esp + 0x20]
push eax
push ebx
push 0x10001
call esi
mov dword [edi + 0xb4], eax
test eax, eax
jne 0x44cd2f
mov ecx, edi
call fcn.0044b390
xor esi, esi
mov dword [esp + 0x1c], vtable.CDBase64.0
test ebx, ebx
je 0x44ccf2
mov ecx, dword [esp + 0x2c]
mov eax, ebx
test ecx, ecx
je 0x44cce9
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x44cce0
push ebx
call fcn.00464246
add esp, 4
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.DCAJson.0
call fcn.00439290
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, edi
call fcn.0044b390
mov ebx, dword [esp + 0x20]
jmp 0x44ccc4
push 0x5fff34
lea ecx, [esp + 0x34]
call fcn.00438f50
mov ecx, eax
call fcn.00438f10
test eax, eax
je 0x44cd5e
cmp byte [eax], 0
je 0x44cd5e
push eax
lea ecx, [edi + 0x34]
call fcn.004513b0
test eax, eax
je 0x44ccbd
push 0x5fff78
lea ecx, [esp + 0x34]
call fcn.00438f50
mov ecx, eax
call fcn.00438f10
test eax, eax
je 0x44cd9e
cmp byte [eax], 0
je 0x44cd9e
push eax
lea ecx, [esp + 0x20]
call fcn.00438e40
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x44cd9e
push dword [esp + 0x24]
lea ecx, [edi + 0x88]
push ebx
call fcn.00432e90
push 0x5ffedc
lea ecx, [esp + 0x34]
call fcn.00438f50
mov ecx, eax
call fcn.00438f30
mov dword [edi + 0x18], eax
test eax, eax
js 0x44ccbd
cmp eax, 3
jg 0x44ccbd
jne 0x44ce3c
push 0x5fff28
lea ecx, [esp + 0x34]
call fcn.00438f50
mov esi, eax
test esi, esi
je 0x44ce3c
xor ecx, ecx
cmp dword [esi + 0x14], 1
sete cl
test ecx, ecx
je 0x44ce3c
cmp dword [esi + 8], 0
jle 0x44ce3c
mov ecx, esi
call fcn.0043aab0
test eax, eax
je 0x44ce3c
lea eax, [edi + 0x1c]
mov edi, eax
mov ecx, esi
call fcn.0043aae0
mov ecx, eax
call fcn.00438f10
push eax
lea ecx, [esp + 0x14]
call fcn.00433170
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0041d170
lea ecx, [esp + 0x10]
call fcn.004331d0
mov ecx, esi
call fcn.0043aab0
test eax, eax
jne 0x44ce00
mov edi, dword [esp + 0x18]
push 0x5fff58
lea ecx, [esp + 0x34]
call fcn.00438f50
mov esi, eax
test esi, esi
je 0x44ceb3
xor ecx, ecx
cmp dword [esi + 0x14], 1
sete cl
test ecx, ecx
je 0x44ceb3
cmp dword [esi + 8], 0
jle 0x44ceb3
mov ecx, esi
call fcn.0043aab0
test eax, eax
je 0x44ceb3
lea eax, [edi + 0x70]
mov dword [esp + 0x14], eax
mov edi, eax
mov ecx, esi
call fcn.0043aae0
mov ecx, eax
call fcn.00438f10
push eax
lea ecx, [esp + 0x18]
call fcn.00433170
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call fcn.0041d170
lea ecx, [esp + 0x14]
call fcn.004331d0
mov ecx, esi
call fcn.0043aab0
test eax, eax
jne 0x44ce77
mov edi, dword [esp + 0x18]
push 0x5fff44
lea ecx, [esp + 0x34]
call fcn.00438f50
mov ecx, eax
call fcn.00438f10
lea ecx, [edi + 0x98]
mov esi, eax
call fcn.0044dcb0
push esi
lea ecx, [edi + 0x98]
call fcn.0044e0f0
mov esi, 1
jmp 0x44ccc6