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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x43c
mov dword [esp], sym._mime_hdr_cmp
mov dword [esp + 0x18], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x42c], eax
xor eax, eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_new
mov dword [esp + 0x1c], eax
test eax, eax
je 0x6b418d59
mov dword [esp + 0x10], 0
lea esi, [esi]
lea eax, [esp + 0x2c]
mov dword [esp + 8], 0x400
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_BIO_gets
test eax, eax
jle 0x6b418d59
mov edx, dword [esp + 0x10]
movsx eax, byte [esp + 0x2c]
mov edi, 1
test edx, edx
je 0x6b418bd4
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
movzx eax, byte [esp + 0x2c]
je 0x6b418bd4
mov edi, 3
test al, al
je 0x6b418d59
lea ebp, [esp + 0x2c]
xor esi, esi
mov ebx, ebp
cmp al, 0xd
je 0x6b418c70
cmp al, 0xa
je 0x6b418c70
cmp edi, 4
ja case.0x6b418bf9.0
jmp dword [edi*4 + 0x6b5cabc0]
mov eax, 0x2401
mov dword [esp + 0x14], ecx
bt eax, edx
jb 0x6b41917e
movzx eax, byte [ebx + 2]
lea ecx, [ebx + 2]
cmp al, 0xd
ja 0x6b4193c0
mov edx, 0x2401
bt edx, eax
jb 0x6b4193e2
mov ebx, ecx
mov edi, 2
lea esi, [esi]
lea esi, [esi]
movzx eax, byte [ebx + 1]
add ecx, 1
cmp al, 0xd
ja 0x6b418c59
mov edx, 0x2401
bt edx, eax
jb 0x6b4193e2
mov ebx, ecx
cmp al, 0x29
jne 0x6b418c40
movzx eax, byte [ebx + 1]
lea ecx, [ebx + 1]
mov ebx, ecx
test al, al
jne 0x6b418be4
cmp edi, 2
jne 0x6b419377
movsx eax, byte [ebp]
test al, al
jne 0x6b418cb3
jmp 0x6b419340
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b418cc6
movsx eax, byte [ebp + 1]
add ebp, 1
test al, al
je 0x6b419340
cmp al, 0x22
jne 0x6b418c90
cmp byte [ebp + 1], 0
je 0x6b419340
add ebp, 1
je 0x6b418d20
mov dword [esp], ebp
call sym._strlen
lea edi, [ebp + eax - 1]
cmp edi, ebp
jae 0x6b418d02
jmp 0x6b419340
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b418d20
mov byte [edi], 0
sub edi, 1
cmp edi, ebp
jb 0x6b419340
movsx eax, byte [edi]
cmp al, 0x22
jne 0x6b418ce0
lea eax, [edi - 1]
cmp ebp, eax
je 0x6b419340
mov byte [edi], 0
lea esi, [esi]
nop
mov edx, ebp
mov eax, esi
call sym._mime_hdr_new
mov dword [esp + 0x10], eax
test eax, eax
je 0x6b419462
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_push
test eax, eax
je 0x6b4193f6
lea eax, [esp + 0x2c]
cmp ebx, eax
jne 0x6b418b80
mov eax, dword [esp + 0x42c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b419483
mov eax, dword [esp + 0x1c]
add esp, 0x43c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, edi
mov ebp, edi
lea ecx, [ebx + 1]
cmp al, 0x3b
je 0x6b418dbd
movzx edx, byte [ebx + 1]
cmp al, 0x22
je 0x6b4191b0
cmp al, 0x28
je 0x6b4192f0
cmp dl, 0xd
ja 0x6b418db2
mov eax, 0x2401
bt eax, edx
jb 0x6b419320
mov ebx, ecx
mov eax, edx
lea ecx, [ebx + 1]
cmp al, 0x3b
jne 0x6b418d8b
mov dword [esp + 0x14], ecx
mov byte [ebx], 0
movsx eax, byte [ebp]
test al, al
jne 0x6b418dfb
jmp 0x6b419370
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b418e12
movsx eax, byte [ebp + 1]
add ebp, 1
test al, al
je 0x6b419370
cmp al, 0x22
jne 0x6b418dd8
cmp byte [ebp + 1], 0
je 0x6b419370
add ebp, 1
je 0x6b419370
mov dword [esp], ebp
call sym._strlen
lea edi, [ebp + eax - 1]
cmp edi, ebp
jae 0x6b418e52
jmp 0x6b419370
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b418e70
mov byte [edi], 0
sub edi, 1
cmp edi, ebp
jb 0x6b419370
movsx eax, byte [edi]
cmp al, 0x22
jne 0x6b418e30
lea eax, [edi - 1]
cmp ebp, eax
je 0x6b419370
mov byte [edi], 0
lea esi, [esi]
nop
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov edx, esi
add eax, 8
call sym._mime_hdr_addparam.isra.0
movzx eax, byte [ebx + 1]
cmp al, 0xd
ja 0x6b418e96
mov ecx, 0x2401
bt ecx, eax
jb 0x6b41917e
mov ebp, dword [esp + 0x14]
mov ebx, ebp
lea edi, [ebx + 1]
cmp al, 0x3d
je 0x6b418ec2
movzx eax, byte [ebx + 1]
mov ebx, edi
cmp al, 0xd
ja case.0x6b418bf9.3
mov edx, 0x2401
bt edx, eax
jb 0x6b418d4d
lea edi, [ebx + 1]
cmp al, 0x3d
jne 0x6b418ea3
mov byte [ebx], 0
movsx eax, byte [ebp]
test al, al
jne 0x6b418eff
jmp 0x6b419350
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b4193d1
movsx eax, byte [ebp + 1]
add ebp, 1
test al, al
je 0x6b419350
cmp al, 0x22
jne 0x6b418ed8
cmp byte [ebp + 1], 0
je 0x6b419350
mov esi, ebp
add esi, 1
je 0x6b419350
mov dword [esp], esi
call sym._strlen
lea ebp, [esi + eax - 1]
cmp ebp, esi
jae 0x6b418f53
jmp 0x6b419350
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b418f70
mov byte [ebp], 0
sub ebp, 1
cmp ebp, esi
jb 0x6b419350
movsx eax, byte [ebp]
cmp al, 0x22
jne 0x6b418f30
lea eax, [ebp - 1]
cmp esi, eax
je 0x6b419350
mov byte [ebp], 0
lea esi, [esi]
movsx eax, byte [ebx + 1]
cmp al, 0xd
ja 0x6b418d80
mov ecx, 0x2401
mov ebx, edi
mov ebp, edi
bt ecx, eax
jae case.0x6b418bf9.4
jmp 0x6b41920a
mov byte [ebx], 0
movsx eax, byte [ebp]
test al, al
jne 0x6b418fd7
jmp 0x6b419330
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b4193ca
movsx eax, byte [ebp + 1]
add ebp, 1
test al, al
je 0x6b419330
cmp al, 0x22
jne 0x6b418fb0
cmp byte [ebp + 1], 0
je 0x6b419330
mov esi, ebp
add esi, 1
je 0x6b419330
mov dword [esp], esi
call sym._strlen
lea ebp, [esi + eax - 1]
cmp ebp, esi
jae 0x6b41902b
jmp 0x6b419330
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b419042
mov byte [ebp], 0
sub ebp, 1
cmp ebp, esi
jb 0x6b419330
movsx eax, byte [ebp]
cmp al, 0x22
jne 0x6b419008
lea eax, [ebp - 1]
cmp esi, eax
je 0x6b419330
mov byte [ebp], 0
movsx eax, byte [ebx + 1]
mov ebx, edi
test al, al
je 0x6b419340
mov ebp, edi
cmp al, 0xa
je 0x6b418cb3
cmp al, 0xd
je 0x6b418cb3
cmp al, 0x3b
je 0x6b419090
movzx edx, byte [ebx + 1]
lea ecx, [ebx + 1]
cmp al, 0x28
je 0x6b4192b0
cmp dl, 0xd
ja 0x6b419088
mov eax, 0x2401
bt eax, edx
jb 0x6b4192e0
mov eax, edx
mov ebx, ecx
cmp al, 0x3b
jne 0x6b419066
mov byte [ebx], 0
movsx eax, byte [ebp]
test al, al
jne 0x6b4190c3
jmp 0x6b419360
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b4190da
movsx eax, byte [ebp + 1]
add ebp, 1
test al, al
je 0x6b419360
cmp al, 0x22
jne 0x6b4190a0
cmp byte [ebp + 1], 0
je 0x6b419360
add ebp, 1
je 0x6b419360
mov dword [esp], ebp
call sym._strlen
lea edi, [ebp + eax - 1]
cmp edi, ebp
jae 0x6b419112
jmp 0x6b419360
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b419130
mov byte [edi], 0
sub edi, 1
cmp edi, ebp
jb 0x6b419360
movsx eax, byte [edi]
cmp al, 0x22
jne 0x6b4190f0
lea eax, [edi - 1]
cmp ebp, eax
je 0x6b419360
mov byte [edi], 0
lea esi, [esi]
nop
mov edx, ebp
mov eax, esi
call sym._mime_hdr_new
mov dword [esp + 0x10], eax
test eax, eax
je 0x6b419462
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_push
test eax, eax
je 0x6b4193f6
movzx eax, byte [ebx + 1]
lea ebp, [ebx + 1]
cmp al, 0xd
ja 0x6b418e9a
mov edx, 0x2401
bt edx, eax
jae 0x6b418e9a
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x14]
jmp 0x6b418d4d
lea edi, [ebx + 1]
cmp al, 0x3a
je 0x6b418f98
movzx eax, byte [ebx + 1]
mov ebx, edi
cmp al, 0xd
ja case.0x6b418bf9.1
mov ecx, 0x2401
bt ecx, eax
jae case.0x6b418bf9.1
jmp 0x6b418d4d
cmp dl, 0xd
ja 0x6b4191c3
mov eax, 0x2401
bt eax, edx
jb 0x6b4193e9
mov ebx, ecx
movzx eax, byte [ebx + 1]
add ebx, 1
cmp dl, 0x22
je 0x6b4191f0
cmp al, 0xd
ja 0x6b4191e3
mov ecx, 0x2401
bt ecx, eax
jb 0x6b418d4d
mov edx, eax
add ebx, 1
movzx eax, byte [ebx]
cmp dl, 0x22
jne 0x6b4191d1
cmp al, 0xd
ja case.0x6b418bf9.4
mov edx, 0x2401
bt edx, eax
jae case.0x6b418bf9.4
movsx eax, byte [ebp]
test al, al
jne 0x6b419237
jmp 0x6b4192a5
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b419246
movsx eax, byte [ebp + 1]
add ebp, 1
test al, al
je 0x6b4192a5
cmp al, 0x22
jne 0x6b419218
cmp byte [ebp + 1], 0
je 0x6b4192a5
add ebp, 1
je 0x6b4192a5
mov dword [esp], ebp
call sym._strlen
lea edi, [ebp + eax - 1]
cmp edi, ebp
jae 0x6b41927e
jmp 0x6b4192a5
mov dword [esp + 4], 8
mov dword [esp], eax
call sym._ossl_ctype_check
test eax, eax
je 0x6b419290
mov byte [edi], 0
sub edi, 1
cmp edi, ebp
jb 0x6b4192a5
movsx eax, byte [edi]
cmp al, 0x22
jne 0x6b419260
lea eax, [edi - 1]
cmp ebp, eax
je 0x6b4192a5
mov byte [edi], 0
nop
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov edx, esi
add eax, 8
call sym._mime_hdr_addparam.isra.0
jmp 0x6b418d4d
xor ebp, ebp
jmp 0x6b419290
cmp dl, 0xd
jbe 0x6b418c00
cmp dl, 0x29
jne 0x6b418c12
movzx edx, byte [ebx + 2]
lea ecx, [ebx + 2]
cmp dl, 0xd
ja 0x6b419088
mov eax, 0x2401
bt eax, edx
jae 0x6b419088
mov dword [esp + 0x14], ecx
mov ebx, ecx
jmp 0x6b418c79
cmp dl, 0xd
jbe 0x6b419388
cmp dl, 0x29
jne 0x6b41939a
movzx edx, byte [ebx + 2]
lea ecx, [ebx + 2]
cmp dl, 0xd
ja 0x6b418db2
mov eax, 0x2401
bt eax, edx
jae 0x6b418db2
mov ebx, ecx
jmp 0x6b419206
movsx eax, byte [ebx + 1]
xor esi, esi
mov ebx, edi
test al, al
jne 0x6b419050
xor ebp, ebp
jmp 0x6b418d20
xor esi, esi
jmp 0x6b418f70
xor ebp, ebp
jmp 0x6b419130
xor ebp, ebp
jmp 0x6b418e70
cmp edi, 4
jne 0x6b418d4d
jmp 0x6b419206
mov eax, 0x2401
mov dword [esp + 0x14], ecx
bt eax, edx
jb 0x6b41917e
movzx eax, byte [ebx + 2]
lea ecx, [ebx + 2]
cmp al, 0xd
ja 0x6b4193d8
mov edx, 0x2401
bt edx, eax
jb 0x6b4193e2
mov ebx, ecx
mov edi, 4
jmp 0x6b418c40
mov edi, 2
jmp 0x6b418c59
mov esi, ebp
jmp 0x6b418ff0
mov esi, ebp
jmp 0x6b418f18
mov edi, 4
jmp 0x6b418c59
mov ebx, ecx
jmp 0x6b418d4d
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x14]
jmp 0x6b418d4d
mov edi, dword [esp + 0x10]
mov dword [esp + 8], 0x388
mov dword [esp + 4], str.crypto_asn1_asn_mime.c
mov eax, dword [edi]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_free
mov dword [esp + 8], 0x389
mov dword [esp + 4], str.crypto_asn1_asn_mime.c
mov eax, dword [edi + 4]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [edi + 8]
test eax, eax
je 0x6b419446
mov dword [esp + 4], sym._mime_param_free
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_pop_free
mov eax, dword [esp + 0x10]
mov dword [esp + 8], 0x38c
mov dword [esp + 4], str.crypto_asn1_asn_mime.c
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], sym._mime_hdr_free
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_pop_free
mov dword [esp + 0x1c], 0
jmp 0x6b418d59
call sym.___stack_chk_fail
lea esi, [esi]
nop