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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x30
test byte [eax + 0x58], 1
push esi
je 0x1001f68a
mov eax, dword [eax + 0x18]
mov esi, dword [eax + 0xd4]
test byte [esi + 0x536], 0x10
je 0x1001f68a
mov esi, dword [esi + 0x530]
lea eax, [ebp - 0x30]
push 0x20000010
push eax
push dword [ebp + 0xc]
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp dword [esi + 0xc], 0
je 0x1001f349
push closesocket
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0xc]
lea eax, [ebp - 0x18]
push dword [esi + 8]
push eax
call fcn.1006b600
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp word [esi + 0x10], 0
je 0x1001f3c8
cmp dword [esi + 0x18], 0
je 0x1001f3c8
cmp dword [esi + 0x20], 0
je 0x1001f3c8
push 0xa0000001
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
movzx eax, word [esi + 0x10]
cdq
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1006b520
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x18]
lea eax, [ebp - 0x18]
push dword [esi + 0x14]
push eax
call fcn.1006b2f0
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x20]
lea eax, [ebp - 0x18]
push dword [esi + 0x1c]
push eax
call fcn.1006b2f0
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp word [esi + 0x24], 0
je 0x1001f46d
cmp dword [esi + 0x2c], 0
je 0x1001f46d
cmp dword [esi + 0x3c], 0
je 0x1001f46d
push 0xa0000002
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
movzx eax, word [esi + 0x24]
cdq
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1006b520
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x2c]
lea eax, [ebp - 0x18]
push dword [esi + 0x28]
push eax
call fcn.1006b2f0
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x34]
lea eax, [ebp - 0x18]
push dword [esi + 0x30]
push eax
call fcn.1006b2f0
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x3c]
lea eax, [ebp - 0x18]
push dword [esi + 0x38]
push eax
call fcn.1006b2f0
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp dword [esi + 0x44], 0
je 0x1001f4aa
push reloc.WS2_32.dll_closesocket
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x44]
lea eax, [ebp - 0x18]
push dword [esi + 0x40]
push eax
call fcn.1006b600
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp byte [esi + 0x48], 0
je 0x1001f4cd
push 0x80000004
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp word [esi + 0x4a], 0
je 0x1001f54c
cmp dword [esi + 0x50], 0
je 0x1001f54c
cmp dword [esi + 0x58], 0
je 0x1001f54c
push 0x80000005
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
movzx eax, word [esi + 0x4a]
cdq
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1006b520
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x50]
lea eax, [ebp - 0x18]
push dword [esi + 0x4c]
push eax
call fcn.1006b2f0
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x58]
lea eax, [ebp - 0x18]
push dword [esi + 0x54]
push eax
call fcn.1006b2f0
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp dword [esi + 4], 0
je 0x1001f588
push 0x80000006
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 4]
lea eax, [ebp - 0x18]
push dword [esi]
push eax
call fcn.1006b600
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp word [esi + 0x5c], 0
je 0x1001f607
cmp dword [esi + 0x64], 0
je 0x1001f607
cmp dword [esi + 0x6c], 0
je 0x1001f607
push 0x20000007
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
movzx eax, word [esi + 0x5c]
cdq
push edx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1006b520
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x64]
lea eax, [ebp - 0x18]
push dword [esi + 0x60]
push eax
call fcn.1006b2f0
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x6c]
lea eax, [ebp - 0x18]
push dword [esi + 0x68]
push eax
call fcn.1006b2f0
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp dword [esi + 0x74], 0
je 0x1001f63c
push 0x80000008
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [esi + 0x74]
lea eax, [ebp - 0x18]
push dword [esi + 0x70]
push eax
call fcn.1006b600
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp byte [esi + 0x78], 0
je 0x1001f65b
push 0x80000009
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
cmp byte [esi + 0x79], 0
je 0x1001f67a
push 0x8000000a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1006b100
add esp, 0xc
test eax, eax
je 0x1001f6a2
push dword [ebp + 0xc]
call fcn.1006b980
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
push 0x367
push str.C:_boringssl_x86_sslhandoff.cc
push 0x42
push 0
push 0x10
call fcn.10068920
add esp, 0x14
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret