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

Disassembly:
push 0xffffffffffffffff
push 0x47eb4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x100
mov eax, dword [0x4a8ae4]
xor eax, esp
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x120]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edi
xor ebx, ebx
xor esi, esi
cmp edi, ebx
mov dword [esp + 0x118], ebx
je 0x427a62
nop
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov esi, eax
cmp esi, ebx
je 0x427a62
mov ecx, dword [esi + 0xc]
push 1
lea eax, [esp + 0x17]
push eax
push ecx
push 0x10001
call dword [sym.imp.CRYPT32.dll_CertGetIntendedKeyUsage]
test eax, eax
je 0x427620
test byte [esp + 0x13], 0x20
je 0x427620
mov byte [esp + 0x12], 1
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
xor edi, edi
cmp ecx, ebx
mov byte [esp + 0x118], 1
jle 0x4276de
mov edx, dword [eax + 8]
movzx eax, byte [edx + edi]
push eax
lea ecx, [esp + 0xf0]
push 0x48bf00
push ecx
call fcn.0044ac37
lea edx, [esp + 0xf8]
push edx
call fcn.00449da9
add esp, 0x10
push eax
lea eax, [esp + 0xf0]
push eax
push ebx
lea ecx, [esp + 0x80]
call fcn.004257c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
call fcn.00401f80
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
inc edi
cmp edi, ecx
jl 0x427683
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x18]
push ecx
add edx, 0x28
push edx
call edi
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x34]
push eax
add ecx, 0x20
push ecx
call edi
mov eax, 0x3b
mov word [esp + 0x22], ax
mov word [esp + 0x24], ax
mov ax, word [esp + 0x34]
cmp ax, 0x76c
mov word [esp + 0x3c], bx
mov word [esp + 0x3e], bx
mov word [esp + 0x40], 1
mov word [esp + 0x20], 0x17
jae 0x42773a
mov dword [esp + 0x54], ebx
xor edi, edi
jmp 0x427765
movzx edx, word [esp + 0x3a]
movzx ecx, word [esp + 0x36]
push 0xffffffffffffffff
push 1
push ebx
push ebx
push edx
movzx edx, ax
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.00419760
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov ax, word [esp + 0x18]
cmp ax, 0x76c
jae 0x427778
mov dword [esp + 0x5c], ebx
xor ebp, ebp
jmp 0x4277b1
movzx ecx, word [esp + 0x24]
movzx edx, word [esp + 0x22]
push 0xffffffffffffffff
push ecx
movzx ecx, word [esp + 0x28]
push edx
movzx edx, word [esp + 0x2a]
push ecx
movzx ecx, word [esp + 0x2a]
push edx
movzx edx, ax
push ecx
push edx
lea ecx, [esp + 0x60]
call fcn.00419760
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x5c], eax
push ebx
call fcn.0044b51f
add esp, 4
cmp edi, edx
jl 0x4277cb
jg 0x4277c6
cmp dword [esp + 0x54], eax
jbe 0x4277cb
mov byte [esp + 0x12], 0
cmp ebp, edx
jg 0x4277dc
jl 0x4277d7
cmp dword [esp + 0x5c], eax
jae 0x4277dc
mov byte [esp + 0x12], 0
xor ecx, ecx
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x2c]
push ecx
push ebx
xor edx, edx
push ebx
mov dword [esp + 0x74], edx
lea edx, [esp + 0x70]
push edx
push ebx
push ebx
push esi
xor eax, eax
push ebx
mov dword [esp + 0x84], 0x10
mov dword [esp + 0x8c], eax
call dword [sym.imp.CRYPT32.dll_CertGetCertificateChain]
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x42781f
cmp dword [eax + 4], ebx
je 0x427824
mov byte [esp + 0x12], 0
cmp eax, ebx
je 0x42782f
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateChain]
mov al, byte [esp + 0x12]
test al, al
je 0x427a23
mov ebp, dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
push ebx
push ebx
push str.2.5.4.3
push ebx
push 3
push esi
call ebp
mov edi, eax
lea eax, [edi + edi]
push eax
call fcn.004620d8
add esp, 4
push edi
mov ebx, eax
push ebx
push 0
push 0
push 4
push esi
call ebp
push 0
push 0
push str.2.5.4.3
push 1
push 3
push esi
call ebp
lea ecx, [eax + eax]
push ecx
mov dword [esp + 0x18], eax
call fcn.004620d8
mov edx, dword [esp + 0x18]
add esp, 4
push edx
mov edi, eax
push edi
push 0
push 1
push 4
push esi
call ebp
movzx eax, word [esp + 0x18]
movzx ecx, word [esp + 0x1e]
movzx edx, word [esp + 0x1a]
push eax
push ecx
push edx
lea eax, [esp + 0x100]
push str._i__i__i
push eax
call fcn.0044ac37
mov ebp, dword [esp + 0x3c]
add esp, 0x14
push 0
push 0
push 0
push 0
push 0x489aa4
push 0
add ebp, 0xbc
push 1
mov ecx, ebp
call fcn.0045b145
push 0
push 0
push 0
push 0
push ebx
push 1
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.0045b191
push 0
push 0
push 0
push 0
push edi
push 1
mov ecx, dword [esp + 0x2c]
push 2
push ecx
mov ecx, ebp
call fcn.0045b191
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x104]
push edx
push 1
push 3
push eax
mov ecx, ebp
call fcn.0045b191
xor ebp, ebp
mov eax, 7
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], ebp
mov word [esp + 0x94], bp
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], ebp
mov word [esp + 0xb0], bp
mov dword [esp + 0xe0], eax
mov dword [esp + 0xdc], ebp
mov word [esp + 0xcc], bp
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x124], 2
call fcn.00401f80
push edi
call fcn.00449da9
add esp, 4
push eax
push edi
lea ecx, [esp + 0xb4]
call fcn.00401d60
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x12c]
push edx
lea ecx, [esp + 0xd4]
call fcn.00401f80
mov eax, dword [esp + 0x140]
push 1
sub esp, 0x5c
lea edx, [esp + 0xf0]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
mov dword [esp + 0x148], eax
mov byte [esp + 0x14c], 0
call fcn.004260a0
mov ecx, dword [esp + 0x88]
push ebp
add ecx, 0x70
call fcn.00427420
push ebx
call fcn.004620d3
push edi
call fcn.004620d3
add esp, 8
lea ecx, [esp + 0x90]
call fcn.00425580
xor ebx, ebx
cmp dword [esp + 0x8c], 8
mov byte [esp + 0x118], 0
jb 0x427a42
mov eax, dword [esp + 0x78]
push eax
call fcn.004620d3
add esp, 4
mov edi, dword [esp + 0x30]
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
jmp 0x427620
cmp dword [esp + 0x13c], 8
jb 0x427a7c
mov ecx, dword [esp + 0x128]
push ecx
call fcn.004620d3
add esp, 4
mov ecx, dword [esp + 0x110]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x104]
pop ebp
pop ebx
xor ecx, esp
call fcn.0044a318
add esp, 0x10c
ret 0x24