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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
fld qword [esp + 0xc4]
mov esi, dword [esp + 0xd0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
fldz
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x9c], eax
xor eax, eax
test esi, esi
mov eax, 6
cmovs esi, eax
fcompi st(1)
ja 0x6b42e260
test byte [esp + 0xd4], 2
je 0x6b42e1a0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0x2b
cmp dword [esp + 0xd8], 2
je 0x6b42e1da
mov ebx, dword [esp + 0xd8]
test ebx, ebx
jne 0x6b42e820
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
fldz
fcompi st(1)
jbe 0x6b42def4
fchs
fld qword [0x6b5ce098]
fxch st(1)
fcomi st(1)
fstp st(1)
ja 0x6b42e230
fnstcw word [esp + 0x5e]
movzx eax, word [esp + 0x5e]
or ah, 0xc
cmp esi, 9
mov word [esp + 0x5c], ax
mov eax, 9
fld st(0)
fldcw word [esp + 0x5c]
fistp qword [esp + 0x30]
fldcw word [esp + 0x5e]
cmovle eax, esi
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], eax
test esi, esi
je 0x6b42e860
fld1
lea esi, [esi]
fmul dword [0x6b5ce090]
sub eax, 1
jne 0x6b42df48
fldcw word [esp + 0x5c]
fist dword [esp + 0x40]
fldcw word [esp + 0x5e]
fild dword [esp + 0x40]
mov eax, dword [esp + 0x40]
lea edx, [eax + 1]
fsubp st(1)
fld dword [0x6b5ce0a0]
fxch st(1)
fcompi st(1)
fstp st(0)
cmovb edx, eax
mov eax, dword [esp + 0x30]
fld1
lea esi, [esi]
fmul dword [0x6b5ce090]
sub eax, 1
jne 0x6b42df88
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], 0
fild qword [esp + 0x40]
fsubp st(2)
fmulp st(1)
fldcw word [esp + 0x5c]
fist dword [esp + 0x40]
fldcw word [esp + 0x5e]
fild dword [esp + 0x40]
mov edi, dword [esp + 0x40]
fsubp st(1)
fld dword [0x6b5ce0a0]
fxch st(1)
fcompi st(1)
fstp st(0)
sbb edi, 0xffffffff
cmp edi, edx
jb 0x6b42dfd5
add ecx, 1
sub edi, edx
mov dword [esp + 0xd0], esi
xor ebx, ebx
mov ebp, 0xcccccccd
lea esi, [esi]
nop
mov eax, ecx
mov esi, ecx
add ebx, 1
mul ebp
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub esi, eax
movzx eax, byte [esi + 0x6b5cdbdd]
mov byte [esp + ebx + 0x5f], al
mov eax, ecx
mov ecx, edx
cmp eax, 9
jbe 0x6b42e014
cmp ebx, 0x13
jle 0x6b42dfe8
cmp ebx, 0x14
mov eax, 0x13
mov esi, dword [esp + 0xd0]
cmove ebx, eax
mov byte [esp + ebx + 0x60], 0
test esi, esi
je 0x6b42e183
cmp dword [esp + 0xd8], 2
je 0x6b42e2a8
mov eax, edi
mov ebp, 0xcccccccd
mul ebp
mov ecx, edx
shr ecx, 3
lea eax, [ecx + ecx*4]
add eax, eax
sub edi, eax
movzx eax, byte [edi + 0x6b5cdbdd]
mov byte [esp + 0x74], al
cmp esi, 1
jle 0x6b42e175
mov eax, ecx
mul ebp
mov edi, edx
shr edi, 3
lea eax, [edi + edi*4]
add eax, eax
sub ecx, eax
movzx eax, byte [ecx + 0x6b5cdbdd]
mov byte [esp + 0x75], al
cmp esi, 2
je 0x6b42e175
mov eax, edi
mul ebp
mov ecx, edx
shr ecx, 3
lea eax, [ecx + ecx*4]
add eax, eax
sub edi, eax
movzx eax, byte [edi + 0x6b5cdbdd]
mov byte [esp + 0x76], al
cmp esi, 3
je 0x6b42e175
mov eax, ecx
mul ebp
mov edi, edx
shr edi, 3
lea eax, [edi + edi*4]
add eax, eax
sub ecx, eax
movzx eax, byte [ecx + 0x6b5cdbdd]
mov byte [esp + 0x77], al
cmp esi, 4
je 0x6b42e175
mov eax, edi
mul ebp
mov ecx, edx
shr ecx, 3
lea eax, [ecx + ecx*4]
add eax, eax
sub edi, eax
movzx eax, byte [edi + 0x6b5cdbdd]
mov byte [esp + 0x78], al
cmp esi, 5
je 0x6b42e175
mov eax, ecx
mul ebp
mov edi, edx
shr edi, 3
lea eax, [edi + edi*4]
add eax, eax
sub ecx, eax
movzx eax, byte [ecx + 0x6b5cdbdd]
mov byte [esp + 0x79], al
cmp esi, 6
je 0x6b42e175
mov eax, edi
mul ebp
mov ecx, edx
shr ecx, 3
lea eax, [ecx + ecx*4]
add eax, eax
sub edi, eax
movzx eax, byte [edi + 0x6b5cdbdd]
mov byte [esp + 0x7a], al
cmp esi, 7
je 0x6b42e175
mov eax, ecx
mul ebp
mov ebp, edx
shr ebp, 3
lea eax, [ebp + ebp*4]
add eax, eax
sub ecx, eax
movzx eax, byte [ecx + 0x6b5cdbdd]
mov byte [esp + 0x7b], al
cmp esi, 8
jle 0x6b42e175
mov eax, ebp
mov edx, 0xcccccccd
mul edx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ebp, eax
movzx eax, byte [ebp + 0x6b5cdbdd]
mov byte [esp + 0x7c], al
mov eax, dword [esp + 0x30]
mov esi, 1
test eax, eax
cmovg esi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], esi
mov dword [esp + 0x40], eax
mov eax, esi
jmp 0x6b42e2ed
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x4c], 0
and eax, 4
mov dword [esp + 0x50], eax
je 0x6b42debf
cmp dword [esp + 0xd8], 2
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0x20
jne 0x6b42decd
fldz
fxch st(1)
fucomi st(1)
fstp st(1)
jp 0x6b42e760
jne 0x6b42e760
mov dword [esp + 0x38], 0
fld st(0)
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x38]
test esi, esi
mov eax, 1
cmove esi, eax
test ecx, ecx
jne 0x6b42e850
fstp st(0)
mov eax, dword [esp + 0x48]
not eax
add esi, eax
jns 0x6b42deec
fstp st(0)
jmp 0x6b42e238
fstp st(0)
lea esi, [esi]
xor ebp, ebp
mov eax, dword [esp + 0x9c]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b42ea74
add esp, 0xac
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0xd8], 2
je 0x6b42e750
mov eax, dword [esp + 0xd8]
test eax, eax
jne 0x6b42e880
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0x2d
jmp 0x6b42deec
mov esi, dword [esp + 0x30]
xor ecx, ecx
mov ebp, 0xcccccccd
lea esi, [esi]
nop
mov eax, edi
mul ebp
shr edx, 3
mov eax, edx
lea edx, [edx + edx*4]
add edx, edx
sub edi, edx
mov edx, edi
mov edi, eax
mov eax, ecx
or eax, edx
jne 0x6b42e480
sub esi, 1
jne 0x6b42e810
mov dword [esp + 0x30], esi
mov eax, esi
mov dword [esp + 0x40], 0
cmp dword [esp + 0x38], 1
mov byte [esp + eax + 0x74], 0
je 0x6b42e678
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xcc]
xor edx, edx
sub eax, dword [esp + 0x4c]
sub eax, ebx
sub eax, edi
test edi, edi
mov edi, dword [esp + 0x38]
setg dl
sub eax, edx
test eax, eax
mov esi, 0
cmovns esi, eax
test byte [esp + 0xd4], 1
je 0x6b42e4a0
neg esi
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x6b42e710
mov dword [esp + 0x4c], edi
lea ebp, [esp + 0x60]
mov edi, dword [esp + 0x3c]
lea ebx, [esp + ebx + 0x5f]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x24]
jmp 0x6b42e362
mov ebx, eax
movsx eax, byte [ebx]
mov ecx, edi
mov edx, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call sym._doapr_outch
test eax, eax
je 0x6b42e238
lea eax, [ebx - 1]
cmp ebp, ebx
jne 0x6b42e360
mov eax, dword [esp + 0xd4]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
and eax, 8
or eax, dword [esp + 0x40]
je 0x6b42e422
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], 0x2e
mov edx, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call sym._doapr_outch
test eax, eax
je 0x6b42e238
mov eax, dword [esp + 0x30]
mov dword [esp + 0x4c], edi
lea ebp, [esp + 0x73]
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
lea ebx, [esp + eax + 0x73]
jmp 0x6b42e416
movsx eax, byte [ebx]
mov ecx, edi
mov edx, esi
sub ebx, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call sym._doapr_outch
test eax, eax
je 0x6b42e238
cmp ebp, ebx
jne 0x6b42e3f0
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x40]
sub ebx, dword [esp + 0x30]
test ebx, ebx
jle 0x6b42e912
mov dword [esp + 0x30], edi
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
jmp 0x6b42e459
sub ebx, 1
je 0x6b42e90a
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0x30
mov ecx, ebp
mov edx, edi
mov dword [esp], eax
mov eax, esi
call sym._doapr_outch
test eax, eax
jne 0x6b42e450
jmp 0x6b42e238
movzx edx, byte [edx + 0x6b5cdbdd]
lea eax, [ecx + 1]
mov byte [esp + ecx + 0x74], dl
cmp esi, eax
jle 0x6b42e740
mov ecx, eax
jmp 0x6b42e2b8
mov ebp, dword [esp + 0xd4]
and ebp, 0x10
je 0x6b42e510
test eax, eax
jle 0x6b42e337
mov edx, dword [esp + 0x50]
test edx, edx
jne 0x6b42e89d
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x50], edi
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
jmp 0x6b42e4e9
sub esi, 1
je 0x6b42e870
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0x30
mov ecx, ebp
mov edx, edi
mov dword [esp], eax
mov eax, ebx
call sym._doapr_outch
test eax, eax
jne 0x6b42e4e0
jmp 0x6b42e238
test eax, eax
jle 0x6b42e337
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0x28]
jmp 0x6b42e574
mov edx, dword [ebx]
mov eax, dword [ebp]
cmp edx, eax
ja 0x6b42e238
cmp dword [esp + 0x24], 0
je 0x6b42e5f0
cmp edx, eax
je 0x6b42e597
cmp edx, eax
jae 0x6b42e56b
mov ecx, dword [edi]
test ecx, ecx
je 0x6b42e660
lea eax, [edx + 1]
mov dword [ebx], eax
mov byte [ecx + edx], 0x20
sub esi, 1
je 0x6b42e8fd
mov ecx, dword [edi]
test ecx, ecx
jne 0x6b42e538
mov eax, dword [esp + 0x24]
test eax, eax
je 0x6b42e238
mov edx, dword [ebx]
mov eax, dword [ebp]
cmp edx, eax
ja 0x6b42e238
cmp edx, eax
jne 0x6b42e554
cmp edx, 0x7ffffbff
ja 0x6b42e238
mov eax, dword [esp + 0x24]
add edx, 0x400
mov dword [ebp], edx
mov eax, dword [eax]
test eax, eax
je 0x6b42e600
mov dword [esp + 0xc], 0x342
mov dword [esp + 8], str.crypto_bio_b_print.c
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.libcrypto_1_1.dll_CRYPTO_realloc
test eax, eax
je 0x6b42e238
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebp]
jmp 0x6b42e554
cmp edx, eax
jb 0x6b42e562
jmp 0x6b42e56b
mov dword [esp + 8], 0x336
mov dword [esp + 4], str.crypto_bio_b_print.c
mov dword [esp], edx
call sym.libcrypto_1_1.dll_CRYPTO_malloc
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
test eax, eax
je 0x6b42e958
mov edx, dword [ebx]
test edx, edx
je 0x6b42e648
mov ecx, dword [edi]
test ecx, ecx
je 0x6b42e238
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memcpy
mov edx, dword [ebx]
mov dword [edi], 0
cmp dword [ebp], edx
jbe 0x6b42e56b
lea esi, [esi]
nop
mov eax, dword [esp + 0x24]
lea ecx, [edx + 1]
mov eax, dword [eax]
mov dword [ebx], ecx
mov byte [eax + edx], 0x20
jmp 0x6b42e56b
mov edi, dword [esp + 0x48]
mov esi, 0x66666667
mov eax, edi
sar eax, 0x1f
xor edi, eax
mov ecx, edi
xor edi, edi
sub ecx, eax
nop
mov eax, ecx
mov ebp, ecx
add edi, 1
imul esi
mov eax, ecx
sar eax, 0x1f
sar edx, 2
sub edx, eax
lea eax, [edx + edx*4]
add eax, eax
sub ebp, eax
movzx eax, byte [ebp + 0x6b5cdbdd]
mov byte [esp + edi + 0x87], al
mov eax, ecx
mov ecx, edx
cmp eax, 9
jle 0x6b42e6cf
cmp edi, 0x13
jle 0x6b42e690
cmp eax, 9
jg 0x6b42e238
cmp edi, 1
jne 0x6b42e6e1
mov byte [esp + 0x89], 0x30
mov edi, 2
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0x40]
xor edx, edx
sub eax, 2
sub eax, dword [esp + 0x4c]
sub eax, ebx
sub eax, esi
test esi, esi
setg dl
sub eax, edx
sub eax, edi
jmp 0x6b42e31d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call sym._doapr_outch
test eax, eax
jne 0x6b42e343
jmp 0x6b42e238
mov dword [esp + 0x30], esi
mov esi, eax
jmp 0x6b42e183
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0x2d
fld qword [0x6b5ce088]
mov dword [esp + 0x38], 1
fcompi st(1)
ja 0x6b42e7a0
test esi, esi
je 0x6b42e8e3
mov eax, esi
fld1
nop
fmul dword [0x6b5ce090]
sub eax, 1
jne 0x6b42e780
fxch st(1)
xor eax, eax
fcomi st(1)
fstp st(1)
setae al
mov dword [esp + 0x38], eax
lea esi, [esi]
fld st(0)
xor eax, eax
fld1
mov dword [esp + 0x48], eax
fcompi st(2)
jbe 0x6b42e7c3
nop
fmul dword [0x6b5ce090]
sub eax, 1
fld1
fcompi st(1)
ja 0x6b42e7b0
mov dword [esp + 0x48], eax
fld dword [0x6b5ce090]
fxch st(1)
fcomi st(1)
fstp st(1)
jbe 0x6b42e7ef
mov eax, dword [esp + 0x48]
lea esi, [esi]
fld dword [0x6b5ce090]
add eax, 1
fdiv st(1), st(0)
fxch st(1)
fcomi st(1)
fstp st(1)
ja 0x6b42e7d8
mov dword [esp + 0x48], eax
cmp dword [esp + 0xd8], 2
je 0x6b42e200
cmp dword [esp + 0x38], 1
fcmovne st(0), st(1)
fstp st(1)
jmp 0x6b42deec
xor eax, eax
mov ecx, eax
jmp 0x6b42e2b8
fldz
fxch st(1)
mov dword [esp + 0x38], 1
fucomi st(1)
fstp st(1)
jp 0x6b42e7a0
jne 0x6b42e7a0
mov dword [esp + 0x48], 0
jmp 0x6b42deec
fstp st(1)
sub esi, 1
jmp 0x6b42deec
mov edx, 1
fld1
jmp 0x6b42df93
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
xor esi, esi
jmp 0x6b42e343
mov dword [esp + 0x4c], 1
mov dword [esp + 0x38], 1
mov dword [esp + 0x50], 0x2d
jmp 0x6b42e7a0
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, ebp
call sym._doapr_outch
test eax, eax
je 0x6b42e238
sub esi, 1
je 0x6b42e878
mov dword [esp + 0x4c], ebx
mov ebx, ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x24]
jmp 0x6b42e4e9
fld dword [0x6b5ce090]
fxch st(1)
xor eax, eax
fcomi st(1)
fstp st(1)
setae al
mov dword [esp + 0x38], eax
jmp 0x6b42e7a0
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
jmp 0x6b42e337
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
cmp dword [esp + 0x38], 1
je 0x6b42e997
test esi, esi
je 0x6b42e98d
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
jmp 0x6b42e935
add esi, 1
je 0x6b42e98d
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0x20
mov ecx, ebp
mov edx, edi
mov dword [esp], eax
mov eax, ebx
call sym._doapr_outch
test eax, eax
jne 0x6b42e930
jmp 0x6b42e238
mov dword [esp + 0x10], 0x337
mov ebp, dword [esp + 0x58]
mov dword [esp + 0xc], str.crypto_bio_b_print.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x96
mov dword [esp], 0x20
call sym.libcrypto_1_1.dll_ERR_put_error
jmp 0x6b42e23a
mov ebp, 1
jmp 0x6b42e23a
mov eax, dword [esp + 0xd4]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
and eax, 0x20
mov dword [esp], ebx
mov edx, dword [esp + 0x24]
cmp eax, 1
sbb eax, eax
and eax, 0x20
add eax, 0x45
mov dword [esp + 4], eax
mov eax, ebp
call sym._doapr_outch
test eax, eax
je 0x6b42e238
mov edx, dword [esp + 0x48]
test edx, edx
js 0x6b42ea51
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], 0x2b
mov edx, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call sym._doapr_outch
test eax, eax
je 0x6b42e238
mov dword [esp + 0x30], esi
lea ebx, [esp + edi + 0x87]
mov esi, dword [esp + 0x24]
lea edi, [esp + 0x87]
mov ebp, dword [esp + 0x3c]
jmp 0x6b42ea44
movsx eax, byte [ebx]
mov ecx, ebp
mov edx, esi
sub ebx, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call sym._doapr_outch
test eax, eax
je 0x6b42e238
cmp edi, ebx
jne 0x6b42ea1e
mov esi, dword [esp + 0x30]
jmp 0x6b42e919
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov dword [esp], ebx
mov eax, ebp
mov dword [esp + 4], 0x2d
call sym._doapr_outch
test eax, eax
jne 0x6b42ea02
jmp 0x6b42e238
call sym.___stack_chk_fail
lea esi, [esi]