Function at 0x427440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48de8b
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x78]
test ebx, ebx
jne 0x427473
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
push ebp
mov ebp, dword [esp + 0x84]
push esi
push edi
push ebp
call fcn.00427110
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4274e4
push 0x14
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
mov dword [esp + 0x7c], 0
je 0x4274c4
lea eax, [esp + 0x84]
lea ecx, [esi + 4]
push eax
mov dword [esi], 0
call fcn.00427950
mov eax, esi
jmp 0x4274c6
xor eax, eax
test eax, eax
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x10], eax
je 0x427827
push eax
push ebp
call fcn.00427120
add esp, 8
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x88]
mov dword [esi], ecx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add esi, 4
push ecx
push eax
push eax
call fcn.00428420
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.00427a10
mov dword [esi + 8], edi
mov edx, dword [ebx + 0x10]
mov esi, dword [edx]
test esi, esi
mov dword [esp + 0x18], esi
je 0x427827
push 0x400
lea ecx, [esp + 0x24]
call fcn.0042ee00
mov eax, dword [esi + 0xc]
mov dword [esp + 0x7c], 1
test eax, eax
mov dword [esp + 0x1c], 0x14
mov dword [esp + 0x14], 0
jbe 0x42780f
mov ebx, dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x42780f
mov esi, dword [eax + 4]
test esi, esi
je 0x42780f
mov dl, byte [esp + 0x8c]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.004279c0
lea eax, [esp + 0x84]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x80], 2
call fcn.00427950
lea ecx, [esp + 0x88]
mov byte [esp + 0x7c], 3
push ecx
lea ecx, [esp + 0x68]
call fcn.00427950
xor edx, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
push edx
push edx
push edx
push edx
push 4
push esi
mov byte [esp + 0x94], 4
call ebx
mov ebp, eax
lea ecx, [esp + 0x20]
lea eax, [ebp + ebp]
push eax
call fcn.0042eed0
test eax, eax
jle 0x4277d9
lea ecx, [esp + 0x20]
call fcn.00441be0
mov edi, eax
push ebp
push edi
push 0
push 0
push 4
push esi
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x54]
push 1
push ebp
call fcn.00427a60
test al, al
je 0x42764a
mov ecx, dword [esp + 0x58]
push ebp
push edi
push ecx
call fcn.00427920
add esp, 0xc
lea ecx, [esp + 0x54]
push ebp
call fcn.00427a40
push 0
push 0
push 0
push 1
push 4
push esi
call ebx
mov ebp, eax
lea ecx, [esp + 0x20]
lea edx, [ebp + ebp]
push edx
call fcn.0042eed0
test eax, eax
jle 0x4277bf
lea ecx, [esp + 0x20]
call fcn.00441be0
mov edi, eax
push ebp
push edi
push 0
push 1
push 4
push esi
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x44]
push 1
push ebp
call fcn.00427a60
test al, al
je 0x4276ba
mov eax, dword [esp + 0x48]
push ebp
push edi
push eax
call fcn.00427920
add esp, 0xc
lea ecx, [esp + 0x44]
push ebp
call fcn.00427a40
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
push ecx
push edx
push 3
push esi
call dword [sym.imp.CRYPT32.dll_CertGetCertificateContextProperty]
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4277a5
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x20]
lea eax, [ebp + ebp + 0x64]
push eax
call fcn.0042eed0
test eax, eax
jle 0x42773a
lea ecx, [esp + 0x20]
call fcn.00441be0
mov ecx, dword [esi + 8]
push 1
mov edi, eax
push ebp
push ecx
push edi
call fcn.0042bae0
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
mov esi, eax
lea ecx, [esp + 0x64]
push 1
push esi
call fcn.00427a60
test al, al
je 0x42773a
mov edx, dword [esp + 0x68]
push esi
push edi
push edx
call fcn.00427920
add esp, 0xc
lea ecx, [esp + 0x64]
push esi
call fcn.00427a40
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
push edx
push 1
lea ecx, [eax + 4]
mov eax, dword [eax + 0xc]
push eax
call fcn.00427ba0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 0xc
call fcn.004279c0
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 0xb
call fcn.004279c0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 1
call fcn.004279c0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc eax
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
cmp eax, edx
jae 0x42780f
mov esi, ecx
jmp 0x42755e
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 0xa
call fcn.004279c0
mov byte [esp + 0x7c], 9
jmp 0x4277f1
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 8
call fcn.004279c0
mov byte [esp + 0x7c], 7
jmp 0x4277f1
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x80], 6
call fcn.004279c0
mov byte [esp + 0x7c], 5
push 1
lea ecx, [esp + 0x58]
call fcn.004279c0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 1
call fcn.004279c0
lea ecx, [esp + 0x20]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0042ee50
mov ebp, dword [esp + 0x8c]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
je 0x42784a
mov ecx, dword [ecx + 0xc]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
jne 0x427853
mov dword [ebp], 0
jmp 0x42785a
mov dword [ebp], 3
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret