Function at 0x401fa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x42c014]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
push 0x428d34
push 0
call fcn.0040b637
mov eax, dword fs:[0x30]
add esp, 8
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
mov esi, edi
mov esi, dword [esi]
cmp dword [esi + 0x18], 0
je 0x40202c
mov edx, dword [esi + 0x30]
xor ecx, ecx
cmp word [edx], cx
je 0x402003
cmp ecx, 0x3f
jae 0x401ffa
mov al, byte [edx]
add edx, 2
mov byte [esp + ecx + 0x18], al
inc ecx
cmp word [edx], 0
jne 0x401fe5
cmp ecx, 0x40
jae 0x402208
xor edx, edx
mov byte [esp + ecx + 0x18], 0
cmp byte [esp + 0x18], dl
je 0x402018
inc edx
cmp byte [esp + edx + 0x18], 0
jne 0x402010
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401580
add esp, 4
cmp eax, 0x240dfbc0
je 0x402030
cmp edi, esi
jne 0x401fd3
mov ecx, dword [esi + 0x18]
lea eax, [esp + 8]
push eax
mov edx, 0xbe3d21a8
mov dword [0x42de0c], ecx
call fcn.00401370
mov eax, dword [esp + 0xc]
add esp, 4
add eax, 0xfffffffe
mov dword [0x42de04], eax
je 0x402084
push 0x1000
call fcn.00409433
mov esi, eax
add esp, 4
test esi, esi
je 0x40207c
push 0x1000
push 0
push esi
call fcn.004065d0
add esp, 0xc
mov dword [0x42de08], esi
jmp 0x40208a
mov esi, dword [0x42de08]
mov eax, dword [esi + 0xe4]
test eax, eax
jne 0x4020b2
push 0x5cc1ccbc
lea edx, [eax + 1]
xor ecx, ecx
call fcn.00401430
mov ecx, dword [0x42de08]
add esp, 4
mov dword [ecx + 0xe4], eax
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
lea ecx, [esp + 0x1c]
push ecx
call eax
test eax, eax
jne 0x4021a5
mov eax, dword [0x42de08]
mov eax, dword [eax + 0xe4]
test eax, eax
jne 0x4020fc
push 0x5cc1ccbc
lea edx, [eax + 1]
xor ecx, ecx
call fcn.00401430
mov ecx, dword [0x42de08]
add esp, 4
mov dword [ecx + 0xe4], eax
push 0xf0000008
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
lea ecx, [esp + 0x1c]
push ecx
call eax
test eax, eax
jne 0x4021a5
mov eax, dword [0x42de08]
mov eax, dword [eax + 0xe4]
test eax, eax
jne 0x402146
push 0x5cc1ccbc
lea edx, [eax + 1]
xor ecx, ecx
call fcn.00401430
mov ecx, dword [0x42de08]
add esp, 4
mov dword [ecx + 0xe4], eax
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
push 0
lea ecx, [esp + 0x1c]
push ecx
call eax
test eax, eax
jne 0x4021a5
mov eax, dword [0x42de08]
mov eax, dword [eax + 0xe4]
test eax, eax
jne 0x40218c
push 0x5cc1ccbc
lea edx, [eax + 1]
xor ecx, ecx
call fcn.00401430
mov ecx, dword [0x42de08]
add esp, 4
mov dword [ecx + 0xe4], eax
push 0xf0000008
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
push 0
lea ecx, [esp + 0x1c]
push ecx
call eax
test eax, eax
je 0x4021f2
mov eax, dword [0x42de08]
mov esi, dword [esp + 0xc]
mov eax, dword [eax + 0xe0]
test eax, eax
jne 0x4021d6
push 0xabcb0a67
lea edx, [eax + 1]
xor ecx, ecx
call fcn.00401430
mov ecx, dword [0x42de08]
add esp, 4
mov dword [ecx + 0xe0], eax
lea ecx, [esp + 0x10]
push ecx
push 4
push esi
call eax
lea eax, [esp + 0x10]
push eax
push str.BUFF:_t_s_n
call fcn.00401540
add esp, 8
mov ecx, dword [esp + 0x5c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00404ae4
mov esp, ebp
pop ebp
ret
call fcn.00404c14
int3