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

Disassembly:
push 0xffffffffffffffff
push 0x1016ae19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x904
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x54]
call fcn.10154190
mov eax, dword [esp + 0x92c]
mov esi, dword [esp + 0x924]
push eax
push esi
lea ecx, [esp + 0x5c]
xor ebp, ebp
push str._s_cache_CTL__s.stl
push ecx
mov dword [esp + 0x92c], ebp
call fcn.101552a0
mov eax, dword [esp + 0x944]
add esp, 0x10
cmp eax, ebp
je 0x1001b1e1
mov byte [eax], 0
lea ecx, [esp + 0x14]
call fcn.10154190
lea ecx, [esp + 0x104]
mov byte [esp + 0x91c], 1
call fcn.10156a30
lea edx, [esi + 0x100]
lea ecx, [esp + 0x104]
push edx
mov byte [esp + 0x920], 2
call fcn.10156a70
test eax, eax
push ebp
jle 0x1001b27f
mov eax, dword [esp + 0x92c]
push ebp
push ebp
push 0x1019b960
push eax
push ebp
push 0x177f
push esi
call fcn.10013000
add esp, 0x20
lea ecx, [esp + 0x104]
mov byte [esp + 0x91c], 1
call fcn.10156a60
lea ecx, [esp + 0x14]
mov byte [esp + 0x91c], 0
call fcn.10154250
lea ecx, [esp + 0x54]
mov dword [esp + 0x91c], 0xffffffff
call fcn.10154250
mov eax, 0x177f
jmp 0x1001b902
push str.CA_INFO_COUNT
push str.VALIDATOIN_OPTION
lea ecx, [esp + 0x110]
call fcn.10156c20
mov edi, eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x68], edi
call fcn.10154190
cmp edi, ebp
mov byte [esp + 0x91c], 3
jle 0x1001b5c6
mov bl, 4
lea ecx, [esp + 0x2c]
call fcn.10154190
inc ebp
lea ecx, [esp + 0x2c]
push ebp
push str.CA_INFO_d
push ecx
mov byte [esp + 0x928], bl
call fcn.101552a0
add esp, 0xc
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x708]
push 0x101d18f0
lea edx, [esp + 0x70c]
rep stosd dword es:[edi], eax
push 0x200
push edx
push str.CA_DN
lea ecx, [esp + 0x3c]
call fcn.10154a90
push eax
lea ecx, [esp + 0x118]
call fcn.10156c80
test eax, eax
je 0x1001b3be
lea eax, [esp + 0x708]
lea ecx, [esp + 0xa8]
push eax
call fcn.101541b0
mov ecx, dword [esp + 0x92c]
mov byte [esp + 0x91c], 5
push ecx
lea ecx, [esp + 0x98]
call fcn.101541b0
lea edx, [esp + 0xa8]
lea eax, [esp + 0x94]
push edx
push eax
mov byte [esp + 0x924], 6
call fcn.10085840
add esp, 8
test eax, eax
jle 0x1001b40c
lea ecx, [esp + 0x94]
mov byte [esp + 0x91c], 5
call fcn.10154250
lea ecx, [esp + 0xa8]
mov byte [esp + 0x91c], bl
call fcn.10154250
lea ecx, [esp + 0x2c]
mov byte [esp + 0x91c], 3
call fcn.10154250
cmp ebp, dword [esp + 0x68]
jl 0x1001b2b6
jmp 0x1001b5c6
push str.CA_DN
lea ecx, [esp + 0x30]
call fcn.10154a90
push eax
lea ecx, [esp + 0x1c]
push 0x1019b8f0
push ecx
call fcn.101552a0
add esp, 0x10
lea ecx, [esp + 0x14]
push 0
push 0
push 0
call fcn.10154a90
mov edx, dword [esp + 0x934]
push eax
push edx
push 0
push 0x1780
push esi
call fcn.10013000
add esp, 0x20
jmp 0x1001b507
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x308]
push 0x101d18f0
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0x50c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30c]
push 0x200
push eax
push str.DIR_URL
lea ecx, [esp + 0x3c]
call fcn.10154a90
push eax
lea ecx, [esp + 0x118]
call fcn.10156c80
test eax, eax
jne 0x1001b462
push str.DIR_URL
jmp 0x1001b49c
push 0x101d18f0
lea eax, [esp + 0x50c]
push 0x200
push eax
push str.CTL_DN
lea ecx, [esp + 0x3c]
call fcn.10154a90
push eax
lea ecx, [esp + 0x118]
call fcn.10156c80
test eax, eax
jne 0x1001b56c
push str.CTL_DN
lea ecx, [esp + 0x30]
call fcn.10154a90
push eax
lea ecx, [esp + 0x1c]
push 0x1019b8f0
push ecx
call fcn.101552a0
add esp, 0x10
lea ecx, [esp + 0x14]
push 0
push 0
push 0
call fcn.10154a90
mov edx, dword [esp + 0x934]
push eax
push edx
push 0
push 0x1780
push esi
call fcn.10013000
add esp, 0x20
lea ecx, [esp + 0x94]
mov byte [esp + 0x91c], 5
call fcn.10154250
lea ecx, [esp + 0xa8]
mov byte [esp + 0x91c], bl
call fcn.10154250
lea ecx, [esp + 0x2c]
mov byte [esp + 0x91c], 3
call fcn.10154250
lea ecx, [esp + 0x40]
mov byte [esp + 0x91c], 2
call fcn.10154250
lea ecx, [esp + 0x104]
mov byte [esp + 0x91c], 1
call fcn.10156a60
lea ecx, [esp + 0x14]
mov byte [esp + 0x91c], 0
call fcn.10154250
lea ecx, [esp + 0x54]
mov dword [esp + 0x91c], 0xffffffff
call fcn.10154250
mov eax, 0x1780
jmp 0x1001b902
lea eax, [esp + 0x508]
lea ecx, [esp + 0x308]
push eax
push ecx
lea edx, [esp + 0x48]
push 0x1019b8d8
push edx
call fcn.101552a0
add esp, 0x10
lea ecx, [esp + 0x94]
mov byte [esp + 0x91c], 5
call fcn.10154250
lea ecx, [esp + 0xa8]
mov byte [esp + 0x91c], bl
call fcn.10154250
lea ecx, [esp + 0x2c]
mov byte [esp + 0x91c], 3
call fcn.10154250
lea ecx, [esp + 0x40]
call fcn.10154280
test eax, eax
jne 0x1001b66d
mov eax, dword [esp + 0x92c]
lea ecx, [esp + 0x14]
push eax
push 0x1019b8a8
push ecx
call fcn.101552a0
add esp, 0xc
lea ecx, [esp + 0x14]
push 0
push 0
push 0
call fcn.10154a90
mov edx, dword [esp + 0x934]
push eax
push edx
push 0
push 0x1781
push esi
call fcn.10013000
add esp, 0x20
lea ecx, [esp + 0x40]
mov byte [esp + 0x91c], 2
call fcn.10154250
lea ecx, [esp + 0x104]
mov byte [esp + 0x91c], 1
call fcn.10156a60
lea ecx, [esp + 0x14]
mov byte [esp + 0x91c], 0
call fcn.10154250
lea ecx, [esp + 0x54]
mov dword [esp + 0x91c], 0xffffffff
call fcn.10154250
mov eax, 0x1781
jmp 0x1001b902
lea ecx, [esp + 0x6c]
call fcn.10154190
lea ecx, [esp + 0x80]
mov byte [esp + 0x91c], 7
call fcn.10154190
mov bl, 8
lea ecx, [esp + 0xbc]
mov byte [esp + 0x91c], bl
call fcn.10154190
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x80]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x74]
push edx
lea ecx, [esp + 0x34]
push eax
xor ebp, ebp
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0x930], 9
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], ebp
call fcn.10154a90
mov edi, dword [esp + 0x93c]
push eax
push edi
push esi
call fcn.1003c500
add esp, 0x20
test eax, eax
je 0x1001b6fa
mov esi, dword [esi + 0x218]
jmp 0x1001b7a8
cmp dword [esp + 0x28], 1
jne 0x1001b73f
mov edx, dword [esp + 0x930]
lea ecx, [esp + 0x80]
push edx
call fcn.10154a90
push eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x78]
call fcn.10154a90
push eax
push edi
push esi
call fcn.1003da00
add esp, 0x18
test eax, eax
je 0x1001b87e
mov esi, dword [esi + 0x218]
jmp 0x1001b7a8
lea ecx, [esp + 0xd0]
call fcn.1006db10
lea ecx, [esp + 0xd0]
mov byte [esp + 0x91c], 0xa
push ecx
push str.certificatetrustlist
lea ecx, [esp + 0x88]
call fcn.10154a90
mov edx, dword [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x7c]
call fcn.10154a90
push eax
push edi
push esi
call fcn.1003d740
add esp, 0x1c
test eax, eax
je 0x1001b831
mov esi, dword [esi + 0x218]
lea ecx, [esp + 0xd0]
mov byte [esp + 0x91c], 9
call fcn.1006db50
lea ecx, [esp + 0xbc]
mov byte [esp + 0x91c], bl
call fcn.10154250
lea ecx, [esp + 0x80]
mov byte [esp + 0x91c], 7
call fcn.10154250
lea ecx, [esp + 0x6c]
mov byte [esp + 0x91c], 3
call fcn.10154250
lea ecx, [esp + 0x40]
mov byte [esp + 0x91c], 2
call fcn.10154250
lea ecx, [esp + 0x104]
mov byte [esp + 0x91c], 1
call fcn.10156a60
lea ecx, [esp + 0x14]
mov byte [esp + 0x91c], 0
call fcn.10154250
lea ecx, [esp + 0x54]
mov dword [esp + 0x91c], 0xffffffff
call fcn.10154250
mov eax, esi
jmp 0x1001b902
mov esi, dword [esp + 0x938]
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x1001b850
lea ecx, [esp + 0xd0]
call fcn.1006e010
mov dword [esi], eax
push ebp
jmp 0x1001b851
push eax
lea ecx, [esp + 0xd4]
call fcn.1006dea0
mov ecx, dword [esp + 0x930]
push eax
call fcn.101546c0
lea ecx, [esp + 0xd0]
mov byte [esp + 0x91c], 9
call fcn.1006db50
lea ecx, [esp + 0xbc]
mov byte [esp + 0x91c], bl
call fcn.10154250
lea ecx, [esp + 0x80]
mov byte [esp + 0x91c], 7
call fcn.10154250
lea ecx, [esp + 0x6c]
mov byte [esp + 0x91c], 3
call fcn.10154250
lea ecx, [esp + 0x40]
mov byte [esp + 0x91c], 2
call fcn.10154250
lea ecx, [esp + 0x104]
mov byte [esp + 0x91c], 1
call fcn.10156a60
lea ecx, [esp + 0x14]
mov byte [esp + 0x91c], 0
call fcn.10154250
lea ecx, [esp + 0x54]
mov dword [esp + 0x91c], 0xffffffff
call fcn.10154250
xor eax, eax
mov ecx, dword [esp + 0x914]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x910
ret