Function at 0x43f0df
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 0x43fad7
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.0043fc00
cmp byte [esp + 0x2c], 4
jne 0x43f15e
mov eax, dword [esp + 0x30]
jmp 0x43f16f
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp cl, 4
jne 0x43fb17
test eax, eax
je 0x43f17f
cmp byte [edi + 0x20], 0
jne 0x43f183
mov byte [edi + 0x21], 1
jmp 0x43f183
test bh, bh
je 0x43f1aa
mov edx, dword [edi + 0x1c]
mov ecx, ebp
call fcn.0043fd0b
cmp byte [esp + 0x2c], 4
je 0x43f1a0
mov eax, dword [esp + 0x2c]
cmp al, 4
jne 0x43fb46
cmp byte [edi + 0x20], 0
jne 0x43f1aa
mov byte [edi + 0x21], 0
or bl, byte [esp + 7]
mov dword [esp + 0x10], esi
jne 0x43f645
cmp byte [edi + 0xb6], 0
je 0x43f1c8
xor ebx, ebx
jmp 0x43f631
mov edx, dword [esp + 0x64]
mov ecx, ebp
call fcn.004774c9
cmp byte [esp + 0x2c], 4
je 0x43f1f1
cmp byte [esp + 0x18], 0
je 0x43f1f1
mov ecx, ebp
call fcn.0044011d
mov dl, 4
xor ebx, ebx
jmp 0x43f628
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dl, 4
jne 0x43f28d
mov dword [esp + 8], ecx
mov ecx, dword [ecx + 0x10]
call fcn.00476dbc
mov dword [esp + 0x14], eax
test eax, eax
mov eax, dword [edi]
je 0x43f2a5
mov esi, edx
test eax, eax
je 0x43f2ce
mov eax, dword [esp + 0x88]
and dword [esp + 0x2c], 0
mov dword [esp + 0x34], eax
mov ecx, ebp
call fcn.00476e1e
test eax, eax
je 0x43f2b6
mov ebp, edx
lea ecx, [esp + 0x50]
mov edx, esi
push ebp
call fcn.00476de7
pop eax
cmp byte [esp + 0x50], 4
jne 0x43f268
mov ebx, dword [esp + 0x54]
mov ecx, edi
and ecx, 0xffffff00
or ecx, 4
jmp 0x43f270
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
cmp cl, 4
jne 0x43f432
mov edi, ecx
push ebx
mov ebx, dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call ebx
push ebp
call ebx
lea ebp, [esp + 0x2c]
jmp 0x43f236
mov eax, edx
mov bl, dh
shrd eax, ecx, 0x10
shr ecx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x43f628
test eax, eax
je 0x43f2b2
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
mov esi, eax
jmp 0x43f2d5
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.00476e70
cmp dword [esp + 0x14], 0
lea ebp, [esp + 0x2c]
je 0x43f2d5
mov ecx, esi
call fcn.00476dd5
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 0x43f419
mov eax, dword [esp + 0x78]
cmp dword [edi], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], eax
je 0x43f412
lea ecx, [esp + 0x50]
lea edx, [esp + 0x74]
call fcn.00476ce2
cmp dword [esp + 0x50], 0
je 0x43f412
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.00476d79
mov esi, edx
cmp eax, 1
jne 0x43f478
mov eax, dword [esp + 0x88]
mov dword [esp + 0x34], eax
and dword [esp + 0x2c], 0
mov ecx, ebp
call fcn.00476e1e
mov edi, eax
mov ebp, edx
cmp eax, 1
jne 0x43f3de
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
push dword [esi + 8]
push dword [esi + 4]
call fcn.004454d9
pop ecx
pop edx
mov ebx, eax
push ebp
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test bl, bl
lea ebp, [esp + 0x2c]
je 0x43f3a8
jmp 0x43f3eb
mov ecx, edi
mov edx, ebp
call fcn.00476e70
lea ebp, [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.00476e70
push esi
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp edi, 1
mov edi, dword [esp]
jne 0x43f384
mov esi, 0xf10
jmp 0x43f486
mov esi, 0xf00
jmp 0x43f490
call sub.kernel32.dll_GetLastError
mov ecx, eax
shl eax, 0x10
xor ebx, ebx
mov dword [esp + 0x14], 0
jmp 0x43f5e3
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.00476e70
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.0043d0ff
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 0x43f5ee
mov ecx, eax
mov edx, esi
call fcn.00476e70
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 0x43f4ca
cmp byte [edi + 0xb5], 0
jne 0x43f4ca
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 0x43f522
mov esi, dword [esp + 0x30]
test esi, esi
je 0x43f53f
and dword [esp + 0x1c], 0
mov dword [esp + 0x20], esi
jmp 0x43f544
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 0x43f604
mov byte [esp + 0x1c], 4
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x43f5a7
mov edx, dword [edi + 0x8c]
call fcn.00488427
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.0044010f
mov edx, dword [esp + 0x8c]
cmp dl, 4
jne 0x43f5cd
mov edi, dword [esp]
mov esi, dword [esp + 0x10]
jmp 0x43f5be
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
cmp dl, 4
jne 0x43f5f4
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 0x43f631
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 0x43f619
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 0x43fb65
test bl, bl
je 0x43f645
cmp byte [edi + 0x20], 0
jne 0x43f645
mov eax, dword [esp + 0xa0]
mov byte [eax], 1
cmp byte [esp + 0x18], 0
je 0x43fa57
cmp dword [edi + 0xa0], 0
je 0x43f688
mov ecx, ebp
mov edx, edi
call fcn.0043fd2f
cmp byte [esp + 0x2c], 4
jne 0x43f66f
mov eax, dword [esp + 0x30]
jmp 0x43f680
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp cl, 4
jne 0x43fb17
test eax, eax
je 0x43fb23
mov esi, dword [edi + 0x50]
push 0x18
pop ecx
push 4
pop edx
call fcn.00488916
mov edx, dword [edi + 0x60]
mov ecx, dword [edi + 0x58]
mov ebp, eax
push 0x4cf0dc
push esi
call fcn.0043fcde
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 0x43f73d
lea ecx, [esp + 0x68]
push dword [edi + 0xb0]
call fcn.00477192
pop eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43f74c
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.0043fe59
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x94]
jmp 0x43f75b
and dword [esp + 0x68], 0
mov dword [esp + 0x18], 0
jmp 0x43f757
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 0x43f80e
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 0x43f872
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 0x43f88f
mov eax, dword [esp + edi + 0x58]
test eax, eax
je 0x43f88a
push eax
call dword [sym.imp.secur32.dll_FreeContextBuffer]
add edi, 0xc
jmp 0x43f877
cmp ebx, 0x80090318
je 0x43f92e
test ebx, ebx
je 0x43f96b
cmp ebx, 0x90312
jne 0x43fb5c
mov edi, dword [esp]
mov edx, esi
mov ecx, ebp
mov byte [edi + 0xb7], 0
push 0x4cf10c
call fcn.0043fe8f
pop ecx
cmp dword [eax + 4], 5
mov edx, dword [edi + 0x50]
jne 0x43f8e8
mov edi, edx
mov edx, esi
mov ecx, ebp
push 0x4cf11c
call fcn.0043fe8f
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.0043fea9
mov eax, dword [edi + 0x50]
xor ecx, ecx
mov edx, ebx
or eax, dword [edi + 0x54]
mov eax, 0x4fa19c
sete cl
test esi, esi
mov dword [edi + 0xa0], ecx
mov ecx, dword [esp + 0xa4]
cmove edx, eax
push esi
call fcn.0048fc4e
pop eax
push ebx
call dword [sym.imp.secur32.dll_FreeContextBuffer]
jmp 0x43f962
mov ecx, ebp
mov edx, esi
push 0x4cf12c
call fcn.0043fe8f
pop ecx
cmp dword [eax + 4], 4
mov eax, 1
jne 0x43f959
mov ecx, ebp
mov edx, esi
push 0x4cf13c
call fcn.0043fe8f
pop ecx
mov eax, dword [eax]
mov edi, dword [esp]
mov dword [edi + 0xa0], eax
mov esi, dword [esp + 0x10]
jmp 0x43fa33
mov ecx, ebp
mov edx, esi
push 0x4cf0ec
call fcn.0043fe8f
pop ecx
mov edi, dword [esp]
cmp dword [eax + 4], 5
mov ebx, dword [edi + 0x50]
jne 0x43f997
mov ecx, ebp
mov edx, esi
push 0x4cf0fc
call fcn.0043fe8f
pop ecx
sub ebx, dword [eax]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x43f9aa
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xac], eax
mov ecx, edi
mov edx, ebx
call fcn.0043fea9
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 0x43fa06
mov ebx, dword [esp + 0xac]
mov ecx, dword [esp + 0xa4]
mov eax, 0x4fa19c
mov edx, esi
test ebx, ebx
cmove edx, eax
push ebx
call fcn.0048fc4e
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 0x43fa29
lea ecx, [esp + 0x1c]
mov edx, edi
call fcn.0043fef4
cmp byte [esp + 0x1c], 4
je 0x43fa29
mov ebx, dword [esp + 0x1c]
cmp bl, 4
jne 0x43fb8f
cmp byte [edi + 0x20], 0
jne 0x43fa33
mov byte [edi + 0x22], 0
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x18]
call fcn.00440058
mov edx, dword [esp + 0x90]
mov ecx, ebp
call fcn.00476bd1
lea ebp, [esp + 0x2c]
jmp 0x43f128
cmp byte [esp + 7], 0
mov al, 2
jne 0x43faa3
mov edx, dword [esp + 0x64]
mov ecx, ebp
call fcn.00477478
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 0x43fbe0
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 0x43f128
cmp eax, 1
jne 0x43fb0b
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 0x43fbd5
mov eax, dword [esp + 0xc]
and dword [eax], 0
jmp 0x43fbd5
mov edx, dword [esp + 0xc]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
jmp 0x43fb54
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.00476903
pop eax
pop ecx
mov dword [esi], 2
jmp 0x43fbd5
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 0x43fbd5
mov esi, ebx
shl ebx, 0x18
xor edi, edi
jmp 0x43fb99
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 0x43fb3b
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.00440058
mov edx, dword [esp + 0x90]
mov ecx, ebp
call fcn.00476bd1
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 0x43fbd5