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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xac
lea eax, [edx + 0x54]
mov edi, edx
mov dword [esp + 0xc], ecx
mov dword [esp], edx
mov dword [esp + 0x9c], eax
lea eax, [edx + 0x68]
mov dword [esp + 0x60], eax
lea eax, [edx + 0x5c]
mov dword [esp + 0xa4], eax
lea eax, [edx + 4]
mov dword [esp + 0x84], eax
lea eax, [edx + 0x40]
mov dword [esp + 0xa0], eax
movzx eax, byte [edi + 0x50]
test eax, eax
jne 0x4b9673
mov cl, byte [edi + 0x53]
mov al, byte [edi + 0x52]
mov bh, byte [edi + 0x51]
mov bl, byte [edi + 0x54]
mov edx, edi
mov byte [esp + 7], cl
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18], al
call fcn.004b979c
cmp byte [esp + 0x2c], 4
jne 0x4b8d0c
mov eax, dword [esp + 0x30]
jmp 0x4b8d1d
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp cl, 4
jne 0x4b96b3
test eax, eax
je 0x4b8d2d
cmp byte [edi + 0x50], 0
jne 0x4b8d31
mov byte [edi + 0x51], 1
jmp 0x4b8d31
test bh, bh
je 0x4b8d5d
mov edx, dword [edi + 0xa4]
lea ecx, [esp + 0x2c]
call fcn.004b98aa
cmp byte [esp + 0x2c], 4
je 0x4b8d53
mov eax, dword [esp + 0x2c]
cmp al, 4
jne 0x4b96e2
cmp byte [edi + 0x50], 0
jne 0x4b8d5d
mov byte [edi + 0x51], 0
or bl, byte [esp + 7]
mov dword [esp + 0x10], esi
jne 0x4b91dd
cmp byte [edi + 0xb2], 0
je 0x4b8d7b
xor ebx, ebx
jmp 0x4b91c9
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x2c]
call fcn.004f8116
cmp byte [esp + 0x2c], 4
je 0x4b8da8
cmp byte [esp + 0x18], 0
je 0x4b8da8
lea ecx, [esp + 0x2c]
call fcn.004b9c36
mov dl, 4
xor ebx, ebx
jmp 0x4b91c0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dl, 4
jne 0x4b8e42
mov dword [esp + 8], ecx
mov ecx, dword [ecx + 0x10]
call fcn.004f79f9
mov ecx, dword [edi]
test eax, eax
je 0x4b8e5a
mov esi, edx
test ecx, ecx
je 0x4b8e7f
mov ecx, dword [esp + 0x84]
and dword [esp + 0x2c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x2c]
call fcn.004f7a5b
test eax, eax
je 0x4b8e6b
mov ebp, edx
lea ecx, [esp + 0x50]
mov edx, esi
push ebp
call fcn.004f7a24
pop eax
cmp byte [esp + 0x50], 4
jne 0x4b8e21
mov ebx, dword [esp + 0x54]
mov ecx, edi
and ecx, 0xffffff00
or ecx, 4
jmp 0x4b8e29
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
cmp cl, 4
jne 0x4b8fe2
mov edi, ecx
push ebx
mov ebx, dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
call ebx
push ebp
call ebx
jmp 0x4b8ded
mov eax, edx
mov bl, dh
shrd eax, ecx, 0x10
shr ecx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x4b91c0
test ecx, ecx
je 0x4b8e67
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
mov esi, ecx
jmp 0x4b8e86
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.004f7aad
cmp dword [esp + 0x14], 0
je 0x4b8e86
mov ecx, esi
call fcn.004f7a12
mov edi, dword [esp]
mov ecx, dword [esp + 8]
and dword [esp + 0x74], 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 + 0x74]
push eax
push 0
push 0xc0000001
lea eax, [esp + 0x38]
push eax
push esi
push 0
push ecx
push 0
call dword [sym.imp.crypt32.dll_CertGetCertificateChain]
test eax, eax
je 0x4b8fc4
mov eax, dword [esp + 0x74]
cmp dword [edi], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], eax
je 0x4b8fbd
lea ecx, [esp + 0x50]
lea edx, [esp + 0x70]
call fcn.004f791f
cmp dword [esp + 0x50], 0
je 0x4b8fbd
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0x74], ecx
and dword [esp + 0x78], 0
lea ecx, [esp + 0x74]
call fcn.004f79b6
mov esi, edx
cmp eax, 1
jne 0x4b901f
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], eax
and dword [esp + 0x2c], 0
lea ecx, [esp + 0x2c]
call fcn.004f7a5b
mov edi, eax
mov ebp, edx
cmp eax, 1
jne 0x4b8f91
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
push dword [esi + 8]
push dword [esi + 4]
call fcn.004b47b6
pop ecx
pop edx
mov ebx, eax
push ebp
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
test bl, bl
je 0x4b8f5d
jmp 0x4b8f9a
mov ecx, edi
mov edx, ebp
call fcn.004f7aad
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
call fcn.004f7aad
push esi
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
cmp edi, 1
mov edi, dword [esp]
jne 0x4b8f39
mov esi, 0xf10
jmp 0x4b902d
mov esi, 0xf00
jmp 0x4b9037
call sub.kernel32.dll_GetLastError
mov ecx, eax
shl eax, 0x10
xor ebx, ebx
xor ebp, ebp
shr ecx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x4b918a
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.004f7aad
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.004b6d4b
mov eax, edi
mov dword [esp + 0x24], ebx
mov ebp, edi
mov bl, ah
jmp 0x4b9187
mov ecx, eax
mov edx, esi
call fcn.004f7aad
mov esi, 0xf00
push dword [esp + 0x68]
call dword [sym.imp.crypt32.dll_CertFreeCertificateChain]
and dword [esp + 0x80], 0
and dword [esp + 0x7c], 0
cmp dword [edi + 0x78], 0x80000000
mov dword [esp + 0x74], 0x10
mov dword [esp + 0x78], 2
je 0x4b9070
cmp byte [edi + 0xb1], 0
jne 0x4b9070
mov eax, dword [edi + 0x7c]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x64], 0xc
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x38]
and dword [eax - 4], 0
and dword [eax - 8], 0
and dword [eax + 4], 0
and dword [eax], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x14
push eax
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x1c]
push 4
call dword [sym.imp.crypt32.dll_CertVerifyCertificateChainPolicy]
test eax, eax
je 0x4b90cc
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4b90e3
and dword [esp + 0x1c], 0
mov dword [esp + 0x20], esi
jmp 0x4b90e8
call sub.kernel32.dll_GetLastError
mov esi, dword [esp + 0x10]
mov ecx, eax
shl eax, 0x10
xor ebx, ebx
xor ebp, ebp
jmp 0x4b919e
mov byte [esp + 0x1c], 4
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x4b9145
mov edx, dword [edi + 0x74]
call fcn.0051a4bf
mov ebx, dword [esp + 0x14]
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 + 0x90]
push eax
call dword [edx + 0x14]
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.004b37d5
mov edx, dword [esp + 0x88]
cmp dl, 4
jne 0x4b916b
mov edi, dword [esp]
mov esi, dword [esp + 0x10]
jmp 0x4b915c
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
cmp dl, 4
jne 0x4b9190
push dword [esp + 0x14]
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 0x4b91c9
mov ecx, dword [esp + 0x8c]
mov eax, edx
mov ebp, edx
mov bl, dh
shrd eax, ecx, 0x10
shr ecx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov edi, dword [esp]
mov esi, dword [esp + 0x10]
jmp 0x4b91b3
mov ecx, dword [esp + 0x20]
mov eax, edx
mov ebp, edx
mov bl, dh
shrd eax, ecx, 0x10
shr ecx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
push dword [esp + 0x14]
call dword [sym.imp.crypt32.dll_CertFreeCertificateChain]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov edx, ebp
cmp dl, 4
jne 0x4b9701
test bl, bl
je 0x4b91dd
cmp byte [edi + 0x50], 0
jne 0x4b91dd
mov eax, dword [esp + 0x9c]
mov byte [eax], 1
cmp byte [esp + 0x18], 0
je 0x4b95f1
cmp dword [edi + 0xa8], 0
je 0x4b9222
lea ecx, [esp + 0x2c]
mov edx, edi
call fcn.004b98cb
cmp byte [esp + 0x2c], 4
jne 0x4b9209
mov eax, dword [esp + 0x30]
jmp 0x4b921a
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp cl, 4
jne 0x4b96b3
test eax, eax
je 0x4b96bf
mov esi, dword [edi + 0x20]
push 0x18
pop ecx
push 4
pop edx
call fcn.0049c41a
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x30]
mov ebp, eax
push 0x621f50
push esi
call fcn.004b987d
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 + 0x88], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], esi
cmp dword [edi + 0x84], 0x80000000
jne 0x4b9292
and dword [esp + 0x64], 0
mov dword [esp + 0x18], 0
jmp 0x4b92f7
mov edx, dword [edi + 0x88]
lea ecx, [esp + 0x64]
push dword [edi + 0x8c]
call fcn.004f7de1
pop eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4b92ec
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0x12
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x88]
lea edx, [esp + 0x2c]
call fcn.0045de61
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
jmp 0x4b92f7
mov dword [esp + 0x18], 0
push 2
pop esi
lea eax, [esp + 0x38]
and dword [esp + 0x74], 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 + 0x70], 0
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x54], 3
and dword [eax + 0xc], 0
and dword [eax + 8], 0
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
cmp byte [edi + 0xb2], 0
lea eax, [esp + 0x2c]
mov dword [esp + 0x58], eax
je 0x4b93ab
mov ecx, dword [edi + 0x90]
cmp byte [edi + 0xb3], 0
mov ebx, dword [esp + 0x60]
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 + 0x74]
push ecx
lea ecx, [esp + 0x58]
push ecx
push ebx
push 0
push 0x1011c
lea ecx, [esp + 0x8c]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.secur32.dll_AcceptSecurityContext]
jmp 0x4b9410
xor ecx, ecx
cmp byte [edi + 0xb0], 0
mov eax, 0
je 0x4b93be
mov eax, dword [edi + 0x7c]
cmp dword [edi + 0x78], 0x80000000
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 + 0x74]
push ecx
lea ecx, [esp + 0x58]
push ecx
push 0
push 0
lea ecx, [esp + 0x88]
push ecx
push 0
push 0
push 0x9819c
push eax
push dword [esp + 0x88]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.secur32.dll_InitializeSecurityContextW]
mov ebx, eax
push 0xffffffffffffffe8
pop edi
test edi, edi
je 0x4b942d
mov eax, dword [esp + edi + 0x58]
test eax, eax
je 0x4b9428
push eax
call dword [sym.imp.secur32.dll_FreeContextBuffer]
add edi, 0xc
jmp 0x4b9415
cmp ebx, 0x80090318
je 0x4b94cc
test ebx, ebx
je 0x4b9509
cmp ebx, 0x90312
jne 0x4b96f8
mov edi, dword [esp]
mov edx, esi
mov ecx, ebp
mov byte [edi + 0xb3], 0
push 0x621f80
call fcn.004b99f8
pop ecx
cmp dword [eax + 4], 5
mov edx, dword [edi + 0x20]
jne 0x4b9486
mov edi, edx
mov edx, esi
mov ecx, ebp
push 0x621f90
call fcn.004b99f8
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.004b9a0f
mov eax, dword [edi + 0x20]
xor ecx, ecx
mov edx, ebx
or eax, dword [edi + 0x24]
mov eax, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
sete cl
test esi, esi
mov dword [edi + 0xa8], ecx
mov ecx, dword [esp + 0xa0]
cmove edx, eax
push esi
call fcn.00417ce5
pop eax
push ebx
call dword [sym.imp.secur32.dll_FreeContextBuffer]
jmp 0x4b9500
mov ecx, ebp
mov edx, esi
push 0x621fa0
call fcn.004b99f8
pop ecx
cmp dword [eax + 4], 4
mov eax, 1
jne 0x4b94f7
mov ecx, ebp
mov edx, esi
push 0x621fb0
call fcn.004b99f8
pop ecx
mov eax, dword [eax]
mov edi, dword [esp]
mov dword [edi + 0xa8], eax
mov esi, dword [esp + 0x10]
jmp 0x4b95d1
mov ecx, ebp
mov edx, esi
push 0x621f60
call fcn.004b99f8
pop ecx
mov edi, dword [esp]
cmp dword [eax + 4], 5
mov ebx, dword [edi + 0x20]
jne 0x4b9535
mov ecx, ebp
mov edx, esi
push 0x621f70
call fcn.004b99f8
pop ecx
sub ebx, dword [eax]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4b9548
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa8], eax
mov ecx, edi
mov edx, ebx
call fcn.004b9a0f
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
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 + 0xa8], edx
je 0x4b95a4
mov ebx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa0]
mov eax, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov edx, esi
test ebx, ebx
cmove edx, eax
push ebx
call fcn.00417ce5
pop eax
push esi
call dword [sym.imp.secur32.dll_FreeContextBuffer]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
or eax, ecx
je 0x4b95c7
lea ecx, [esp + 0x1c]
mov edx, edi
call fcn.004b9a57
cmp byte [esp + 0x1c], 4
je 0x4b95c7
mov ebx, dword [esp + 0x1c]
cmp bl, 4
jne 0x4b972b
cmp byte [edi + 0x50], 0
jne 0x4b95d1
mov byte [edi + 0x52], 0
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
call fcn.004b9bb8
mov ecx, dword [esp + 0x88]
mov edx, ebp
call fcn.004310f6
jmp 0x4b8cd4
cmp byte [esp + 7], 0
mov al, 2
jne 0x4b963f
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x2c]
call fcn.004f80c5
cmp dword [esp + 0x2c], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
jne 0x4b977c
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 + 0x98]
mov ecx, dword [esp + 0x94]
mov byte [edi + 0x50], al
movsd xmm0, qword [esp + 0x50]
mov dword [edi + 0x54], edx
mov dword [edi + 0x58], ecx
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x58]
mov dword [ecx + 8], edx
movsd qword [ecx], xmm0
jmp 0x4b8cd4
cmp eax, 1
jne 0x4b96a7
mov edx, dword [esp + 0x9c]
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 0x4b9771
mov eax, dword [esp + 0xc]
and dword [eax], 0
jmp 0x4b9771
mov edx, dword [esp + 0xc]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
jmp 0x4b96f0
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.004f76f1
pop eax
pop ecx
mov dword [esi], 2
jmp 0x4b9771
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 0x4b9771
mov esi, ebx
shl ebx, 0x18
xor edi, edi
jmp 0x4b9735
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 0x4b96d7
mov esi, dword [esp + 0x20]
mov edi, ebx
shrd ebx, esi, 8
shr esi, 8
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
call fcn.004b9bb8
mov ecx, dword [esp + 0x88]
mov edx, ebp
call fcn.004310f6
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, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax], 2
jmp 0x4b9771