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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb0
lea eax, [edx + 0x24]
mov edi, edx
lea ebp, [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp], edx
mov dword [esp + 0xa0], eax
lea eax, [edx + 0x80]
mov dword [esp + 0x64], eax
lea eax, [edx + 0x2c]
mov dword [esp + 0xa8], eax
lea eax, [edx + 4]
mov dword [esp + 0x88], eax
lea eax, [edx + 0x70]
mov dword [esp + 0xa4], eax
movzx eax, byte [edi + 0x20]
test eax, eax
jne 0x43f5e7
mov cl, byte [edi + 0x23]
mov al, byte [edi + 0x22]
mov bh, byte [edi + 0x21]
mov bl, byte [edi + 0x24]
mov edx, edi
mov byte [esp + 7], cl
mov ecx, ebp
mov byte [esp + 0x18], al
call fcn.0043f710
cmp byte [esp + 0x2c], 4
jne 0x43ec6e
mov eax, dword [esp + 0x30]
jmp 0x43ec7f
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp cl, 4
jne 0x43f627
test eax, eax
je 0x43ec8f
cmp byte [edi + 0x20], 0
jne 0x43ec93
mov byte [edi + 0x21], 1
jmp 0x43ec93
test bh, bh
je 0x43ecba
mov edx, dword [edi + 0x1c]
mov ecx, ebp
call fcn.0043f81b
cmp byte [esp + 0x2c], 4
je 0x43ecb0
mov eax, dword [esp + 0x2c]
cmp al, 4
jne 0x43f656
cmp byte [edi + 0x20], 0
jne 0x43ecba
mov byte [edi + 0x21], 0
or bl, byte [esp + 7]
mov dword [esp + 0x10], esi
jne 0x43f155
cmp byte [edi + 0xb6], 0
je 0x43ecd8
xor ebx, ebx
jmp 0x43f141
mov edx, dword [esp + 0x64]
mov ecx, ebp
call fcn.00476ff9
cmp byte [esp + 0x2c], 4
je 0x43ed01
cmp byte [esp + 0x18], 0
je 0x43ed01
mov ecx, ebp
call fcn.0043fc2d
mov dl, 4
xor ebx, ebx
jmp 0x43f138
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dl, 4
jne 0x43ed9d
mov dword [esp + 8], ecx
mov ecx, dword [ecx + 0x10]
call fcn.004768ec
mov dword [esp + 0x14], eax
test eax, eax
mov eax, dword [edi]
je 0x43edb5
mov esi, edx
test eax, eax
je 0x43edde
mov eax, dword [esp + 0x88]
and dword [esp + 0x2c], 0
mov dword [esp + 0x34], eax
mov ecx, ebp
call fcn.0047694e
test eax, eax
je 0x43edc6
mov ebp, edx
lea ecx, [esp + 0x50]
mov edx, esi
push ebp
call fcn.00476917
pop eax
cmp byte [esp + 0x50], 4
jne 0x43ed78
mov ebx, dword [esp + 0x54]
mov ecx, edi
and ecx, 0xffffff00
or ecx, 4
jmp 0x43ed80
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
cmp cl, 4
jne 0x43ef42
mov edi, ecx
push ebx
mov ebx, dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call ebx
push ebp
call ebx
lea ebp, [esp + 0x2c]
jmp 0x43ed46
mov eax, edx
mov bl, dh
shrd eax, ecx, 0x10
shr ecx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x43f138
test eax, eax
je 0x43edc2
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
mov esi, eax
jmp 0x43ede5
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.004769a0
cmp dword [esp + 0x14], 0
lea ebp, [esp + 0x2c]
je 0x43ede5
mov ecx, esi
call fcn.00476905
mov edi, dword [esp]
mov ecx, dword [esp + 8]
and dword [esp + 0x78], 0
lea eax, [esp + 0x50]
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 3
mov dword [esp + 0x50], str.1.3.6.1.5.5.7.3.1
mov dword [esp + 0x54], str.1.3.6.1.4.1.311.10.3.3
mov dword [esp + 0x58], str.2.16.840.1.113730.4.1
mov dword [esp + 0x38], eax
lea eax, [esp + 0x78]
push eax
push 0
push 0xc0000001
push ebp
push esi
push 0
push ecx
push 0
call dword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x43ef29
mov eax, dword [esp + 0x78]
cmp dword [edi], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], eax
je 0x43ef22
lea ecx, [esp + 0x50]
lea edx, [esp + 0x74]
call fcn.00476812
cmp dword [esp + 0x50], 0
je 0x43ef22
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x78], ecx
and dword [esp + 0x7c], 0
lea ecx, [esp + 0x78]
call fcn.004768a9
mov esi, edx
cmp eax, 1
jne 0x43ef88
mov eax, dword [esp + 0x88]
mov dword [esp + 0x34], eax
and dword [esp + 0x2c], 0
mov ecx, ebp
call fcn.0047694e
mov edi, eax
mov ebp, edx
cmp eax, 1
jne 0x43eeee
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
push dword [esi + 8]
push dword [esi + 4]
call fcn.00444fe9
pop ecx
pop edx
mov ebx, eax
push ebp
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test bl, bl
lea ebp, [esp + 0x2c]
je 0x43eeb8
jmp 0x43eefb
mov ecx, edi
mov edx, ebp
call fcn.004769a0
lea ebp, [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.004769a0
push esi
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp edi, 1
mov edi, dword [esp]
jne 0x43ee94
mov esi, 0xf10
jmp 0x43ef96
mov esi, 0xf00
jmp 0x43efa0
call sub.kernel32.dll_GetLastError
mov ecx, eax
shl eax, 0x10
xor ebx, ebx
mov dword [esp + 0x14], 0
jmp 0x43f0f3
mov eax, ecx
shrd eax, ebx, 0x10
shr ebx, 0x10
mov dword [esp + 0x28], eax
push ebp
mov edi, ecx
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.004769a0
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.0043cc0f
mov eax, edi
mov dword [esp + 0x14], edi
mov edi, dword [esp]
mov dword [esp + 0x24], ebx
lea ebp, [esp + 0x2c]
mov bl, ah
jmp 0x43f0fe
mov ecx, eax
mov edx, esi
call fcn.004769a0
mov esi, 0xf00
push dword [esp + 0x6c]
call dword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [edi + 0x94]
and dword [esp + 0x84], 0
and dword [esp + 0x80], 0
mov dword [esp + 0x78], 0x10
mov dword [esp + 0x7c], 2
test eax, eax
je 0x43efda
cmp byte [edi + 0xb5], 0
jne 0x43efda
mov dword [esp + 0x84], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x68], 0xc
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], eax
lea eax, [esp + 0x38]
and dword [eax - 4], 0
and dword [eax - 8], 0
and dword [eax + 4], 0
and dword [eax], 0
mov dword [esp + 0x2c], 0x14
push ebp
lea eax, [esp + 0x6c]
push eax
push dword [esp + 0x68]
push 4
call dword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x43f032
mov esi, dword [esp + 0x30]
test esi, esi
je 0x43f04f
and dword [esp + 0x1c], 0
mov dword [esp + 0x20], esi
jmp 0x43f054
call sub.kernel32.dll_GetLastError
mov esi, dword [esp + 0x10]
mov ecx, eax
shl eax, 0x10
xor ebx, ebx
mov dword [esp + 0x14], 0
jmp 0x43f114
mov byte [esp + 0x1c], 4
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x43f0b7
mov edx, dword [edi + 0x8c]
call fcn.00487f67
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x5c], edi
push ecx
push eax
lea eax, [esp + 0x94]
push eax
call dword [edx + 0x14]
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.0043fc1f
mov edx, dword [esp + 0x8c]
cmp dl, 4
jne 0x43f0dd
mov edi, dword [esp]
mov esi, dword [esp + 0x10]
jmp 0x43f0ce
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
cmp dl, 4
jne 0x43f104
push dword [esp + 0x60]
call dword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov bl, 1
jmp 0x43f141
mov ecx, dword [esp + 0x90]
mov edi, dword [esp]
mov eax, edx
mov bl, dh
mov dword [esp + 0x14], edx
shrd eax, ecx, 0x10
shr ecx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov esi, dword [esp + 0x10]
jmp 0x43f129
mov ecx, dword [esp + 0x20]
mov eax, edx
mov bl, dh
mov dword [esp + 0x14], edx
shrd eax, ecx, 0x10
shr ecx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
push dword [esp + 0x60]
call dword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov edx, dword [esp + 0x14]
cmp dl, 4
jne 0x43f675
test bl, bl
je 0x43f155
cmp byte [edi + 0x20], 0
jne 0x43f155
mov eax, dword [esp + 0xa0]
mov byte [eax], 1
cmp byte [esp + 0x18], 0
je 0x43f567
cmp dword [edi + 0xa0], 0
je 0x43f198
mov ecx, ebp
mov edx, edi
call fcn.0043f83f
cmp byte [esp + 0x2c], 4
jne 0x43f17f
mov eax, dword [esp + 0x30]
jmp 0x43f190
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp cl, 4
jne 0x43f627
test eax, eax
je 0x43f633
mov esi, dword [edi + 0x50]
push 0x18
pop ecx
push 4
pop edx
call fcn.00488456
mov edx, dword [edi + 0x60]
mov ecx, dword [edi + 0x58]
mov ebp, eax
push 0x4c3f7c
push esi
call fcn.0043f7ee
pop ecx
pop ecx
test eax, eax
cmove edx, eax
mov dword [ebp], edx
push 2
pop esi
mov dword [ebp + 4], esi
mov dword [ebp + 8], eax
and dword [ebp + 0xc], 0
and dword [ebp + 0x10], 0
and dword [ebp + 0x14], 0
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov edx, dword [edi + 0xa8]
test edx, edx
je 0x43f24d
lea ecx, [esp + 0x68]
push dword [edi + 0xb0]
call fcn.00476cc2
pop eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43f25c
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
lea ebx, [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0x12
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x8c]
mov edx, ebx
call fcn.0043f969
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x94]
jmp 0x43f26b
and dword [esp + 0x68], 0
mov dword [esp + 0x18], 0
jmp 0x43f267
mov dword [esp + 0x18], 0
push 2
pop esi
lea ebx, [esp + 0x2c]
lea eax, [esp + 0x38]
and dword [esp + 0x78], 0
and dword [esp + 0x2c], 0
mov dword [esp + 0x30], 2
and dword [esp + 0x34], 0
and dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x11
and dword [esp + 0x50], 0
and dword [esp + 0x74], 0
mov dword [esp + 0x7c], esi
mov dword [esp + 0x54], 3
mov dword [esp + 0x80], ebp
mov dword [esp + 0x58], ebx
and dword [eax + 0xc], 0
and dword [eax + 8], 0
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
cmp byte [edi + 0xb6], 0
je 0x43f31e
mov ecx, dword [edi + 0x90]
cmp byte [edi + 0xb7], 0
mov ebx, dword [esp + 0x64]
mov eax, 0
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
cmove eax, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
push 0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x58]
push ecx
push ebx
push 0
push 0x1011c
lea ecx, [esp + 0x90]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.secur32.dll_AcceptSecurityContext]
jmp 0x43f382
mov ecx, dword [edi + 0x94]
cmp byte [edi + 0xb4], 0
mov edx, 0
mov eax, ecx
cmove eax, edx
test ecx, ecx
cmove eax, ecx
mov ecx, dword [edi + 0x90]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
push 0
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x58]
push ecx
push 0
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
push 0
push 0x9819c
push eax
push dword [esp + 0x8c]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov ebx, eax
push 0xffffffffffffffe8
pop edi
test edi, edi
je 0x43f39f
mov eax, dword [esp + edi + 0x58]
test eax, eax
je 0x43f39a
push eax
call dword [sym.imp.secur32.dll_FreeContextBuffer]
add edi, 0xc
jmp 0x43f387
cmp ebx, 0x80090318
je 0x43f43e
test ebx, ebx
je 0x43f47b
cmp ebx, 0x90312
jne 0x43f66c
mov edi, dword [esp]
mov edx, esi
mov ecx, ebp
mov byte [edi + 0xb7], 0
push 0x4c3fac
call fcn.0043f99f
pop ecx
cmp dword [eax + 4], 5
mov edx, dword [edi + 0x50]
jne 0x43f3f8
mov edi, edx
mov edx, esi
mov ecx, ebp
push 0x4c3fbc
call fcn.0043f99f
mov edx, edi
add esp, 4
sub edx, dword [eax]
mov edi, dword [esp]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ecx, edi
call fcn.0043f9b9
mov eax, dword [edi + 0x50]
xor ecx, ecx
mov edx, ebx
or eax, dword [edi + 0x54]
mov eax, 0x4ef03c
sete cl
test esi, esi
mov dword [edi + 0xa0], ecx
mov ecx, dword [esp + 0xa4]
cmove edx, eax
push esi
call fcn.0048f792
pop eax
push ebx
call dword [sym.imp.secur32.dll_FreeContextBuffer]
jmp 0x43f472
mov ecx, ebp
mov edx, esi
push 0x4c3fcc
call fcn.0043f99f
pop ecx
cmp dword [eax + 4], 4
mov eax, 1
jne 0x43f469
mov ecx, ebp
mov edx, esi
push 0x4c3fdc
call fcn.0043f99f
pop ecx
mov eax, dword [eax]
mov edi, dword [esp]
mov dword [edi + 0xa0], eax
mov esi, dword [esp + 0x10]
jmp 0x43f543
mov ecx, ebp
mov edx, esi
push 0x4c3f8c
call fcn.0043f99f
pop ecx
mov edi, dword [esp]
cmp dword [eax + 4], 5
mov ebx, dword [edi + 0x50]
jne 0x43f4a7
mov ecx, ebp
mov edx, esi
push 0x4c3f9c
call fcn.0043f99f
pop ecx
sub ebx, dword [eax]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x43f4ba
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], eax
mov ecx, edi
mov edx, ebx
call fcn.0043f9b9
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov ebx, dword [esp + 0x10]
xor edx, edx
mov edi, eax
or edi, ecx
mov edi, dword [esp]
sete dl
test esi, esi
cmovne ebx, esi
mov esi, ebx
mov dword [edi + 0xa0], edx
je 0x43f516
mov ebx, dword [esp + 0xac]
mov ecx, dword [esp + 0xa4]
mov eax, 0x4ef03c
mov edx, esi
test ebx, ebx
cmove edx, eax
push ebx
call fcn.0048f792
pop eax
push esi
call dword [sym.imp.secur32.dll_FreeContextBuffer]
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
or eax, ecx
je 0x43f539
lea ecx, [esp + 0x1c]
mov edx, edi
call fcn.0043fa04
cmp byte [esp + 0x1c], 4
je 0x43f539
mov ebx, dword [esp + 0x1c]
cmp bl, 4
jne 0x43f69f
cmp byte [edi + 0x20], 0
jne 0x43f543
mov byte [edi + 0x22], 0
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
call fcn.0043fb68
mov edx, dword [esp + 0x90]
mov ecx, ebp
call fcn.00476701
lea ebp, [esp + 0x2c]
jmp 0x43ec38
cmp byte [esp + 7], 0
mov al, 2
jne 0x43f5b3
mov edx, dword [esp + 0x64]
mov ecx, ebp
call fcn.00476fa8
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ecx
jne 0x43f6f0
lea ecx, [esp + 0x38]
mov eax, dword [ecx + 8]
movsd xmm0, qword [ecx]
mov dword [esp + 0x58], eax
mov al, 1
movsd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
mov byte [edi + 0x20], al
movsd xmm0, qword [esp + 0x50]
mov dword [edi + 0x24], edx
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x58]
mov dword [ecx + 8], edx
movsd qword [ecx], xmm0
jmp 0x43ec38
cmp eax, 1
jne 0x43f61b
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xc]
mov eax, dword [edx + 0x10]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov dword [ecx + 0x14], eax
movsd qword [ecx + 0xc], xmm1
movsd qword [ecx + 4], xmm0
mov dword [ecx], 1
jmp 0x43f6e5
mov eax, dword [esp + 0xc]
and dword [eax], 0
jmp 0x43f6e5
mov edx, dword [esp + 0xc]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
jmp 0x43f664
mov esi, dword [esp + 0xc]
lea ecx, [esi + 4]
push 0x25
pop edx
push 0x1f
push str.unexpected_EOF_during_handshakeassertion_failed:_size___nread
call fcn.00476433
pop eax
pop ecx
mov dword [esi], 2
jmp 0x43f6e5
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx], 2
jmp 0x43f6e5
mov esi, ebx
shl ebx, 0x18
xor edi, edi
jmp 0x43f6a9
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, edx
mov esi, dword [esp + 0xc]
movzx edi, bl
movzx eax, al
shl edi, 8
shld ebp, ecx, 0x10
shl ecx, 0x10
or eax, ecx
mov dword [esi + 8], ebp
or edi, eax
mov dword [esi + 4], edi
jmp 0x43f64b
mov esi, dword [esp + 0x20]
mov edi, ebx
shrd ebx, esi, 8
shr esi, 8
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
call fcn.0043fb68
mov edx, dword [esp + 0x90]
mov ecx, ebp
call fcn.00476701
mov ecx, dword [esp + 0xc]
mov eax, edi
shld esi, ebx, 8
shl ebx, 8
movzx eax, al
or eax, ebx
mov dword [ecx + 8], esi
mov dword [ecx + 4], eax
mov dword [ecx], 2
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax], 2
jmp 0x43f6e5