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

Disassembly:
sub esp, 0xf0
mov eax, dword [0x1007b430]
xor eax, esp
mov dword [esp + 0xec], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x100]
add edi, 0x1f
mov esi, ecx
mov ecx, dword [esi]
shl edi, 4
or eax, 0xffffffff
add edi, esi
cmp dword [esi + 0xf0], 2
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
jne 0x1003cd89
xor edx, edx
cmp dword [esi + 0x1ac], eax
setne dl
add edx, 0x21
shl edx, 4
cmp dword [edx + esi], 2
je 0x1003cd89
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x20], eax
jmp 0x1003cd93
mov ecx, dword [esi + 0x9c]
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 8]
xor edx, edx
cmp dword [edi + 4], 3
setne dl
xor ebp, ebp
mov dword [esp + 0x10], edx
cmp dword [eax], ebp
je 0x1003d2ba
cmp dword [eax + 4], ebp
je 0x1003d2ba
push ebx
mov ebx, 0x1000
cmp dword [eax + 0x30], ebp
jne 0x1003cdec
mov dword [eax + 0x28], ebp
mov eax, dword [edi + 8]
mov dword [eax + 0x20], ebx
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x20]
push edx
call dword [section..data]
mov ecx, dword [edi + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 8]
add esp, 4
cmp dword [eax + 0x30], ebp
je 0x1003d112
mov ecx, dword [eax + 0x2c]
cmp ecx, ebp
jne 0x1003ce26
mov dword [eax + 0x34], ebp
mov eax, dword [edi + 8]
mov dword [eax + 0x24], ebp
mov ecx, dword [edi + 8]
mov dword [ecx + 0x1c], ebx
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x1c]
push eax
call dword [section..data]
mov ecx, dword [edi + 8]
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x2c]
add esp, 4
cmp ecx, ebp
je 0x1003d112
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x1c]
sub eax, edx
cmp eax, 0x400
jae 0x1003ce72
lea ebx, [edx + 0x400]
push ebx
push ecx
call dword [0x1007b008]
add esp, 8
cmp eax, ebp
jne 0x1003ce66
mov ecx, dword [esp + 0x10]
push str.schannel:_unable_to_re_allocate_memory
push ecx
call fcn.100149a0
add esp, 8
mov eax, 0x1b
jmp 0x1003d0f9
mov edx, dword [edi + 8]
mov dword [edx + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [eax + 0x1c], ebx
cmp dword [esp + 0x14], ebp
je 0x1003cecf
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x20]
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x2c]
sub edx, ecx
push edx
add eax, ecx
mov ecx, dword [esp + 0x10c]
mov edx, dword [esi + ecx*4 + 0x1a8]
push eax
push edx
call fcn.100146c0
add esp, 0x10
cmp eax, 0x51
je 0x1003d0d1
cmp eax, ebp
jne 0x1003d0e2
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
je 0x1003d0e2
mov eax, dword [edi + 8]
add dword [eax + 0x24], ecx
mov eax, dword [edi + 8]
mov dword [eax + 0x34], ebp
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x24]
push edx
call fcn.100144a0
mov esi, eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x24]
push ecx
call dword [section..data]
mov ebx, 2
add esp, 8
lea edx, [esp + 0x28]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 0x11
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], 3
cmp eax, ebp
je 0x1003d112
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x2c]
push edx
push ecx
push eax
call fcn.1004b910
mov edx, dword [esp + 0x30]
add esp, 0xc
cmp edx, ebp
je 0x1003d1d2
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
lea esi, [ecx + 8]
push esi
lea esi, [eax + 0x3c]
push esi
lea esi, [esp + 0x78]
push esi
push ebp
push ebp
lea esi, [esp + 0x54]
push esi
mov esi, dword [eax + 0x38]
push ebp
push ebp
push esi
push edx
mov edx, dword [eax]
mov eax, dword [0x1007cbb8]
push ecx
mov ecx, dword [eax + 0x18]
push edx
call ecx
mov edx, dword [esp + 0x30]
mov esi, eax
push edx
mov dword [esp + 0x18], esi
call dword [0x1007b004]
add esp, 4
mov dword [esp + 0x30], ebp
cmp esi, 0x80090318
je 0x1003d12b
cmp esi, 0x90320
je 0x1003d0b2
cmp esi, 0x90312
je 0x1003cfed
cmp esi, ebp
jne 0x1003d13c
xor ebx, ebx
lea esi, [esp + 0x4c]
cmp dword [esi + 4], 2
jne 0x1003d039
mov eax, dword [esi]
cmp eax, ebp
jbe 0x1003d039
mov edx, dword [esi + 8]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x108]
push eax
mov eax, dword [esp + 0x20]
push edx
mov edx, dword [eax + ecx*4 + 0x1a8]
push edx
push eax
call fcn.10015050
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x1003d1dc
cmp dword [esi], eax
jne 0x1003d1dc
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x1003d04b
push eax
mov eax, dword [0x1007cbb8]
mov ecx, dword [eax + 0x40]
call ecx
inc ebx
add esi, 0xc
cmp ebx, 3
jl 0x1003cff3
cmp dword [esp + 0x38], 5
jne 0x1003d1fc
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
jbe 0x1003d1fc
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x24]
cmp edx, ecx
jbe 0x1003d202
mov eax, dword [eax + 0x2c]
mov esi, eax
sub esi, ecx
push ecx
add esi, edx
push esi
push eax
call fcn.10050100
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x40]
add esp, 0xc
cmp dword [esp + 0x14], 0x90312
mov dword [edx + 0x24], eax
jne 0x1003d210
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], ebp
jmp 0x1003ce72
mov eax, dword [edi + 8]
test byte [eax + 0x38], 0x80
jne 0x1003d14c
or dword [eax + 0x38], 0x80
mov dword [edi + 4], 3
xor eax, eax
jmp 0x1003d0f9
cmp dword [edi + 4], 3
je 0x1003d0de
mov dword [edi + 4], 2
xor eax, eax
jmp 0x1003d0f9
mov ecx, dword [esp + 0x10]
push str.schannel:_failed_to_receive_handshake__SSL_TLS_connection_failed
push ecx
call fcn.100149a0
add esp, 8
mov eax, 0x23
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.1004b8fc
add esp, 0xf0
ret
mov edx, dword [esp + 0x10]
push str.schannel:_unable_to_allocate_memory
push edx
call fcn.100149a0
add esp, 8
mov eax, 0x1b
jmp 0x1003d0f9
mov eax, dword [edi + 8]
mov dword [eax + 0x34], 1
mov dword [edi + 4], ebx
xor eax, eax
jmp 0x1003d0f9
cmp esi, 0x80090300
je 0x1003d1a8
cmp esi, 0x80090322
je 0x1003d174
push 0x80
lea ecx, [esp + 0x80]
push ecx
push esi
call fcn.1003f470
mov edx, dword [esp + 0x1c]
push eax
push str.schannel:_next_InitializeSecurityContext_failed:__s
push edx
call fcn.100149a0
add esp, 0x18
jmp 0x1003d0f4
push 0x80
lea eax, [esp + 0x80]
push eax
push 0x80090322
call fcn.1003f470
mov ecx, dword [esp + 0x1c]
push eax
push str.schannel:_SNI_or_certificate_check_failed:__s
push ecx
call fcn.100149a0
add esp, 0x18
mov eax, 0x3c
jmp 0x1003d0f9
push 0x80
lea edx, [esp + 0x80]
push edx
push 0x80090300
call fcn.1003f470
push eax
mov eax, dword [esp + 0x20]
push str.schannel:_next_InitializeSecurityContext_failed:__s
push eax
call fcn.100149a0
add esp, 0x18
mov eax, 0x1b
jmp 0x1003d0f9
lea ecx, [ebx + ebx*2]
mov edx, dword [esp + ecx*4 + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x18]
push str.schannel:_failed_to_send_next_handshake_data:_sent__zd_of__lu_bytes
push eax
call fcn.100149a0
add esp, 0x10
jmp 0x1003d0f4
mov ecx, dword [edi + 8]
mov dword [ecx + 0x24], ebp
cmp dword [esp + 0x14], 0x90312
je 0x1003d0d7
cmp dword [esp + 0x14], ebp
jne 0x1003d21d
mov dword [edi + 4], 4
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0xf0], 2
jne 0x1003d24e
xor edx, edx
cmp dword [ebx + 0x1ac], 0xffffffff
setne dl
add edx, 0x21
shl edx, 4
cmp dword [edx + ebx], 2
je 0x1003d24e
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x9a8]
jmp 0x1003d258
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + 0x9a4]
cmp esi, ebp
je 0x1003d28b
mov ecx, dword [esp + 0x104]
push ebx
call fcn.1003ca70
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x1003d28b
mov edx, dword [esp + 0x10]
push str.SSL:_public_key_does_not_match_pinned_public_key_
push edx
call fcn.100149a0
add esp, 8
mov eax, esi
jmp 0x1003d0f9
test byte [ebx + 0x258], 1
je 0x1003d0de
mov eax, dword [edi + 8]
cmp dword [eax + 0x50], ebp
je 0x1003d0de
mov ecx, dword [esp + 0x104]
push ecx
push ebx
call fcn.10048c60
add esp, 8
jmp 0x1003d0f9
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 0x23
call fcn.1004b8fc
add esp, 0xf0
ret